dvc
This commit is contained in:
parent
6fab218c7f
commit
639af02aa5
@ -11,6 +11,10 @@ RUN pip3 install kaggle
|
|||||||
RUN pip3 install torch
|
RUN pip3 install torch
|
||||||
RUN pip3 install mlflow
|
RUN pip3 install mlflow
|
||||||
|
|
||||||
|
RUN pip3 install dvc
|
||||||
|
RUN pip3 install dvc[ssh]
|
||||||
|
RUN useradd -r -u 777 jenkins
|
||||||
|
RUN apt install -y sshpass openssh-client
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
||||||
@ -31,7 +35,3 @@ ENV KAGGLE_KEY=${KAGGLE_KEY}
|
|||||||
|
|
||||||
# CMD ./ium-data.py
|
# CMD ./ium-data.py
|
||||||
|
|
||||||
RUN pip3 install dvc
|
|
||||||
RUN pip3 install dvc[ssh]
|
|
||||||
RUN useradd -r -u 777 jenkins
|
|
||||||
RUN apt install -y sshpass openssh-client
|
|
@ -13,7 +13,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('DVC') {
|
stage('DVC') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) {
|
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
||||||
//sh 'dvc remote add -d ium_ssh_remote ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp'
|
//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 remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||||
sh 'dvc pull'
|
sh 'dvc pull'
|
||||||
|
Loading…
Reference in New Issue
Block a user