diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8dee3e96372ce1803838d863041fd54cce09fb7..1a40266a8eeff637ac1d06509a8826c088bc1dce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -203,7 +203,7 @@ destroy-psc: EC_SERVICE_ATTACHMENT_URI: $EC_SERVICE_ATTACHMENT_URI EC_DNS_ZONE: $EC_DNS_ZONE GCP_SERVICE_ACCOUNT: $GCP_SA - before_script: + script: - echo $GCP_SERVICE_ACCOUNT > gcp-sa.json - ls -la - cat gcp-sa.json @@ -221,10 +221,8 @@ destroy-psc: - gcloud config set project $GCP_PROJECT_ID - echo "Set Project OK" - cd $GCLOUD_ROOT_PSC - script: - - | - chmod +x ./destroy-psc.sh - ./destroy-psc.sh + - chmod +x ./destroy-psc.sh + - ./destroy-psc.sh artifacts: paths: - ${CI_PROJECT_DIR}/pscConnectionId.env