Skip to content

Commit

Permalink
feat: trigger api-tooling rebuild at end of CD pipeline
Browse files Browse the repository at this point in the history
The api-tooling repo pulls in the latest version of vervet when it builds, so
to keep it up to date we should rebuild it when a new version of vervet is
published.
  • Loading branch information
jgresty committed Nov 4, 2024
1 parent 6c5d97b commit f9a405f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ jobs:
./scripts/release.bash
fi
rebuild-tools:
<<: *defaults
steps:
- run: |-
curl -X POST https://circleci.com/api/v2/project/github/snyk/api-tooling/pipeline \
--header "Circle-Token: $CIRCLE_TOKEN" \
--header "content-type: application/json" \
--data '{"branch":"main"}'
workflows:
version: 2
CI:
Expand Down Expand Up @@ -187,3 +196,10 @@ workflows:
- snyk-bot-slack
requires:
- Build Docker Image

- rebuild-tools:
name: Rebuild api-tooling
context:
- manage-api-tooling
requires:
- Release

0 comments on commit f9a405f

Please sign in to comment.