From 0adc8c3747aaca7925b6c72ab522706cab5134a9 Mon Sep 17 00:00:00 2001 From: s444501 Date: Sat, 4 Jun 2022 20:05:01 +0200 Subject: [PATCH] dvc --- Dockerfile | 2 ++ dvc.Jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 07d250a..3535140 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ RUN pip3 install mlflow RUN pip3 install dvc RUN pip3 install dvc[ssh] +RUN useradd -r -u 111 jenkins + RUN mkdir /.kaggle && chmod o+w /.kaggle WORKDIR /ium diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index 82f570c..6e48e46 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -14,7 +14,7 @@ pipeline { stage('DVC') { steps { 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 pull' sh 'dvc reproduce'