Skip to content

Commit

Permalink
revert(autodevops)!: disable auto deploy on branches to save budget (#…
Browse files Browse the repository at this point in the history
…505)

BREAKING CHANGE: We are now deploying to new clusters :)
  • Loading branch information
douglasduteil authored Jun 11, 2021
1 parent c72c47c commit b657f7e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions base_autodevops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ variables:
GIT_STRATEGY: fetch
GIT_DEPTH: 5
#
AUTO_DEVOPS_DEV_ENVIRONMENT_NAME: "-dev2"
AUTO_DEVOPS_PREPROD_ENVIRONMENT_NAME: "-dev2"
AUTO_DEVOPS_PROD_ENVIRONMENT_NAME: "prod2"
AUTO_DEVOPS_DEV_ENVIRONMENT_NAME: "-dev"
AUTO_DEVOPS_PREPROD_ENVIRONMENT_NAME: "-dev"
AUTO_DEVOPS_PROD_ENVIRONMENT_NAME: "prod"
# To activate the auto release
# AUTO_DEVOPS_RELEASE_AUTO: "🔖"
# AUTO_DEVOPS_PRODUCTION_AUTO: "🚀"
Expand Down Expand Up @@ -270,8 +270,7 @@ Trigger Production:
rules:
- if: "$PRODUCTION || $TRIGGER || $CI_COMMIT_TAG"
when: never
- when: manual
allow_failure: true
- when: on_success
variables:
KOSKO_APPEND_YAML_FROM: .k8s/environments/dev/manifests
KOSKO_GENERATE_ARGS: >-
Expand Down Expand Up @@ -373,7 +372,7 @@ Stop preprod:
when: never
- if: "$AUTO_DEVOPS_NOTIFY_DISABLED"
when: never
- when: manual
- when: on_success
Notify Starting Deployment:
extends: .autodevops_notify_starting_deployment

Expand Down Expand Up @@ -418,6 +417,6 @@ Notify Fail:
when: never
- if: "$AUTO_DEVOPS_NOTIFY_DISABLED"
when: never
- when: manual
- when: on_success
Notify Success:
extends: .autodevops_notify_success

0 comments on commit b657f7e

Please sign in to comment.