Loading templates/gitlab-ci-aws.yml +3 −1 Original line number Diff line number Diff line Loading @@ -542,6 +542,8 @@ stages: echo "${prefix}environment_type=${environment_type}" echo "${prefix}environment_name=${environment_name}" echo "${prefix}environment_url=${environment_url}" # '$environment_url' is required by GitLab (dynamic env URL) if [[ "$environment_namespace" ]]; then echo "environment_url=${environment_url}"; fi } >> "$dotenvfile" chmod 644 environment_url.txt "$dotenvfile" } Loading Loading @@ -620,6 +622,7 @@ stages: reports: dotenv: aws.env* environment: action: start url: "$environment_url" # can be either static or dynamic # Cleanup job prototype Loading Loading @@ -668,7 +671,6 @@ aws-cleanup-review: ENV_OIDC_ROLE_ARN: "$AWS_REVIEW_OIDC_ROLE_ARN" environment: name: ${ENV_TYPE}${AWS_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME} action: stop resource_group: ${ENV_TYPE}${AWS_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME} rules: # exclude tags Loading Loading
templates/gitlab-ci-aws.yml +3 −1 Original line number Diff line number Diff line Loading @@ -542,6 +542,8 @@ stages: echo "${prefix}environment_type=${environment_type}" echo "${prefix}environment_name=${environment_name}" echo "${prefix}environment_url=${environment_url}" # '$environment_url' is required by GitLab (dynamic env URL) if [[ "$environment_namespace" ]]; then echo "environment_url=${environment_url}"; fi } >> "$dotenvfile" chmod 644 environment_url.txt "$dotenvfile" } Loading Loading @@ -620,6 +622,7 @@ stages: reports: dotenv: aws.env* environment: action: start url: "$environment_url" # can be either static or dynamic # Cleanup job prototype Loading Loading @@ -668,7 +671,6 @@ aws-cleanup-review: ENV_OIDC_ROLE_ARN: "$AWS_REVIEW_OIDC_ROLE_ARN" environment: name: ${ENV_TYPE}${AWS_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME} action: stop resource_group: ${ENV_TYPE}${AWS_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME} rules: # exclude tags Loading