dvc
This commit is contained in:
parent
b63d475db3
commit
0adc8c3747
@ -13,6 +13,8 @@ RUN pip3 install mlflow
|
|||||||
RUN pip3 install dvc
|
RUN pip3 install dvc
|
||||||
RUN pip3 install dvc[ssh]
|
RUN pip3 install dvc[ssh]
|
||||||
|
|
||||||
|
RUN useradd -r -u 111 jenkins
|
||||||
|
|
||||||
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
RUN mkdir /.kaggle && chmod o+w /.kaggle
|
||||||
|
|
||||||
WORKDIR /ium
|
WORKDIR /ium
|
||||||
|
@ -14,7 +14,7 @@ pipeline {
|
|||||||
stage('DVC') {
|
stage('DVC') {
|
||||||
steps {
|
steps {
|
||||||
withCredentials([sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY')]) {
|
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'
|
||||||
sh 'dvc reproduce'
|
sh 'dvc reproduce'
|
||||||
|
Loading…
Reference in New Issue
Block a user