Skip to content

Commit

Permalink
ci: add a verify CI job to ensure CI checks are run (#10179)
Browse files Browse the repository at this point in the history
This workflow will be added as a branch protection rule in github.
  • Loading branch information
dnephin authored May 6, 2021
1 parent 702e3d2 commit f5afed8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,21 @@ jobs:
terraform destroy -auto-approve
- run: *notify-slack-failure

# The noop job is a used as a very fast job in the verify-ci workflow because every workflow
# requires at least one job. It does nothing.
noop:
docker:
- image: docker.mirror.hashicorp.services/alpine:latest
steps:
- run: 'echo ok'

workflows:
version: 2
# verify-ci is a no-op workflow that must run on every PR. It is used in a
# branch protection rule to detect when CI workflows are not running.
verify-ci:
jobs: [noop]

go-tests:
unless: << pipeline.parameters.trigger-load-test >>
jobs:
Expand Down

0 comments on commit f5afed8

Please sign in to comment.