-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5584 from edsantiago/ci-vms-with-local-registry
CI: use local registry
- Loading branch information
Showing
16 changed files
with
128 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# As of July 2024, all CI VMs include a local registry prepopulated | ||
# with all container images used in tests: | ||
# | ||
# https://github.com/containers/automation_images/pull/357 | ||
# https://github.com/containers/podman/pull/22726 | ||
# https://github.com/containers/buildah/pull/5584 | ||
# | ||
# From time to time -- infrequently, we hope! -- existing images are | ||
# updated, or tests are added that require new images. Those must be | ||
# prefetched on each CI job, at least until new VMs are built. This | ||
# file contains those images. | ||
# | ||
# Format is one FQIN per line. Enumerate them below: | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM quay.io/fedora/fedora | ||
ARG SAFEIMAGE | ||
FROM $SAFEIMAGE | ||
|
||
ENV MYUSER=myuser | ||
RUN useradd --create-home --home /"${MYUSER}" "${MYUSER}" | ||
RUN adduser -D -h /"${MYUSER}" "${MYUSER}" | ||
COPY --chown="${MYUSER}" ./copychown.txt /somewhere | ||
|
||
RUN stat -c "%U:%G" /somewhere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Note that changing the order here may break tests. | ||
unqualified-search-registries = ['docker.io', 'quay.io', 'registry.fedoraproject.org'] | ||
|
||
[[registry]] | ||
# As of July 2024, all CI VMs come with a local registry prepopulated | ||
# with all images needed by tests. | ||
prefix="docker.io" | ||
location="127.0.0.1:60333" | ||
insecure=true | ||
|
||
[[registry]] | ||
prefix="quay.io" | ||
location="127.0.0.1:60333" | ||
insecure=true | ||
|
||
[[registry]] | ||
prefix="docker.io/library" | ||
location="127.0.0.1:60333/libpod" | ||
insecure=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16bd9a3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
podman-next COPR build failed. @containers/packit-build please check.