Files
linode/.gitlab-ci.yml
2022-09-25 14:25:39 +00:00

31 lines
451 B
YAML

stages:
- validate
- plan
- apply
- ansible
- destroy
before_script:
- echo "token = \"$token\"" >> terraform.tfvars
include:
- project: 'developerdurp/yml-templates'
ref: 'main'
file:
- 'terraform.yml'
- 'ansible.yml'
plan production:
extends: .plan production
allow_failure: true
artifacts:
when: on_failure
paths:
- $CI_PROJECT_DIR
apply:
extends: .apply
destroy:
extends: .destroy