From dbd12cf6ab86aa1bd339e0b1a25a5c45fb33aaaf Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Fri, 10 May 2024 07:49:41 -0500 Subject: [PATCH] update --- scripts/gitlab/create-environment.sh | 9 --------- templates/gitlab.tpl.yml | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/gitlab/create-environment.sh b/scripts/gitlab/create-environment.sh index 1dd7c7c..9b0cdac 100644 --- a/scripts/gitlab/create-environment.sh +++ b/scripts/gitlab/create-environment.sh @@ -3,19 +3,10 @@ #test deployment echo " -Test_Job: - stage: deploy - script: - - echo "Test job" - environment: - name: $ENVIRONMENT - $VERSION: stage: deploy needs: - job: Test_Job script: - echo "Deploy to $ENVIRONMENT server" - environment: - name: $ENVIRONMENT " > generated-config.yml diff --git a/templates/gitlab.tpl.yml b/templates/gitlab.tpl.yml index 2a6d7bc..ccb263a 100644 --- a/templates/gitlab.tpl.yml +++ b/templates/gitlab.tpl.yml @@ -30,5 +30,6 @@ script: - ./scripts/gitlab/create-environment.sh artifacts: + expire_in: never paths: - generated-config.yml