This commit is contained in:
2024-05-11 07:12:02 -05:00
parent 584066d228
commit 8cb6a6c8b3
2 changed files with 4 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ variables:
GITLAB_TF_ADDRESS: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/terraform/state/${ENVIRONMENT_NAME}
image:
name: registry.durp.info/hashicorp/terraform:light
name: registry.internal.durp.info/hashicorp/terraform:light
#name: hashicorp/terraform:light
entrypoint: [""]
@@ -98,4 +98,4 @@ destroy-production:
extends: .terraform_destroy
needs: ["apply-production"]
rules:
- when: manual
- when: manual

View File

@@ -3,15 +3,12 @@
#test deployment
echo "
Test_Job:
stage: deploy
script:
- echo "Test job"
$VERSION:
stage: deploy
needs:
- job: Test_Job
script:
- echo "Deploy to $ENVIRONMENT server"
environment:
name: $ENVIRONMENT
" > generated-config.yml