Commit Graph

5728 Commits

Author SHA1 Message Date
openshift-merge-bot[bot] 608a375786
Merge pull request #5363 from containers/renovate/github.com-opencontainers-runtime-spec-1.x
chore(deps): update module github.com/opencontainers/runtime-spec to v1.2.0
2024-05-08 14:40:46 +00:00
openshift-merge-bot[bot] 453d2fc109
Merge pull request #5494 from nalind/cdi-dirs
Builder.cdiSetupDevicesInSpecdefConfig(): use configured CDI dirs
2024-05-07 15:23:07 +00:00
renovate[bot] 6a48ae700a
chore(deps): update module github.com/opencontainers/runtime-spec to v1.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 15:04:16 +00:00
Nalin Dahyabhai d5b2e3c41a Builder.cdiSetupDevicesInSpecdefConfig(): use configured CDI dirs
Use the directories configured in containers.conf, now that
containers/common can tell us what they are, and now that it provides a
place to configure defaults for container tools, always override the
library's default set, even if it's empty, which means we do nothing.

Switch to the default CDI registry instead of the recenty-deprecated
non-global one.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-07 09:19:16 -04:00
Daniel J Walsh da4e2d7ad9 Setting --arch should set the TARGETARCH build arg
Also fix a long standing FIXME in the test framework.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-05-06 19:49:09 -04:00
openshift-merge-bot[bot] fdf2948263
Merge pull request #5516 from containers/renovate/golang.org-x-exp-0.x
fix(deps): update module golang.org/x/exp to v0.0.0-20240416160154-fe59bbe5cc7f
2024-05-06 21:03:55 +00:00
openshift-merge-bot[bot] 1ff9a43f18
Merge pull request #5470 from edsantiago/ci-vm-tmp
CI VMs: bump to new versions with tmpfs /tmp
2024-05-04 12:54:03 +00:00
renovate[bot] 6f1f687c3e
fix(deps): update module golang.org/x/exp to v0.0.0-20240416160154-fe59bbe5cc7f
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-04 12:52:49 +00:00
openshift-merge-bot[bot] 87019bdc44
Merge pull request #5513 from nalind/gotoolchain-renovate
Don't set GOTOOLCHAIN=local
2024-05-04 12:51:19 +00:00
Daniel J Walsh 6ca6116a8d
Merge pull request #5515 from TomSweeneyRedHat/dev/tsweeney/imagelink
Add link to Buildah image page to README.md
2024-05-04 08:49:28 -04:00
tomsweeneyredhat cd19607250 [CI:DOCS] Add link to Buildah image page to README.md
Add a link to the README.md for the Buildah Container Image
that is found in quay.io to the README.md page.

Addresses: #5500

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2024-05-03 18:04:44 -04:00
openshift-merge-bot[bot] 7921120b72
Merge pull request #5511 from containers/renovate/github.com-cyphar-filepath-securejoin-0.x
fix(deps): update module github.com/cyphar/filepath-securejoin to v0.2.5
2024-05-03 16:55:27 +00:00
Nalin Dahyabhai f6d49125a7 Don't set GOTOOLCHAIN=local
We can't set it all of the time because the renovate bot doesn't allow
us to set this in its configuration unless we're hosting the bot
ourselves, and I don't think that we are.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-03 10:45:56 -04:00
openshift-merge-bot[bot] c917f8dabc
Merge pull request #5497 from nalind/commit-error-reporting
containerImageRef.NewImageSource: merge the tar filters
2024-05-03 11:33:06 +00:00
openshift-merge-bot[bot] 46e2cf4636
Merge pull request #5498 from nalind/gotoolchain
Makefile: set GOTOOLCHAIN=local
2024-05-03 09:34:46 +00:00
renovate[bot] a04741d9f3
fix(deps): update module github.com/cyphar/filepath-securejoin to v0.2.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 09:32:10 +00:00
Daniel J Walsh 8cce223d05
Merge pull request #5499 from nalind/integration-base-images
Integration tests: switch some base images
2024-05-03 05:31:05 -04:00
Daniel J Walsh 19ea251059
Merge pull request #5505 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.2
2024-05-03 05:30:42 -04:00
Nalin Dahyabhai 53f2dc231b Makefile: set GOTOOLCHAIN=local
Set GOTOOLCHAIN=local for all make targets, and for renovate.

Have the "vendor" target (and by extension, "vendor-in-container", which
our validation in CI uses) clear any "toolchain" directive that might
have been added to go.mod through manual invocations of the compiler.

At this point, we probably don't need to be checking for Go module
support, so switch to assuming it's available.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-02 17:41:25 -04:00
Nalin Dahyabhai e0077e8c67 Integration tests: switch some base images
Replace some of the base images we've been using (particularly centos:8,
which will EOL soon) with other images hosted on quay.io.

We already use registries.conf at test-time to redirect some image
references there, so this will slightly reduce the number of registries
which we need to be able to reach while running these tests.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-02 17:33:41 -04:00
Nalin Dahyabhai fdfd2237d2 containerImageRef.NewImageSource: merge the tar filters
Merge the two tar filters, if we need two, that we use when committing
an image.  Try to improve passing of error information from the writing
end of a pipe to the reader, so that it can be reported better.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-02 17:27:38 -04:00
renovate[bot] f2825bf7b9
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 18:24:27 +00:00
openshift-merge-bot[bot] 0330d43dca
Merge pull request #5502 from containers/renovate/github.com-containers-luksy-0.x
fix(deps): update module github.com/containers/luksy to v0.0.0-20240408185936-afd8e7619947
2024-05-02 18:23:02 +00:00
renovate[bot] 2c1c731692
fix(deps): update module github.com/containers/luksy to v0.0.0-20240408185936-afd8e7619947
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 12:19:31 +00:00
openshift-merge-bot[bot] 2227a814d6
Merge pull request #5493 from nalind/disable-rhel-8-packit-builds
Disable packit builds for centos-stream+epel-next-8
2024-05-02 12:18:06 +00:00
Nalin Dahyabhai 7688d880d0 Disable packit builds for centos-stream+epel-next-8
It's no longer an active release for the rhcontainerbot/podman-next COPR
at https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/.

