Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,19 @@ jobs:
command: |
bin/smoke_test --remote --no-source-env
# - notify-slack-smoke-test-status
check-pinpoint-config:
docker:
- image: circleci/ruby:2.6-node-browsers
steps:
- checkout
- bundle-yarn-install
- run:
name: Check current AWS Pinpoint country support
command: |-
diff <(bundle exec ./scripts/pinpoint-supported-countries) config/country_dialing_codes.yml
- slack/status:
fail_only: true
failure_message: ":aws-emoji: :red_circle: AWS Pinpoint country configuration is out of date"

workflows:
version: 2
Expand All @@ -267,6 +280,18 @@ workflows:
tags:
only: "/^[0-9]{4}-[0-9]{2}-[0-9]{2,}.*/"

daily-external-pinpoint-checker:
jobs:
- check-pinpoint-config
triggers:
- schedule:
# Once a day at 12pm
cron: "0 12 * * *"
filters:
branches:
only:
- master

# Theses are staggered separately from the smoke tests in the identity-monitor repo
# because they share credentials and would mess each other up if run concurrently
# https://github.com/18F/identity-monitor/blob/master/.circleci/config.yml
Expand Down