r
This commit is contained in:
parent
3d86a29138
commit
343a5fc1b0
11
Dockerfile
11
Dockerfile
@ -8,14 +8,15 @@ WORKDIR /app
|
||||
COPY ./requirements.txt .
|
||||
RUN pip3 install -r ./requirements.txt
|
||||
RUN pip3 install kaggle
|
||||
# Skopiujmy nasz skrypt do katalogu /app w kontenerze
|
||||
COPY ./process_data.sh ./
|
||||
COPY ./download_data_and_process.py ./
|
||||
COPY ./stats.py ./
|
||||
|
||||
ARG CUTOFF
|
||||
ARG KAGGLE_USERNAME
|
||||
ARG KAGGLE_KEY
|
||||
ENV CUTOFF=${CUTOFF}
|
||||
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
||||
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
||||
# Skopiujmy nasz skrypt do katalogu /app w kontenerze
|
||||
COPY ./process_data.sh ./
|
||||
COPY ./download_data_and_process.py ./
|
||||
COPY ./stats.py ./
|
||||
|
||||
RUN ./process_data.sh
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -34,8 +34,8 @@ pipeline {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||
"CUTOFF=${params.CUTOFF}"]) {
|
||||
sh './process_data.sh'
|
||||
// sh 'python3 ./download_data_and_process.py'
|
||||
// sh './process_data.sh'
|
||||
sh 'python3 ./download_data_and_process.py'
|
||||
archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv, column_titles.csv"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user