From b7017685322dc7f05cc68ebf72cca307018fe4b6 Mon Sep 17 00:00:00 2001 From: "gioacchino.vino" <gioacchino.vino@infn.it> Date: Thu, 21 Sep 2023 16:53:23 +0200 Subject: [PATCH] Updated oidc-agent account --- utils/Jenkinsfile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/utils/Jenkinsfile b/utils/Jenkinsfile index a91cc6b..94395ef 100644 --- a/utils/Jenkinsfile +++ b/utils/Jenkinsfile @@ -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'" ''' } -- GitLab