Commit Graph

5076 Commits

Author SHA1 Message Date
renovate[bot] 2d6e43071e
chore(deps): update dependency containers/automation_images to v20230809
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-12 03:08:32 +00:00
OpenShift Merge Robot 3d4f4a398c
Merge pull request #4971 from lsm5/main-rpm
[CI:BUILD] RPM: fix buildtags
2023-08-11 23:06:51 -04:00
Lokesh Mandvekar 065b955997
[CI:BUILD] RPM: fix buildtags
buildtags mentioned as $(hack/foobar.sh) need double quotes to get
correctly read.

Fixes: #4944

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-08-11 14:42:17 -04:00
Daniel J Walsh e7538b2468
Merge pull request #4958 from containers/renovate/major-ci-vm-image
chore(deps): update dependency containers/automation_images to v20230807
2023-08-11 04:42:13 -04:00
Daniel J Walsh ddd83bc800
Merge pull request #4965 from containers/renovate/ubuntu-22.x
chore(deps): update dependency ubuntu to v22
2023-08-11 04:41:23 -04:00
Daniel J Walsh 01cb91fa1d
Merge pull request #4970 from containers/renovate/github.com-opencontainers-runc-1.x
fix(deps): update module github.com/opencontainers/runc to v1.1.9
2023-08-11 04:40:48 -04:00
renovate[bot] 3964ca9d63
fix(deps): update module github.com/opencontainers/runc to v1.1.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 03:10:50 +00:00
renovate[bot] 591b5390d4
chore(deps): update dependency ubuntu to v22
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 00:13:17 +00:00
renovate[bot] 204c5a1cec
chore(deps): update dependency containers/automation_images to v20230807
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 00:13:12 +00:00
OpenShift Merge Robot 3ec3ecc8c2
Merge pull request #4964 from lsm5/main-packit
[CI:BUILD] Packit: add fedora-eln targets and build docs with vendored go-md2man
2023-08-09 20:10:58 -04:00
Lokesh Mandvekar 9ab3b526db
[CI:BUILD] Packit: add fedora-eln targets
`fedora-all` doesn't include eln targets. We need to add them
explicitly.

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-08-09 15:09:19 -04:00
Lokesh Mandvekar ed2a501c95
[CI:BUILD] RPM: build docs with vendored go-md2man
[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-08-09 15:09:08 -04:00
OpenShift Merge Robot bc68b59aea
Merge pull request #4959 from martinpitt/packit-temp-copr
packit: Build PRs into default packit COPRs
2023-08-08 09:01:52 -04:00
Martin Pitt 5bdb8c70db packit: Build PRs into default packit COPRs
Building all PRs of all container projects into the same COPR does not
properly isolate PRs from each other: E.g. a podman PR currently runs
against whichever buildah PR was opened/updated last; in other
words, sending a broken buildah PR will instantly break tests for
all subsequent podman runs.

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 like podman should only run
against what landed in buildah/main, i.e. the podman-next COPR.

Note that this does not preclude testing a podman PR against an
buildah PR: This can be explicitly requested [1]. But most PRs
don't change the API and thus should default to isolation.

[1] https://packit.dev/posts/testing-farm-triggering

[NO NEW TESTS NEEDED]

Signed-off-by: Martin Pitt <mpitt@redhat.com>
2023-08-08 10:30:53 +02:00
Daniel J Walsh d0da9f6813
Merge pull request #4954 from containers/renovate/golang.org-x-crypto-0.x
fix(deps): update module golang.org/x/crypto to v0.12.0
2023-08-07 14:16:27 -04:00
Daniel J Walsh 22a70ec8b8
Merge pull request #4955 from aaerrolla/main
Update install.md changes to reflect current Debian stable version name
2023-08-07 14:16:11 -04:00
Anjaneyulu Aerrolla 7a691eb1e5
Merge branch 'main' into main 2023-08-07 03:55:18 +00:00
OpenShift Merge Robot 6b890df143
Merge pull request #4953 from containers/renovate/golang.org-x-term-0.x
fix(deps): update module golang.org/x/term to v0.11.0
2023-08-06 19:27:32 +02:00
Anjaneyulu Aerrolla fc7329d7c8
Update install.md
updated Debian install instructions  to reflect current stable Debian version and name which is  Debian 12 Bookworm

Signed-off-by: Anjaneyulu Aerrolla <aaerrolla@gmail.com>
2023-08-05 12:45:28 +05:30
Anjaneyulu Aerrolla f6c4ead1bc
Update install.md changes current Debian stable version name
updated install instructions for Debian current stable version

Signed-off-by: Anjaneyulu Aerrolla <aaerrolla@gmail.com>
2023-08-05 09:22:05 +05:30
renovate[bot] 2254ca2085
fix(deps): update module golang.org/x/term to v0.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 02:36:56 +00:00
renovate[bot] 248f5a2b30
fix(deps): update module golang.org/x/crypto to v0.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-05 02:35:38 +00:00
OpenShift Merge Robot ebadc2a2c8
Merge pull request #4872 from cevich/fix_bad_test_env
Cirrus: container/rootless env. var. passthrough
2023-08-05 04:34:22 +02:00
Tom Sweeney c78e9387a0
Merge branch 'main' into fix_bad_test_env 2023-08-04 15:29:02 -04:00
OpenShift Merge Robot 74a15d8645
Merge pull request #4940 from flouthoc/layer-label
buildah: add `--layer-label` for setting labels on intermediate images
2023-08-03 16:45:34 +02:00
Aditya R ae36f6542e
tests: fix layer-label tests
Some additions and corrections to layer-label tests from comment: https://github.com/containers/buildah/pull/4940#pullrequestreview-1560878587

Co-authored-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Aditya R <arajan@redhat.com>
2023-08-03 18:03:34 +05:30
Aditya R f888b3d84b
buildah: add --layer-label for setting labels on layers
`--layer-label` allows users to set labels on intermediate labels agnostic
of the labels set on actual image. Since there are use-cases where users
want to perform operation on intermediate images only on the basis of
certain labels.

Closes: https://github.com/containers/buildah/issues/4933

Signed-off-by: Aditya R <arajan@redhat.com>
2023-08-03 12:09:12 +05:30
Chris Evich 239b2a877a
Cirrus: container/rootless env. var. passthrough
Fixes: https://github.com/containers/buildah/issues/4838

Resolve a long-standing TODO item (and bug fix apparently) relating to
passing important env. var. values into special testing contexts.
Namely container-based and rootless testing.  These changes mostly come
from the (now battle-tested) work by @edsantiago in the podman CI
scripts.  Some podman-CI specific variables have been stripped out, and
other buildah-specific simplifications made.

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-08-02 10:57:21 -04:00
Chris Evich 65c1c9327a
Cirrus: Remove duplicate env. var. definitions
These are pre-defined by the common automation library sourced near the
top of the file.

Signed-off-by: Chris Evich <cevich@redhat.com>
2023-08-01 15:45:39 -04:00
OpenShift Merge Robot 802fc2608e
Merge pull request #4949 from containers/renovate/github.com-containers-storage-digest
fix(deps): update github.com/containers/storage digest to c3da76f
2023-08-01 11:45:26 +02:00
renovate[bot] 978be7796a
fix(deps): update github.com/containers/storage digest to c3da76f
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 07:12:08 +00:00
OpenShift Merge Robot 72c539082e
Merge pull request #4945 from mtrmac/close-image
Ensure created ImageSource / ImageDestination objects are closed
2023-08-01 09:11:04 +02:00
Miloslav Trmač 62d4057718 Add a missing .Close() call on an ImageSource
[NO NEW TESTS NEEDED]

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-07-31 23:57:38 +02:00
Miloslav Trmač e588986fa6 Create only a reference when that's all we need
Don't create an ImageDestination only to call .Reference() on it. copy.Image
manages its own ImageSource/ImageDestination instances.

- On the pull path, this causes two ImageDestination objects to exist concurrently
  for the same directory. That's not really expected to work (because the implementation
  caches a modified top-level index in memory); luckily it currently doesn't matter
  because we don't make any writes through the manually-managed object, but it's
  a risk for future changes.
