Skip to content
Snippets Groups Projects
Commit b7017685 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Updated oidc-agent account

parent 31ab3186
No related branches found
No related tags found
1 merge request!17Updated oidc-agent account
Pipeline #111389 passed
......@@ -11,11 +11,8 @@ pipeline {
stage ('Create test deployment'){
steps {
sh '''#!/bin/bash
eval `oidc-agent-service use`
oidc-add infn-cloud --pw-env=PASS
wget -O site.yaml "${PLAYBOOK_URL}"
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='create_deployment'"
'''
}
}
......@@ -26,11 +23,8 @@ pipeline {
usernamePassword(credentialsId: "jenkins_scans_creds", usernameVariable: 'GMP_USER', passwordVariable: 'GMP_PASSWORD')
]) {
sh '''#!/bin/bash
eval `oidc-agent-service use`
oidc-add infn-cloud --pw-env=PASS
cp ${keyfile} /home/jenkins/.ssh/id_rsa
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='scan'"
'''
}
}
......@@ -45,8 +39,6 @@ pipeline {
post {
always {
sh '''#!/bin/bash
eval `oidc-agent-service use`
oidc-add infn-cloud --pw-env=PASS
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='clean'"
'''
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment