new docker
Some checks failed
s444354-training/pipeline/head There was a failure building this commit
Some checks failed
s444354-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4458e65034
commit
e1bb68aadf
@ -17,6 +17,10 @@ RUN pip3 install sacred
|
||||
RUN pip3 install pymongo
|
||||
RUN pip3 install GitPython
|
||||
RUN pip3 install mlflow
|
||||
RUN pip3 install dvc
|
||||
RUN pip3 install dvc[ssh] paramiko
|
||||
RUN apt install -y sshpass openssh-client
|
||||
RUN useradd -r -u 111 jenkins
|
||||
|
||||
# RUN python3 -m pip install kaggle
|
||||
RUN python3 -m pip install pandas
|
||||
|
@ -1,6 +1,8 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
docker {
|
||||
image 'ksero'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('DVC') {
|
||||
@ -9,9 +11,14 @@ pipeline {
|
||||
withCredentials(
|
||||
[sshUserPrivateKey(credentialsId: '48ac7004-216e-4260-abba-1fe5db753e18', keyFileVariable: 'IUM_SFTP_KEY', passphraseVariable: '', usernameVariable: 'USER')]) {
|
||||
sh 'dvc remote modify --local ium_ssh_remote keyfile $IUM_SFTP_KEY'
|
||||
sh 'dvc remote modify --local ium_ssh_remote password IUM@2021'
|
||||
sh 'dvc pull'
|
||||
sh 'dvc repro'}
|
||||
sh 'dvc remote modify --local ium_ssh_remote password IUM@2021'
|
||||
sh 'dvc remote list'
|
||||
sh 'cat .dvc/config'
|
||||
sh 'cat .dvc/config.local'
|
||||
sh 'dvc pull'
|
||||
sh 'dvc repro'
|
||||
sh 'ls -al'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user