- On the push path, this creates a local object when the thing to push just doesn't exist.

Note that the code calls the input "sourcePath" but it can contain a tag, and that
seems to be intentional.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-07-31 23:57:38 +02:00
Miloslav Trmač fe947ed9cc Add a missing .Close() call on an ImageDestination
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-07-31 23:57:38 +02:00
OpenShift Merge Robot 3e4e377cbb
Merge pull request #4946 from lsm5/main-packit
CI:BUILD] RPM: define gobuild macro for rhel/centos stream
2023-07-31 22:40:08 +02:00
Lokesh Mandvekar 597d308801
CI:BUILD] RPM: define gobuild macro for rhel/centos stream
The current gobuild macro doesn't account for build tags on both c9s and
c8s. This is currently causing copr build failures for c9s.

Ref: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/build/6220412/

This commit will define gobuild for all those envs until gobuild is
fixed by default.

Refs:
c9s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227328
c8s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227331

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-07-31 13:51:58 -04:00
Daniel J Walsh 8af2dc4ea4
Merge pull request #4912 from flouthoc/replicate-zstd
manifest, push: implement `--add-compression` to push with compressed variants.
2023-07-31 13:39:32 -04:00
Aditya R b9ac8d5e01
manifest/push: add support for --add-compression
Adds support for `--add-compression` which accepts multiple compression
formats and when used it will add all instances in a manifest list with
requested compression formats.

