mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 07:50:30 -05:00
update
This commit is contained in:
parent
584066d228
commit
8cb6a6c8b3
2 changed files with 4 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ variables:
|
||||||
GITLAB_TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${ENVIRONMENT_NAME}
|
GITLAB_TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${ENVIRONMENT_NAME}
|
||||||
|
|
||||||
image:
|
image:
|
||||||
name: registry.durp.info/hashicorp/terraform:light
|
name: registry.internal.durp.info/hashicorp/terraform:light
|
||||||
#name: hashicorp/terraform:light
|
#name: hashicorp/terraform:light
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
|
|
||||||
|
|
@ -98,4 +98,4 @@ destroy-production:
|
||||||
extends: .terraform_destroy
|
extends: .terraform_destroy
|
||||||
needs: ["apply-production"]
|
needs: ["apply-production"]
|
||||||
rules:
|
rules:
|
||||||
- when: manual
|
- when: manual
|
||||||
|
|
|
||||||
|
|
@ -3,15 +3,12 @@
|
||||||
#test deployment
|
#test deployment
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
Test_Job:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- echo "Test job"
|
|
||||||
|
|
||||||
$VERSION:
|
$VERSION:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
needs:
|
needs:
|
||||||
- job: Test_Job
|
- job: Test_Job
|
||||||
script:
|
script:
|
||||||
- echo "Deploy to $ENVIRONMENT server"
|
- echo "Deploy to $ENVIRONMENT server"
|
||||||
|
environment:
|
||||||
|
name: $ENVIRONMENT
|
||||||
" > generated-config.yml
|
" > generated-config.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue