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 c1e6ddb0 authored by Nicolas's avatar Nicolas
Browse files

refactoring: Rename variables

parent 0f9b9784
No related branches found
No related tags found
No related merge requests found
......@@ -29,10 +29,10 @@ check-gke:
TF_VAR_region: $GCP_REGION
TF_VAR_vpc_network_name: $GCP_NETWORK_NAME
TF_VAR_vpc_subnetwork_name: $GCP_SUBNETWORK_NAME
GCP_SA_GITLAB: $GCP_SA_GITLAB
GCP_SA: $GCP_SA
script: |-
cd $TF_ROOT_GKE
echo $GCP_SA_GITLAB > gcp-sa.json
echo $GCP_SA > gcp-sa.json
gitlab-terraform init
gitlab-terraform validate
gitlab-terraform fmt -check
......@@ -61,10 +61,10 @@ apply-gke:
TF_VAR_region: $GCP_REGION
TF_VAR_vpc_network_name: $GCP_NETWORK_NAME
TF_VAR_vpc_subnetwork_name: $GCP_SUBNETWORK_NAME
GCP_SA_GITLAB: $GCP_SA_GITLAB
GCP_SA: $GCP_SA
script: |-
cd $TF_ROOT_GKE
echo $GCP_SA_GITLAB > gcp-sa.json
echo $GCP_SA > gcp-sa.json
gitlab-terraform init
gitlab-terraform apply -auto-approve
......@@ -79,7 +79,7 @@ gcloud-psc:
entrypoint: [""]
variables:
GCP_PROJECT_ID: $GCP_PROJECT_ID
GCP_SA_GITLAB: $GCP_SA_GITLAB
GCP_SA: $GCP_SA
GCP_REGION: $GCP_REGION
GCP_NETWORK_NAME: $GCP_NETWORK_NAME
GCP_SUBNETWORK_NAME: $GCP_SUBNETWORK_NAME
......@@ -89,7 +89,7 @@ gcloud-psc:
EC_SERVICE_ATTACHMENT_URI: $EC_SERVICE_ATTACHMENT_URI
EC_DNS_ZONE: $EC_DNS_ZONE
script: |-
echo $GCP_SA_GITLAB > gcp-sa.json
echo $GCP_SA > 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
......
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