update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user