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

packit: Build PRs into default packit COPRs #254

Merged
merged 1 commit into from
Aug 16, 2023
Merged

packit: Build PRs into default packit COPRs #254

merged 1 commit into from
Aug 16, 2023

Conversation

martinpitt
Copy link
Contributor

@martinpitt martinpitt commented Aug 8, 2023

Building all PRs of all container projects into the same COPR does not properly isolate PRs from each other.

To avoid that, change the copr_build configuration to use the packit default COPRs, which are specific to the particular PR, and disappear after a few weeks. Depending projects should only run against what landed in gvisor-tap-vsock/main i.e. the podman-next COPR.

Unmerging the two copr jobs allows us the redundant targets: list for the "main" builds into podman-next. Specifying the target list is not necessary any more since packit/packit-service#1499 got fixed.


This is exactly the same as containers/crun#1260 ; please see the discussion there, this change needs to be applied to all container projects, and then all land together. Let's keep all the relevant discussions and tracking in the crun PR please.

@martinpitt
Copy link
Contributor Author

I'm afraid I'll need help with this test failure. Is this fallout from building against podman-next instead of packit-builds COPR? I.e. depending on some PR that didn't land yet?

Building all PRs of all container projects into the same COPR does not
properly isolate PRs from each other.

To avoid that, change the copr_build configuration to use the packit
default COPRs, which are specific to the particular PR, and disappear
after a few weeks. Depending projects should only run against what
landed in gvisor-tap-vsock/main i.e. the podman-next COPR.

Unmerging the two copr jobs allows us the redundant targets: list for the
"main" builds into podman-next. Specifying the target list is not necessary
any more since packit/packit-service#1499 got fixed.

Signed-off-by: Martin Pitt <mpitt@redhat.com>
@martinpitt martinpitt marked this pull request as ready for review August 8, 2023 14:25
@martinpitt
Copy link
Contributor Author

Nevermind, it was a flake. I needed to re-push for fixing a small copy pasta in the commit message. All green now.

@lsm5

Copy link
Member

@lsm5 lsm5 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Aug 8, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 8, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lsm5, martinpitt
Once this PR has been reviewed and has the lgtm label, please assign baude for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@lsm5
Copy link
Member

lsm5 commented Aug 8, 2023

@baude @cfergeau PTAL. good to merge whenever you get the chance.

@cfergeau cfergeau merged commit 5e3626c into containers:main Aug 16, 2023
15 checks passed
@cfergeau
Copy link
Contributor

Merged it, thanks!

@martinpitt martinpitt deleted the packit-temp-copr branch August 17, 2023 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants