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

feat: Change runner & Add Sleep step

parent 2c2c001e
No related branches found
No related tags found
No related merge requests found
Pipeline #3698 failed
...@@ -6,6 +6,7 @@ stages: ...@@ -6,6 +6,7 @@ stages:
- gke - gke
- psc - psc
- elastic - elastic
- sleep
- destroy - destroy
variables: variables:
...@@ -25,7 +26,7 @@ check-gke: ...@@ -25,7 +26,7 @@ check-gke:
stage: gke stage: gke
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
entrypoint: [""] entrypoint: [""]
...@@ -61,7 +62,7 @@ apply-gke: ...@@ -61,7 +62,7 @@ apply-gke:
- check-gke - check-gke
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
entrypoint: [""] entrypoint: [""]
...@@ -89,7 +90,7 @@ gcloud-psc: ...@@ -89,7 +90,7 @@ gcloud-psc:
- apply-gke - apply-gke
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: google/cloud-sdk:slim name: google/cloud-sdk:slim
entrypoint: [""] entrypoint: [""]
...@@ -124,7 +125,7 @@ check-elastic: ...@@ -124,7 +125,7 @@ check-elastic:
stage: elastic stage: elastic
tags: tags:
- docker - docker
- amd64 - cache
needs: needs:
- gcloud-psc - gcloud-psc
image: image:
...@@ -157,7 +158,7 @@ apply-elastic: ...@@ -157,7 +158,7 @@ apply-elastic:
- check-elastic - check-elastic
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
entrypoint: [""] entrypoint: [""]
...@@ -173,11 +174,21 @@ apply-elastic: ...@@ -173,11 +174,21 @@ apply-elastic:
gitlab-terraform init gitlab-terraform init
gitlab-terraform apply -auto-approve gitlab-terraform apply -auto-approve
sleep:
stage: sleep
needs:
- apply-elastic
script:
- |
sleep 1m
destroy-psc: destroy-psc:
stage: destroy stage: destroy
needs:
- sleep
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: google/cloud-sdk:slim name: google/cloud-sdk:slim
entrypoint: [""] entrypoint: [""]
...@@ -214,7 +225,7 @@ destroy-elastic: ...@@ -214,7 +225,7 @@ destroy-elastic:
- destroy-psc - destroy-psc
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
entrypoint: [""] entrypoint: [""]
...@@ -236,7 +247,7 @@ destroy-gke: ...@@ -236,7 +247,7 @@ destroy-gke:
- destroy-psc - destroy-psc
tags: tags:
- docker - docker
- amd64 - cache
image: image:
name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest name: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
entrypoint: [""] entrypoint: [""]
...@@ -255,4 +266,4 @@ destroy-gke: ...@@ -255,4 +266,4 @@ destroy-gke:
script: script:
- | - |
gitlab-terraform init gitlab-terraform init
gitlab-terraform destroy -auto-approve gitlab-terraform destroy -auto-approve
\ No newline at end of file
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