Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit b9ff6a6a authored by Nicolas's avatar Nicolas
Browse files

feat: Secure GCP SA

parent 9a3dfc44
No related branches found
No related tags found
No related merge requests found
...@@ -204,14 +204,12 @@ destroy-psc: ...@@ -204,14 +204,12 @@ destroy-psc:
EC_SERVICE_ATTACHMENT_URI: $EC_SERVICE_ATTACHMENT_URI EC_SERVICE_ATTACHMENT_URI: $EC_SERVICE_ATTACHMENT_URI
EC_DNS_ZONE: $EC_DNS_ZONE EC_DNS_ZONE: $EC_DNS_ZONE
before_script: before_script:
- | - echo ${GCP_SA} | base64 -di > gcp-sa.json
printenv - gcloud auth activate-service-account --key-file gcp-sa.json
echo "$GCP_SA" | base64 -di > gcp-sa.json - echo "Activate Service Account: OK"
gcloud auth activate-service-account --key-file gcp-sa.json - gcloud config set project $GCP_PROJECT_ID
echo "Activate Service Account: OK" - echo "Set Project: OK"
gcloud config set project $GCP_PROJECT_ID - cd $GCLOUD_ROOT_PSC
echo "Set Project: OK"
cd $GCLOUD_ROOT_PSC
script: script:
- | - |
chmod +x ./destroy-psc.sh chmod +x ./destroy-psc.sh
......
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