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

Force environment preparation

parent 029a6240
No related branches found
No related tags found
1 merge request!13Force environment preparation
......@@ -5,7 +5,7 @@
tasks:
- name: Download paas-ci role
local_action: command ansible-galaxy install git+https://baltig.infn.it/infn-cloud/paas-ci.git
changed_when: true
changed_when: false
- include_role:
name: paas-ci
......
......@@ -4,12 +4,15 @@ pipeline {
environment {
ORCHENT_AGENT_ACCOUNT='infn-cloud'
ORCHENT_URL='https://my.cloud.infn.it/orchestrator'
PASS=''
}
stages {
stages {
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'"
......
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