Add "adjustments to .packit.yaml" to the list of things we don't require
updated tests for.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-05-01 10:37:15 -04:00
openshift-merge-bot[bot] 983fa426d0
Merge pull request #5496 from nalind/missing-SOURCES
Makefile: add missing files to $(SOURCES)
2024-04-30 21:56:44 +00:00
Nalin Dahyabhai 7425f6f8f1 Makefile: add missing files to $(SOURCES)
Some source files were not included in $(SOURCES); add them.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-30 15:59:14 -04:00
openshift-merge-bot[bot] 5e46f9c55f
Merge pull request #5437 from cevich/add_golang121_warning
[CI:DOCS] Add golang 1.21 update warning
2024-04-30 19:31:01 +00:00
Ed Santiago fbd2b7db47 CI VMs: bump to new versions with tmpfs /tmp
For the last long time, Fedora CI VMs have had a disk /tmp.
Real-world setups typically have tmpfs /tmp. This switches
to CI VMs that reflect the real world.

See https://github.com/containers/automation_images/pull/340

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-04-30 05:32:42 -06:00
openshift-merge-bot[bot] 3763681506
Merge pull request #5485 from containers/renovate/go-golang.org/x/net-vulnerability
chore(deps): update module golang.org/x/net to v0.23.0 [security]
2024-04-25 17:00:57 +00:00
renovate[bot] 89ee4f4b0c
chore(deps): update module golang.org/x/net to v0.23.0 [security]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 13:08:15 +00:00
openshift-merge-bot[bot] fc18157da3
Merge pull request #5487 from nalind/fedora-minimal-name
integration test: handle new labels in "bud and test --unsetlabel"
2024-04-25 01:24:36 +00:00
Nalin Dahyabhai c01061e472 integration test: handle new labels in "bud and test --unsetlabel"
Instead of assuming which labels are set in our base image, and using
the --unsetlabel flag to suppress them in a derived image, query the
base image and unset all of them, except for our own version label.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-24 17:49:09 -04:00
openshift-merge-bot[bot] dd5c55e0ed
Merge pull request #5484 from nalind/packit-switch-targets
Switch packit configuration to use epel-9-$arch instead of centos-stream+epel-next-9-$arch
2024-04-23 14:36:35 +00:00
Nalin Dahyabhai f86c2748e0 Switch packit configuration to use epel-9-$arch ...
instead of centos-stream+epel-next-9-$arch, mirroring a change which was
just made in https://github.com/containers/podman/pull/22432

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-22 09:35:31 -04:00
openshift-merge-bot[bot] 292afc59ab
Merge pull request #5480 from nalind/prefetch
Integration tests: fixup use of _prefetch
2024-04-22 09:15:23 +00:00
Nalin Dahyabhai 14d964d92f Give unit tests a bit more time
We seem to be running up against the timeout when running the unit tests
in CI.  Give them 90 minutes to complete instead of 60.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-18 13:16:25 -04:00
Nalin Dahyabhai 8bb87aefa0 Integration tests: remove a couple of duplicated tests
Remove a couple of tests which were duplicated as tests which were added
later.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-18 11:27:03 -04:00
Nalin Dahyabhai 3e756d507d Integration tests: whitespace tweaks
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-18 11:27:03 -04:00
Nalin Dahyabhai 8ee7bebd7e Integration tests: don't remove images at start or end of test
Don't bother removing specific images at the beginning or the end of
tests, since we don't carry over the storage used between tests anyway.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-18 11:27:03 -04:00
Nalin Dahyabhai c7f0881422 Integration tests: use cached images more
Attempt to make more thorough use of cached copies of images during
integration tests, except in tests which need to pull a new image while
they're running, either because they test pulling directly, or because
they expect to pull a given image for a non-default platform or for
multiple platforms.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-18 11:27:02 -04:00
Nalin Dahyabhai b213c5e7a1 Integration tests _prefetch: use registry configs
When fetching images in the _prefetch() function, use the same registry
configuration (shortname configuration, registry aliases) that we're
already telling buildah to use when we call it, so that we prefetch from
the locations that buildah would subsequently use if we didn't prefetch.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2024-04-17 17:14:04 -04:00
openshift-merge-bot[bot] e393e57728
Merge pull request #5469 from giuseppe/use-faccessat
use containers/storage/pkg/fileutils/(Exists,Lexists)
2024-04-12 11:28:38 +00:00
Giuseppe Scrivano 8bdd6a66d4
internal: use fileutils.(Le|E)xists
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-04-12 09:58:14 +02:00
Giuseppe Scrivano 441bdc9274
pkg/parse: use fileutils.(Le|E)xists
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-04-12 09:58:14 +02:00
Giuseppe Scrivano 7053383792
buildah: use fileutils.(Le|E)xists
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-04-12 09:58:14 +02:00
Giuseppe Scrivano 9dcd1cc9a6
chroot: use fileutils.(Le|E)xists
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-04-12 09:58:13 +02:00
Giuseppe Scrivano 358814f694
vendor: update containers/(common|storage)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-04-12 09:58:13 +02:00
openshift-merge-bot[bot] 392c64a8be
Merge pull request #5466 from cevich/fix_res_inacs_by_int
[skip-ci] Fix issue/pr lock workflow
2024-04-10 09:57:11 +00:00