another fix
This commit is contained in:
parent
3b4ed1a37a
commit
7a171b06fa
20
Dockerfile
20
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
|
||||
|
||||
|
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user