ROX-34007: Make create-custom-snapshot always run#20016
ROX-34007: Make create-custom-snapshot always run#20016
create-custom-snapshot always run#20016Conversation
|
Skipping CI for Draft Pull Request. |
1e7d7bc to
fec0285
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #20016 +/- ##
==========================================
+ Coverage 49.56% 49.61% +0.04%
==========================================
Files 2765 2765
Lines 208443 208643 +200
==========================================
+ Hits 103322 103520 +198
- Misses 97466 97467 +1
- Partials 7655 7656 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🚀 Build Images ReadyImages are ready for commit eed076f. To use with deploy scripts: export MAIN_IMAGE_TAG=4.11.x-679-geed076faff |
|
Doesn't seem to work. Requested Konflux support https://redhat-internal.slack.com/archives/C04PZ7H0VA8/p1776256616552199 |
This reverts commit fb7166f.
create-custom-snapshot always run
create-custom-snapshot always runcreate-custom-snapshot always run
|
/konflux-retest main-on-push |
|
/konflux-retest operator-bundle-on-push |
2 similar comments
|
/konflux-retest operator-bundle-on-push |
|
/konflux-retest operator-bundle-on-push |
|
/konflux-retest main-on-push |
1 similar comment
|
/konflux-retest main-on-push |
| } | ||
|
|
||
| is_pull_request="false" | ||
| [[ "{{ pull_request_number }}" == "" ]] || is_pull_request="true" |
There was a problem hiding this comment.
I also saw that the pull request number was literally "{{ pull_request_number }}"
| [[ "{{ pull_request_number }}" == "" ]] || is_pull_request="true" | ||
| assert_boolean is_pull_request "pull_request_number: {{ pull_request_number }}" | ||
|
|
||
| is_matching_target_branch='{{ cel: target_branch.startsWith("release-") }}' |
There was a problem hiding this comment.
This is interesting. Can {{ cel: ...}} be used anywhere? Are there other templating sources documented?
| - name: post-metric-start | ||
| taskRef: *post-bigquery-metrics-ref | ||
|
|
||
| # TODO: event_type=on-comment and the rest |
tommartensen
left a comment
There was a problem hiding this comment.
This is interesting, if you want, please continue investigating!
Description
but skip real tasks if in PRs where Konflux is not enabled. This is alternative way to do #19892.
With the help of https://pipelinesascode.com/docs/guides/creating-pipelines/cel-expressions/.
User-facing documentation
Testing and quality
Automated testing
No change.
How I validated my change
create-custom-snapshot#20026 / https://konflux-ui.apps.stone-prd-rh01.pg1f.p1.openshiftapps.com/ns/rh-acs-tenant/applications/acs/pipelineruns/create-custom-snapshot-dhxjc/retestcomment on the same PR - fast success - TODOkonfluxin the name - real run *DNM* testing ofcreate-custom-snapshot- 2 #20027 / https://konflux-ui.apps.stone-prd-rh01.pg1f.p1.openshiftapps.com/ns/rh-acs-tenant/applications/acs/pipelineruns/create-custom-snapshot-ktwrj/retestcomment on the same PR - real run - TODOkonflux-buildlabel - real run TODO/retestcomment on the same PR - real run - TODOkonflux-buildlabel added - real run TODO/retestcomment on the same PR - real run - TODOrelease-*branch push - real run TODO