Skip to content

Conversation

flouthoc
Copy link
Contributor

@flouthoc flouthoc commented Sep 2, 2025

No description provided.

@flouthoc flouthoc force-pushed the downstream-PR branch 4 times, most recently from 5151cac to 6f01976 Compare September 2, 2025 23:51
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
Copy link
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

I don’t understand; what is the goal of this?

With the go mod edit -replaced, I read this to mean that none of these PRs should ever be merged. So why are they PRs?

Guessing, is this intended to test container-libs in context of Buildah, but in a way that does not block merging any changes in container-libs?

cat go.mod

# Update the go.mod file to use the specific commit
go mod edit -replace go.podman.io/common=github.com/containers/container-libs/common@${COMMIT_SHA}
Copy link
Contributor

Choose a reason for hiding this comment

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

There are 3 Go modules in this repo

if [ "${{ env.PR_ACTION }}" = "created" ]; then
COMMENT_BODY="✅ A new PR has been created in buildah to vendor these changes: **${{ env.TARGET_REPO_PR_URL }}**"
else
COMMENT_BODY="✅ The existing PR in buildah has been updated with these changes: **${{ env.TARGET_REPO_PR_URL }}**"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this going to add the same comment on every force-push? That might be rather annoying. Can this edit a pre-existing comment, or use some other way to convey that state? (a test status???)

@flouthoc flouthoc marked this pull request as draft September 3, 2025 16:54
@flouthoc
Copy link
Contributor Author

flouthoc commented Sep 3, 2025

@mtrmac This PR is not ready for review yet. I will undraft it when it's ready.

@Luap99
Copy link
Member

Luap99 commented Sep 4, 2025

I don’t understand; what is the goal of this?

The goal is to open a PR in buildah/podman automatically to run there tests there to see if that passesCI there. This is done as it seems like the simplest solution compared to trying to run the buildah/podman tests here (like done with skopeo) since that would require a ton of cirrus.yml duplication. The goal is simply to catch regressions before me merge the PRs here.

Now it makes sense to define some sort of criteria when to open a PR over there, first of all it should only happen when .go files are changed but I guess for many trivial changes we might still want to save the time?

@mtrmac
Copy link
Contributor

mtrmac commented Sep 4, 2025

The goal is to open a PR in buildah/podman automatically to run there tests there to see if that passesCI there. This is done as it seems like the simplest solution compared to trying to run the buildah/podman tests here (like done with skopeo) since that would require a ton of cirrus.yml duplication.

Ah, OK. If the depending projects are fine with the ongoing flow of PRs, filing PRs certainly works and it is easier to set up.

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

Successfully merging this pull request may close these issues.

3 participants