Merge branch 'master' of https://git.wmi.amu.edu.pl/s449288/ium_s449288
merge
This commit is contained in:
commit
65baaa6431
17
Dockerfile
17
Dockerfile
@ -2,16 +2,11 @@ FROM ubuntu:latest
|
|||||||
|
|
||||||
WORKDIR /ium
|
WORKDIR /ium
|
||||||
|
|
||||||
RUN apt update && apt install -y python3-pip unzip
|
RUN apt update && apt install -y python3-pip
|
||||||
|
|
||||||
RUN pip3 install --user kaggle
|
RUN pip3 install pandas
|
||||||
RUN echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> ~/.bashrc
|
RUN pip3 install numpy
|
||||||
|
RUN pip3 install sklearn
|
||||||
|
|
||||||
RUN pip3 install --user pandas
|
COPY ./lego_sets.csv ./
|
||||||
RUN pip3 install --user numpy
|
COPY ./process_dataset.py ./
|
||||||
RUN pip3 install --user sklearn
|
|
||||||
|
|
||||||
COPY ./download_dataset.sh ./
|
|
||||||
COPY ./process_data.py ./
|
|
||||||
|
|
||||||
RUN chmod u+x ./download_dataset.sh ./process_data.py
|
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -13,15 +13,13 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
dockerfile {
|
dockerfile true
|
||||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Stage 1') {
|
stage('Stage 1') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Downloading dataset...'
|
sh 'chmod u+x ./process_dataset.py'
|
||||||
sh './download_dataset.sh'
|
|
||||||
echo 'Dataset downloaded'
|
echo 'Dataset downloaded'
|
||||||
echo 'Processing dataset...'
|
echo 'Processing dataset...'
|
||||||
sh 'python3 process_dataset.py'
|
sh 'python3 process_dataset.py'
|
||||||
|
Loading…
Reference in New Issue
Block a user