Skip to content

Commit

Permalink
Turn off staging after hours
Browse files Browse the repository at this point in the history
  • Loading branch information
cweibel committed Jul 11, 2024
1 parent 198490f commit c6c0b27
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,25 @@ jobs:
username: ((slack-username))
icon_url: ((slack-icon-url))


- name: delete-staging-after-hours
serial: true
serial_groups: [staging]
plan:
- in_parallel:
- get: after-hours
trigger: true
- get: autoscaler-manifests
passed: [deploy-app-autoscaler-staging]
- get: release
passed: [deploy-app-autoscaler-staging]
- task: delete-deployment
file: autoscaler-manifests/ci/delete-deployment.yml
params:
BOSH_CA_CERT: ((bosh-director-info.staging.ca_cert))
BOSH_ENVIRONMENT: ((bosh-director-info.staging.environment))
BOSH_CLIENT: ((bosh-director-info.staging.client))
BOSH_CLIENT_SECRET: ((bosh-director-info.staging.client_secret))
BOSH_ENV_NAME: staging

## Acceptance tests for Staging

Expand Down

0 comments on commit c6c0b27

Please sign in to comment.