Skip to content
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

Fix konflux index and bundle cel expressions to avoid build loops #2924

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented Oct 8, 2024

Fix the bundle + index build looping

Change index directory from being within bundle manifests to be it's own under olm-catalog/serverless-operator-index

I will port this changes to the hack repo once merged

serverless-qe and others added 2 commits October 8, 2024 08:33
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
@openshift-ci openshift-ci bot requested review from ReToCode and rhuss October 8, 2024 06:36
@openshift-ci openshift-ci bot added the approved label Oct 8, 2024
@pierDipi pierDipi changed the title Fix konflux index and bundle cel expressions Fix konflux index and bundle cel expressions to avoid build loops Oct 8, 2024
@pierDipi
Copy link
Member Author

pierDipi commented Oct 8, 2024

/cc @mgencur @creydr

@openshift-ci openshift-ci bot requested review from creydr and mgencur October 8, 2024 06:43
@@ -8,7 +8,7 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
== "main" && ( files.all.exists(x, !x.matches('^olm-catalog/')) || files.all.exists(x, x.matches('^.tekton/')) )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, I will fix it on the hack PR as this change is mostly to make it work, ok?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented Oct 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr, pierDipi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@creydr
Copy link
Member

creydr commented Oct 8, 2024

ERRO[2024-10-08T07:45:31Z] 
  * could not run steps: step serverless-index failed: error occurred handling build serverless-index-amd64: the build serverless-index-amd64 failed after 13m7s with reason ManageDockerfileFailed: Failed to prepare the dockerfile for the build. 

probably as we need to regenerate the ci config with the new paths

@pierDipi
Copy link
Member Author

pierDipi commented Oct 8, 2024

Yes, hack repo change incoming

@pierDipi
Copy link
Member Author

pierDipi commented Oct 8, 2024

openshift-knative/hack#320 that will fix CI

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD b48e36f and 2 for PR HEAD 856e1c2 in total

Copy link
Contributor

openshift-ci bot commented Oct 8, 2024

@pierDipi: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/416-upstream-e2e-kafka-aws-416 856e1c2 link false /test 416-upstream-e2e-kafka-aws-416
ci/prow/416-upstream-e2e-aws-416 856e1c2 link false /test 416-upstream-e2e-aws-416
ci/prow/416-test-upgrade-aws-416 856e1c2 link true /test 416-test-upgrade-aws-416
ci/prow/416-operator-e2e-aws-416 856e1c2 link true /test 416-operator-e2e-aws-416
ci/prow/416-images 856e1c2 link true /test 416-images

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants