Skip to content

Commit

Permalink
Deploy branch to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jsrobertson committed Dec 18, 2024
1 parent f3fb927 commit 2570d96
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ workflows:
filters:
branches:
only:
- main
- APG-456-c-show-pom-details

- hmpps/deploy_env:
name: deploy_dev
Expand All @@ -263,65 +263,65 @@ workflows:
filters:
branches:
only:
- main
- APG-456-c-show-pom-details
requires:
- helm_lint
- unit_test
- integration_test
- integration_test_refer_disabled
- build_docker
- end_to_end_test:
context: hmpps-common-vars
filters:
branches:
only:
- main
requires:
- deploy_dev
- tag_pact_version:
name: 'tag_pact_version_dev'
tag: 'deployed:dev'
requires: [deploy_dev]
context: [hmpps-common-vars]
# - end_to_end_test:
# context: hmpps-common-vars
# filters:
# branches:
# only:
# - main
# requires:
# - deploy_dev
# - tag_pact_version:
# name: 'tag_pact_version_dev'
# tag: 'deployed:dev'
# requires: [deploy_dev]
# context: [hmpps-common-vars]

- request-preprod-approval:
type: approval
requires:
- deploy_dev
- end_to_end_test
- hmpps/deploy_env:
name: deploy_preprod
env: 'preprod'
context:
- hmpps-common-vars
- hmpps-accredited-programmes-ui-preprod
requires:
- request-preprod-approval
- tag_pact_version:
name: 'tag_pact_version_preprod'
tag: 'deployed:preprod'
requires: [deploy_preprod]
context: [hmpps-common-vars]
# - request-preprod-approval:
# type: approval
# requires:
# - deploy_dev
# - end_to_end_test
# - hmpps/deploy_env:
# name: deploy_preprod
# env: 'preprod'
# context:
# - hmpps-common-vars
# - hmpps-accredited-programmes-ui-preprod
# requires:
# - request-preprod-approval
# - tag_pact_version:
# name: 'tag_pact_version_preprod'
# tag: 'deployed:preprod'
# requires: [deploy_preprod]
# context: [hmpps-common-vars]

- request-prod-approval:
type: approval
requires:
- deploy_preprod
- hmpps/deploy_env:
name: deploy_prod
env: 'prod'
slack_notification: true
slack_channel_name: << pipeline.parameters.releases-slack-channel >>
context:
- hmpps-common-vars
- hmpps-accredited-programmes-ui-prod
requires:
- request-prod-approval
- tag_pact_version:
name: 'tag_pact_version_prod'
tag: 'deployed:prod'
requires: [deploy_prod]
context: [hmpps-common-vars]
# - request-prod-approval:
# type: approval
# requires:
# - deploy_preprod
# - hmpps/deploy_env:
# name: deploy_prod
# env: 'prod'
# slack_notification: true
# slack_channel_name: << pipeline.parameters.releases-slack-channel >>
# context:
# - hmpps-common-vars
# - hmpps-accredited-programmes-ui-prod
# requires:
# - request-prod-approval
# - tag_pact_version:
# name: 'tag_pact_version_prod'
# tag: 'deployed:prod'
# requires: [deploy_prod]
# context: [hmpps-common-vars]

security:
triggers:
Expand Down

0 comments on commit 2570d96

Please sign in to comment.