dvc ref
This commit is contained in:
parent
089b8e6543
commit
862e2d8295
@ -1,4 +1,4 @@
|
||||
[core]
|
||||
remote = ium_ssh_remote
|
||||
['remote "ium_ssh_remote"']
|
||||
url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl/ium-sftp
|
||||
url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl
|
||||
|
@ -1,33 +0,0 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
password(
|
||||
defaultValue: '',
|
||||
description: 'DVC pass',
|
||||
name: 'IUM_PASS'
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('checkout: Check out from version control') {
|
||||
steps {
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444463', url: 'https://git.wmi.amu.edu.pl/s444463/ium_444463.git']]])
|
||||
}
|
||||
}
|
||||
stage('reproduce') {
|
||||
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'
|
||||
sh 'dvc repro'
|
||||
sh ll
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
4
dvc.lock
4
dvc.lock
@ -8,13 +8,13 @@ stages:
|
||||
size: 16868281
|
||||
outs:
|
||||
- path: model
|
||||
md5: fcb422dbe338d861bd905e19769314a4
|
||||
md5: e1d0aebb797410c218a8109aa6f62ff4
|
||||
size: 4012127
|
||||
evaluate:
|
||||
cmd: python3 evaluation.py
|
||||
deps:
|
||||
- path: model
|
||||
md5: fcb422dbe338d861bd905e19769314a4
|
||||
md5: e1d0aebb797410c218a8109aa6f62ff4
|
||||
size: 4012127
|
||||
outs:
|
||||
- path: metrics.png
|
||||
|
Loading…
Reference in New Issue
Block a user