From 0d73091853d0cdf4522fc4f56aeeca386f639a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pokrywka?= Date: Sun, 5 Jun 2022 16:50:23 +0200 Subject: [PATCH] dvc ref --- .dvc/config | 2 +- dvc.Jenkinsfile | 1 - dvc.lock | 13 +------------ 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.dvc/config b/.dvc/config index ce375a8..c02d6a2 100644 --- a/.dvc/config +++ b/.dvc/config @@ -1,4 +1,4 @@ [core] remote = ium_ssh_remote ['remote "ium_ssh_remote"'] - url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl + url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp diff --git a/dvc.Jenkinsfile b/dvc.Jenkinsfile index a3eb324..6f706d9 100644 --- a/dvc.Jenkinsfile +++ b/dvc.Jenkinsfile @@ -20,7 +20,6 @@ pipeline { steps { withCredentials( [sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: 's444463', usernameVariable: 's444463')]) { - sh 'dvc remote add -f -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 password ${IUM_PASS}' sh 'dvc pull' diff --git a/dvc.lock b/dvc.lock index 39d871f..ed80174 100644 --- a/dvc.lock +++ b/dvc.lock @@ -6,20 +6,9 @@ stages: - path: real-or-fake-fake-jobposting-prediction.zip md5: 720b87177496c52f028ec184935f8031 size: 16868281 - outs: - - path: model - md5: e1d0aebb797410c218a8109aa6f62ff4 - size: 4012127 evaluate: cmd: python3 evaluation.py deps: - path: model - md5: e1d0aebb797410c218a8109aa6f62ff4 + md5: 473ae2a6b46cacfab08a3708175f65a5 size: 4012127 - outs: - - path: metrics.png - md5: 7652f6d9944d3a19e476f3b1727789ea - size: 12541 - - path: metrics.txt - md5: 3d047ff442a5f3299e283eccd4b66fb5 - size: 118