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

Remove environment preparation

parent c8542094
No related branches found
No related tags found
1 merge request!15Remove environment preparation
Pipeline #109555 failed
......@@ -8,18 +8,11 @@ pipeline {
}
stages {
stage ('Environment initialization'){
stage ('Create test deployment'){
steps {
sh '''#!/bin/bash
eval `oidc-agent-service use`
oidc-add infn-cloud --pw-env=PASS
orchent depls
'''
}
}
stage ('Create test deployment'){
steps {
sh '''#!/bin/bash
wget -O site.yaml "${PLAYBOOK_URL}"
ansible-playbook site.yaml --extra-vars "paas_ci_test_step='create_deployment'"
......@@ -33,6 +26,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'"
......
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