-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refactoring Github workflows #161
Conversation
affc938
to
02bb7d0
Compare
|
||
jobs: | ||
workflow-build: | ||
if: ${{ github.ref_name =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ }} |
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.
This snippet does not work??
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
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.
Some how it wasn't triggering in Act, that's why I change it to the job conditional. I could do that way, it might work with Github
* For `workflow_call` and `workflow_dispatch` events * Builds Kuadrant Operator image, it's bundle and catalog * Configurable by inputs
* Only triggered by cron * Sending kuadrant op version and tag (ref sha)
* Uses defaults for tags, version and dependencies
* Sends `git_ref` as op version and tag, defaults for the rest * Triggered by push to a branch that's not main nor release
* Triggered by tag creation, filtered by release regex * Passes the semantic version of the release tag * Dependencies are default for now, could be edited to be manually triggered with dependencies version inputs.
* This is replaced by the combo of caller workflows and `build-images-base` one
e6763cc
to
a00e8d1
Compare
This PR not only fixes the bundle creation and catalog verification that was failing because of a mismatch of listed dependency versions:
but also a complete refactor of every build job:
latest
tag and0.0.0
version to the Kuadrant Operatorlatest
tagged bundleslatest
branch name
tag and0.0.0
version to the Kuadrant Operatorsha
collected, sets version to0.0.0
Notes:
build-images-base
build-images
workflow was removed.