Revert
This commit is contained in:
parent
d10b87b976
commit
cf41e29ce6
12
Dockerfile
12
Dockerfile
@ -2,6 +2,11 @@ FROM python:3.7
|
||||
|
||||
WORKDIR /
|
||||
|
||||
ARG KAGGLE_USERNAME
|
||||
ARG KAGGLE_KEY
|
||||
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
||||
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
||||
|
||||
RUN pip install --user kaggle
|
||||
RUN pip install --user pandas
|
||||
RUN pip install --user sklearn
|
||||
@ -9,10 +14,3 @@ RUN pip install --user sklearn
|
||||
COPY KaggleV2-May-2016.csv ./
|
||||
COPY create_data.py ./
|
||||
COPY stats_data.py ./
|
||||
|
||||
CMD ["python", "create_data.py"]
|
||||
CMD ["python", "stats_data.py"]
|
||||
|
||||
# RUN kaggle datasets download -d joniarroba/noshowappointments
|
||||
|
||||
# RUN unzip -o noshowappointments.zip
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -43,8 +43,6 @@ pipeline {
|
||||
dockerfile true
|
||||
}
|
||||
steps {
|
||||
sh 'echo "PREPARATION"'
|
||||
sh "chmod u+x ./preparation.sh"
|
||||
sh "./preparation.sh"
|
||||
archiveArtifacts 'KaggleV2-May-2016.csv'
|
||||
}
|
||||
@ -54,12 +52,8 @@ pipeline {
|
||||
dockerfile true
|
||||
}
|
||||
steps {
|
||||
sh 'echo "STATISTICS"'
|
||||
sh "chmod u+x ./statistics.sh"
|
||||
sh "./statistics.sh"
|
||||
archiveArtifacts 'statistics.csv'
|
||||
sh 'docker run --rm ium'
|
||||
sh "python stats_data.py"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Preparation inner"
|
Loading…
Reference in New Issue
Block a user