Commit 0832501c authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

refactor: rationalize environment actions

parent 5c15d622
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1033,6 +1033,7 @@ k8s-score-production:
    reports:
      dotenv: kubernetes.env*
  environment:
    action: start
    url: "$environment_url" # can be either static or dynamic

# Cleanup job prototype
@@ -1084,7 +1085,6 @@ k8s-cleanup-review:
    ENV_KUBE_CONFIG: "$K8S_REVIEW_KUBE_CONFIG"
  environment:
    name: ${ENV_TYPE}${K8S_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME}
    action: stop
  resource_group: ${ENV_TYPE}${K8S_ENVIRONMENT_NAMESPACE}/${CI_COMMIT_REF_NAME}
  rules:
    # exclude tags