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