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:
EC_SERVICE_ATTACHMENT_URI: $EC_SERVICE_ATTACHMENT_URI
EC_DNS_ZONE: $EC_DNS_ZONE
before_script:
- |
printenv
echo "$GCP_SA" | base64 -di > gcp-sa.json
gcloud auth activate-service-account --key-file gcp-sa.json
echo "Activate Service Account: OK"
gcloud config set project $GCP_PROJECT_ID
echo "Set Project: OK"
cd $GCLOUD_ROOT_PSC
- echo ${GCP_SA} | base64 -di > gcp-sa.json
- gcloud auth activate-service-account --key-file gcp-sa.json
- echo "Activate Service Account: OK"
- gcloud config set project $GCP_PROJECT_ID
- echo "Set Project: OK"
- cd $GCLOUD_ROOT_PSC
script:
- |
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