From 8cb6a6c8b30196bf19b845bd8711913e9ddcb066 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sat, 11 May 2024 07:12:02 -0500 Subject: [PATCH] update --- pipelines/terraform.yml | 4 ++-- scripts/gitlab/create-environment.sh | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pipelines/terraform.yml b/pipelines/terraform.yml index 9180e1c..fa920e3 100644 --- a/pipelines/terraform.yml +++ b/pipelines/terraform.yml @@ -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 \ No newline at end of file + - when: manual diff --git a/scripts/gitlab/create-environment.sh b/scripts/gitlab/create-environment.sh index 6703bac..9a7ad02 100644 --- a/scripts/gitlab/create-environment.sh +++ b/scripts/gitlab/create-environment.sh @@ -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