Signed-off-by: Aditya R <arajan@redhat.com>
2023-07-31 20:24:18 +05:30
Aditya R d27a823568
manifest/inspect: add support for tls-verify and authfile
Add flags for `manifest inspect` i.e `--tls-verify` and `--authfile`

Signed-off-by: Aditya R <arajan@redhat.com>
2023-07-31 20:24:10 +05:30
Aditya R 071f851da2
vendor: bump c/common to v0.55.1-0.20230727095721-647ed1d4d79a
Signed-off-by: Aditya R <arajan@redhat.com>
2023-07-28 23:12:34 +05:30
Aditya R 5122735877
vendor: bump c/image to v5.26.1-0.20230726142307-8c387a14f4ac
Signed-off-by: Aditya R <arajan@redhat.com>
2023-07-28 23:12:29 +05:30
Daniel J Walsh d9248be1a1
Merge pull request #4943 from containers/renovate/github.com-containerd-containerd-1.x
fix(deps): update module github.com/containerd/containerd to v1.7.3
2023-07-28 06:13:14 -04:00
renovate[bot] 3d8616537f
fix(deps): update module github.com/containerd/containerd to v1.7.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 22:51:13 +00:00
Daniel J Walsh 028686ef63
Merge pull request #4941 from containers/renovate/github.com-docker-docker-24.x
fix(deps): update module github.com/docker/docker to v24.0.5+incompatible
2023-07-26 13:13:20 -04:00
Daniel J Walsh fdf8c37614
Merge pull request #4939 from containers/renovate/github.com-onsi-gomega-1.x
fix(deps): update module github.com/onsi/gomega to v1.27.10
2023-07-26 13:13:04 -04:00
renovate[bot] c20d0164fb
fix(deps): update module github.com/onsi/gomega to v1.27.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 16:07:06 +00:00
renovate[bot] 2e7dcc1432
fix(deps): update module github.com/docker/docker to v24.0.5+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 16:06:06 +00:00
Daniel J Walsh 725fb9e46a
Merge pull request #4936 from containers/renovate/github.com-opencontainers-runtime-spec-1.x
fix(deps): update module github.com/opencontainers/runtime-spec to v1.1.0
2023-07-24 10:51:48 -04:00
Daniel J Walsh 3629870733
Merge pull request #4938 from containers/renovate/github.com-containers-image-v5-5.x
fix(deps): update module github.com/containers/image/v5 to v5.26.1
2023-07-24 10:50:31 -04:00