Skip to content

Commit

Permalink
HOTT-4598: Update CircleCi Contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
amberstarlight committed Dec 11, 2023
1 parent 9c29925 commit bfa1f18
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ jobs:
event: fail
template: basic_fail_1

notify-production-deployment:
docker:
- image: cimg/ruby:3.2.2
steps:
- tariff/notify-production-release:
app-name: Duty Calculator
slack-channel: trade_tariff
release-tag: $CIRCLE_TAG

workflows:
version: 2

Expand All @@ -171,7 +180,7 @@ workflows:
<<: *filter-not-main

- test:
context: trade-tariff
context: trade-tariff-testing
<<: *filter-not-main

- write-docker-tag:
Expand Down Expand Up @@ -257,7 +266,7 @@ workflows:
<<: *filter-main

- tariff/smoketests:
context: trade-tariff
context: trade-tariff-testing
url: https://staging.trade-tariff.service.gov.uk
yarn_run: staging-tariff-duty-calculator-smoketests
requires:
Expand All @@ -283,7 +292,7 @@ workflows:
<<: *filter-main

- tariff/create-production-release:
context: trade-tariff
context: trade-tariff-releases
image-name: tariff-dutycalculator
requires:
- promote-to-production?
Expand All @@ -301,3 +310,9 @@ workflows:
requires:
- write-docker-tag-prod-release
<<: *filter-release

- notify-production-deployment:
context: trade-tariff-releases
requires:
- apply-terraform-prod
<<: *filter-release

0 comments on commit bfa1f18

Please sign in to comment.