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

Support no-clone build-push mode #332

Merged
merged 1 commit into from Feb 28, 2024
Merged

Conversation

cevich
Copy link
Member

@cevich cevich commented Feb 28, 2024

As originally conceived, the build context for each image lives in the respective podman, buildah, and skopeo repositories. A future set of PRs will move both the source and build automation into the new containers/image_build repository. This is needed to support images that are point-in-time rebuildable and run test-builds on image context changes.

Add a magic 2nd argument prefix ('.'), and conditionals to prevent cloning the build context repo. This will allow for an interim period where build automation can run from both the current and new repository until the context repos can be moved.

@cevich cevich changed the title [CI:TOOLING] Support no-clone build-push mode Support no-clone build-push mode Feb 28, 2024
@cevich cevich added no_skopeo_cidev Don't build the skopeo_cidev image no_prior-fedora Don't build any prior-fedora images no_fedora-aws Don't build any fedora-aws images no_fedora-aws-arm64 Don't build any fedora-aws-arm64 images no_fedora_podman Don't build the fedora_podman image no_prior-fedora_podman Don't build the prior-fedora_podman image no_fedora-netavark Don't build the fedora-netavark image no_fedora-netavark-aws-arm64 Don't build the fedora-netavark-aws image no_fedora-podman-py Don't build the fedora-podman-py image no_image-builder Don't build the image-builder image no_fedora-podman-aws-arm64 Don't build the fedora-podman-aws image no_win-server-wsl Don't build Windows WSL image no_debian Don't build the debian image no_rawhide Don't build the rawhide image labels Feb 28, 2024
@cevich
Copy link
Member Author

cevich commented Feb 28, 2024

@edsantiago FYI I bumped out a bunch of timebomb dates in this PR b/c I only need to make the fedora-based build_push VM (so it can be tested). Is this going to mess you up in #331 ?

@edsantiago
Copy link
Collaborator

Can you please merge 331? It's done.

Copy link

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base fedora do-not-use
cache build-push c20240228t164634z-f39f38d13
cache fedora c20240228t164634z-f39f38d13

@cevich
Copy link
Member Author

cevich commented Feb 28, 2024

Yep, np, done. BTW, unless you need aa second-look, please feel free to just merge those PRs yourself. No reason for unnecessary administratia here 😀

As originally conceived, the build context for each image lives in the
respective podman, buildah, and skopeo repositories.  A future set of
PRs will move both the source and build automation into the
new containers/image_build repository.  This is needed to support
images that are point-in-time rebuildable and run test-builds on
image context changes.

Add a magic 2nd argument prefix ('.'), and conditionals to prevent
cloning the build context repo. This will allow for an interim period
where build automation can run from both the current and new repository
until the context repos can be moved.

Signed-off-by: Chris Evich <cevich@redhat.com>
Copy link

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base fedora do-not-use
cache build-push c20240228t185809z-f39f38d13
cache fedora c20240228t185809z-f39f38d13

@cevich cevich merged commit 059c4c6 into containers:main Feb 28, 2024
39 checks passed
@edsantiago
Copy link
Collaborator

I was partway through review. No showstopper concerns.

No reason for unnecessary administratia here

The no-surprises factor: making sure everyone knows what's going on in this repo. Thanks for merging it.

cevich added a commit to cevich/automation_images that referenced this pull request Feb 29, 2024
Signed-off-by: Chris Evich <cevich@redhat.com>
@cevich cevich mentioned this pull request Feb 29, 2024
cevich added a commit to cevich/automation_images that referenced this pull request Feb 29, 2024
Signed-off-by: Chris Evich <cevich@redhat.com>
@cevich
Copy link
Member Author

cevich commented Mar 1, 2024

The no-surprises factor:

Well I appreciate that. Just don't want you to feel obligated, should the need arise in some more urgent situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no_debian Don't build the debian image no_fedora_podman Don't build the fedora_podman image no_fedora-aws Don't build any fedora-aws images no_fedora-aws-arm64 Don't build any fedora-aws-arm64 images no_fedora-netavark Don't build the fedora-netavark image no_fedora-netavark-aws-arm64 Don't build the fedora-netavark-aws image no_fedora-podman-aws-arm64 Don't build the fedora-podman-aws image no_fedora-podman-py Don't build the fedora-podman-py image no_image-builder Don't build the image-builder image no_prior-fedora_podman Don't build the prior-fedora_podman image no_prior-fedora Don't build any prior-fedora images no_rawhide Don't build the rawhide image no_skopeo_cidev Don't build the skopeo_cidev image no_win-server-wsl Don't build Windows WSL image
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants