Commit 09100be6 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

refactor: rationalize environment actions

parent a5b96d51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -937,6 +937,7 @@ stages:
      # propagate deployed env info in a dotenv artifact
      dotenv: docker-compose.out.env*
  environment:
    action: start
    url: "$environment_url" # can be either static or dynamic

# Cleanup job prototype
@@ -1105,7 +1106,6 @@ compose-cleanup-review:
    ENV_APP_NAME: "$DCMP_REVIEW_APP_NAME"
  environment:
    name: ${ENV_TYPE}${DCMP_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME}
    action: stop
  resource_group: ${ENV_TYPE}${DCMP_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME}
  rules:
    # exclude tags