1
This commit is contained in:
parent
a0fbead1a5
commit
202583a852
12
Dockerfile
12
Dockerfile
@ -1,5 +1,9 @@
|
|||||||
FROM python:3.7
|
FROM python:3.7
|
||||||
|
|
||||||
|
ARG KAGGLE_USERNAME
|
||||||
|
|
||||||
|
ARG KAGGLE_KEY
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
RUN pip install --user kaggle
|
RUN pip install --user kaggle
|
||||||
@ -13,11 +17,3 @@ COPY KaggleV2-May-2016.csv ./
|
|||||||
COPY create_data.py ./
|
COPY create_data.py ./
|
||||||
|
|
||||||
COPY stats_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
|
|
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -36,7 +36,8 @@ pipeline {
|
|||||||
stage("Dara Preparation") {
|
stage("Dara Preparation") {
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile {
|
||||||
additionalBuildArgs '-t ium'
|
additionalBuildArgs '-t ium'
|
||||||
|
args '-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
echo "Preparation inner"
|
echo "Preparation inner"
|
||||||
kaggle datasets download -d joniarroba/noshowappointments
|
kaggle datasets download -d joniarroba/noshowappointments
|
||||||
!unzip -o noshowappointments.zip
|
!unzip -o noshowappointments.zip
|
||||||
|
KaggleV2-May-2016.csv >> data.csv
|
Loading…
Reference in New Issue
Block a user