2021-09-30 23:02:18 +05:30
|
|
|
# To contribute improvements to CI/CD templates, please follow the Development guide at:
|
|
|
|
# https://docs.gitlab.com/ee/development/cicd/templates.html
|
|
|
|
# This specific template is located at:
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Terraform.gitlab-ci.yml
|
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
include:
|
|
|
|
- template: Terraform/Base.latest.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Terraform/Base.latest.gitlab-ci.yml
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
stages:
|
2021-09-04 01:27:46 +05:30
|
|
|
- init
|
2018-03-17 18:26:18 +05:30
|
|
|
- validate
|
|
|
|
- build
|
|
|
|
- deploy
|
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
init:
|
|
|
|
extends: .init
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
validate:
|
2021-09-04 01:27:46 +05:30
|
|
|
extends: .validate
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
build:
|
|
|
|
extends: .build
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
deploy:
|
|
|
|
extends: .deploy
|
2018-03-17 18:26:18 +05:30
|
|
|
dependencies:
|
2021-09-04 01:27:46 +05:30
|
|
|
- build
|