New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: trigger GHA workflow via CircleCI [HEAD-350] #4815
Conversation
a1dc077
to
ff27f1e
Compare
2775b7d
to
a78031b
Compare
9925848
to
9798a96
Compare
9798a96
to
c01feb3
Compare
.circleci/config.yml
Outdated
- prepare-workspace | ||
- run: | ||
name: Trigger build-and-publish workflow at snyk-images | ||
command: ./release-scripts/upload-artifacts.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue: I think you are missing the parameter trigger-snyk-images
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! That's true! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 🎉
c01feb3
to
340d137
Compare
340d137
to
937b052
Compare
echo -e "\033[1;33mTrigger Build and Publish Snyk Images:\033[0m" # Set color to yellow | ||
echo "" | ||
echo " upload-artifacts.sh trigger-snyk-images" | ||
echo "" | ||
echo " This will trigger the build-and-publish workflow in the snyk-images repository." | ||
echo "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* feat: trigger GHA workflow via CircleCI * chore: add docs for CLI Docker Images automation * fix: rename build-and-publish to trigger-building-images * fix: move GHA trigger logic into separate release script * fix: add missing parameter for trigger-snyk-images script
What does this PR do?
This PR adds a CircleCI job to trigger a GitHub Actions workflow in the
snyk/snyk-images
repository usingrepository_dispatch
event. This will build and push Snyk Docker images after Upload NPM job is completed.Where should the reviewer start?
This new job is triggered when Upload NPM job is completed.
How should this be manually tested?
cURL
the same command written inbuild-and-publish-snyk-images
What are the relevant tickets?
HEAD-350
Screenshots
Additional questions