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

Increase deployment waiting time

parent b88553e4
No related branches found
No related tags found
1 merge request!26Increase deployment waiting time
......@@ -11,6 +11,7 @@ pipeline {
stage ('Test environment'){
steps {
sh '''#!/bin/bash
oidc-add infn-cloud-ops
orchent depls | tee depls.output
'''
}
......@@ -18,6 +19,7 @@ pipeline {
stage ('Create test deployment'){
steps {
sh '''#!/bin/bash
oidc-add infn-cloud-ops
wget -O site.yaml "${PLAYBOOK_URL}"
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='create_deployment'"
'''
......@@ -30,6 +32,7 @@ pipeline {
usernamePassword(credentialsId: "jenkins_scans_creds", usernameVariable: 'GMP_USER', passwordVariable: 'GMP_PASSWORD')
]) {
sh '''#!/bin/bash
oidc-add infn-cloud-ops
cp ${keyfile} /home/jenkins/.ssh/id_rsa
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='scan'"
'''
......@@ -46,6 +49,7 @@ pipeline {
post {
always {
sh '''#!/bin/bash
oidc-add infn-cloud-ops
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