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

feat: Add custom stages

parent 884017ad
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,11 @@
image: busybox:latest
stages:
- gke
- psc
- elastic
variables:
TF_ROOT_ELASTIC: ${CI_PROJECT_DIR}/manifests/elastic
TF_ROOT_GKE: ${CI_PROJECT_DIR}/manifests/gke
......@@ -16,7 +21,7 @@ cache:
- ${TF_ROOT_GKE}/.terraform
check-gke:
stage: test
stage: gke
tags:
- docker
- amd64
......@@ -47,7 +52,7 @@ check-gke:
terraform: ${TF_ROOT_GKE}/plan.json
apply-gke:
stage: deploy
stage: gke
needs:
- check-gke
tags:
......@@ -70,8 +75,9 @@ apply-gke:
gitlab-terraform init
gitlab-terraform apply -auto-approve
gcloud-psc:
stage: deploy
stage: psc
needs:
- apply-gke
tags:
......@@ -104,7 +110,7 @@ gcloud-psc:
- ${CI_PROJECT_DIR}/pscConnectionId.env
check-elastic:
stage: deploy
stage: elastic
tags:
- docker
- amd64
......@@ -132,7 +138,7 @@ check-elastic:
terraform: ${TF_ROOT_ELASTIC}/plan.json
apply-elastic:
stage: deploy
stage: elastic
needs:
- check-elastic
tags:
......
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