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

[SECURESIGN-171] Minimising amount of RHTAP builds. #112

Closed
wants to merge 6 commits into from

Conversation

tommyd450
Copy link

Using this pr to test the pipelinesascode.tekton.dev/on-cel-expression.

@openshift-ci openshift-ci bot requested review from JasonPowr and lkatalin November 7, 2023 10:50
Copy link

openshift-ci bot commented Nov 7, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tommyd450

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

@openshift-ci openshift-ci bot added the approved label Nov 7, 2023
@tommyd450
Copy link
Author

/lgtm

Copy link

openshift-ci bot commented Nov 7, 2023

@tommyd450: you cannot LGTM your own PR.

In response to this:

/lgtm

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/test-infra repository.

@lance
Copy link
Member

lance commented Nov 8, 2023

@tommyd450 I like what you are doing here. But I am confused with the results. It seems like this should have prevented the tuf-server-on-pull-request action from running, but it ran anyway.

@tommyd450
Copy link
Author

tommyd450 commented Nov 8, 2023

@lance this was my initial test but i switched to testing it on my fork as to not waste the main workspaces resources. And the current pathing is incorrect as it should be "cmd/tuf/server". I put this on the backburner for the moment as this is something tageted for tp2. Will be folloing up with lots of pr's for other repos.

My only concern is that we technically wont trigger anybuilds unless one of those three things are changed so hopefully rhtap adds the ability to manually trigger a build on a custom pipeline.

@tommyd450
Copy link
Author

They are also running still as a change has been made to their individual tekton file which would also trigger a build.
Will ensure we do a build after dependcy upgrades/changes.

@tommyd450 tommyd450 changed the title Testing initial change to tufserver pipeline [SECURESIGN-171] Minimising amount of RHTAP builds. Nov 13, 2023
@@ -8,6 +8,7 @@ metadata:
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-event: '[push]'
pipelinesascode.tekton.dev/on-target-branch: '[redhat-v0.6.5]'
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "redhat-v0.6.5" && ( ".tekton/ct-server-push.yaml".pathChanged() || "/Dockerfile.ct-server".pathChanged() )
Copy link
Author

Choose a reason for hiding this comment

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

I want to call brief attention to this line for any one reviewing.
There is no set of files present on this repo for ct_server.
So until rhtap implements triggering builds manually the only way to trigger a build for this would be to change either the dockerfile or tekton file.

Copy link
Member

Choose a reason for hiding this comment

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

I think the Dockerfile.ct-server would qualify as a dependency, wouldn't it?

@openshift-merge-robot
Copy link

PR needs rebase.

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/test-infra repository.

@lance lance closed this Dec 12, 2023
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