diff --git a/Dockerfile b/Dockerfile index 5303ae6..ac75a90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,27 +16,7 @@ RUN pip3 install pymongo RUN pip3 install dvc[ssh] paramiko -RUN mkdir -p ~/miniconda3 -RUN apt-get install -y wget - -RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh -RUN bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 -RUN rm -rf ~/miniconda3/miniconda.sh - - - -RUN ~/miniconda3/bin/conda init bash - - - -RUN ~/miniconda3/bin/conda install -c conda-forge dvc-ssh - -RUN apt install libssl3 libffi7 -RUN dvc remote add -f -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl -RUN dvc remote list -RUN dvc remote modify --local ium_ssh_remote password IUM@2021 -RUN dvc push #RUN apt install python3.10-venv -y #RUN python3 -m venv docker_ium diff --git a/Jenkinsfile-dvc b/Jenkinsfile-dvc index 0f0d61c..45d2f04 100644 --- a/Jenkinsfile-dvc +++ b/Jenkinsfile-dvc @@ -16,7 +16,8 @@ pipeline { [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: '')]) { sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp' sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY' - sh 'dvc pull'} + sh 'dvc pull' + sh 'dvc repro'} } } stage('Archive Output') {