25658 Commits

Author SHA1 Message Date
da671ef6cf Bump to v5.6.0
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.6.0
2025-08-15 09:42:35 -04:00
a8e167574d Merge pull request #26832 from mheon/release_notes_560
Update release notes for v5.6.0 final release
2025-08-15 13:37:41 +00:00
98c3228471 Update release notes for v5.6.0 final release
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-15 09:17:43 -04:00
0819ecee86 Merge pull request #26828 from TomSweeneyRedHat/dev/tsweeney/buildah_1.41.3
[v5.6] Bump to Buildah v1.41.3
2025-08-15 13:10:25 +00:00
43cb0db93b [v5.6] Bump Buildah to v1.41.3
Bump Buildah to v1.41.3 in preparation for Podman v5.6.0. This vendoring also
cures a last minute issue in the Buildah build code.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-14 15:47:52 -04:00
f6584e443a [v5.6] Reverse skipped test for 26773
An issue was found late in Podman v5.6 RC2 and it was reported
in #26773.  The failing test was changed so that it was skipped.
This commit renables that test as the fix should be contained
in Buildah 1.41.3.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-14 15:47:18 -04:00
ab7c7cbc57 Merge pull request #26806 from openshift-cherrypick-robot/cherry-pick-26788-to-v5.6
[v5.6] Add BoltDB deprecation notice
2025-08-11 21:36:38 +00:00
3354423c0d Add a deprecation notice for users of BoltDB
Right now, only log-level=info, so not shown by default. We can
continue to up this in subsequent releases to convince folks of
the urgency of switching.

Resolves https://issues.redhat.com/browse/RUN-3343

Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-11 19:44:59 +00:00
771be205f6 Merge pull request #26792 from podmanbot/bump-5.6.0-dev
Bump Podman to v5.6.0-dev
2025-08-09 15:18:22 +00:00
11efbf84c7 Bump Podman to v5.6.0-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-08-08 17:17:33 +00:00
c523323e7e Merge pull request #26791 from mheon/bump_560_rc2
Bump to v5.6.0-rc2
2025-08-08 17:12:49 +00:00
ec0652f4ad Bump to v5.6.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.6.0-rc2
2025-08-08 11:32:52 -04:00
419a031fcd Merge pull request #26789 from mheon/560_rc2_backports
Backports for Podman v5.6.0-RC2
2025-08-08 14:41:34 +00:00
44e1f1e598 Update release notes for v5.6.0-RC2
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-08-08 09:26:43 -04:00
5dc87663a9 feat: add Podman artifact support to Go bindings and remote clients
Add the Go bindings implementation necessary to support Artifacts.
Implement the tunnel interface that consumes the Artifacts Go bindings.

With this patch, users of the Podman remote clients will now be able to
manage OCI artifacts via the Podman CLI and Podman machine.

Jira: https://issues.redhat.com/browse/RUN-2714#

Signed-off-by: Lewis Roy <lewis@redhat.com>
2025-08-08 09:21:45 -04:00
906b97e3e1 compat: remove deprecated VirtualSize
Since compat version 1.43 the VirtualSize field in the
GET /images/{name}/json, GET /images/json, and
GET /system/df responses is deprecated and will no
longer be included in API v1.44. Use the Size field
instead, which contains the same information.

Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-08-08 09:14:23 -04:00
17a1e6cfb2 compat: add shared-size par to GET /images/json
Related: https://issues.redhat.com/browse/RUN-2698

Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-08-08 09:14:18 -04:00
8bcfe0ea56 compat: RepoTags and RepoDigest return [] and not null
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-08-08 09:14:12 -04:00
e1f65f1642 compat: remove GET /system/df BuilderSize
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-08-08 09:12:12 -04:00
ec778d94b5 compat: GET /_ping return Builder-Version: 1
Signed-off-by: Nicola Sella <nsella@redhat.com>
2025-08-08 09:12:06 -04:00
3809ca0cfa Merge pull request #26771 from TomSweeneyRedHat/dev/tsweeney/buildahv1.41.1_v5.6
[v5.6] Bump Buildah to v1.41.1
2025-08-07 18:26:24 +00:00
57493f61d0 [v5.6] Bump Buildah to v1.41.1
Bump Buildah to v1.41.1 in preparation for Podman
v5.6 RC2.  The c/* projects were bumped in #25752

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-07 11:23:08 -04:00
8865152a3b [v5.6] Skip failing Buildah v1.41.1 test
Skip over the

460 bud should include excluded pulled up parent directories in squashed images

test which is new in Buildah v1.41.1 and Podman v5.6 RC2.  This issue is
noted in: https://github.com/containers/podman/issues/26773

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-07 11:22:54 -04:00
626a5bad41 Merge pull request #26764 from openshift-cherrypick-robot/cherry-pick-26728-to-v5.6
[v5.6] [CI:DOCS] Remove Experimental from Artifacts man pages
2025-08-07 09:21:24 +00:00
e98899689c Remove Experimental from Artifacts man pages
Remove the "Experimental" stanza from the Podman Artifact commands
in time for Podman v5.6 and RHEL 9.7/10.1

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-06 18:07:33 +00:00
b677af8111 Merge pull request #26752 from TomSweeneyRedHat/dev/tsweeney/common_0.41.1
[v5.6] Bump c/storage to v1.59.1, c/image 5.36.1, and
2025-08-05 16:58:08 +00:00
21cf326c7b [v5.6] Bump c/storage to v1.59.1, c/image 5.36.1, and
c/common 0.64.1

Bumping in preparaton for Podman v5.6 RC2.
This bumps the c/* projects to:

c/storage  v1.59.1
c/image    v5.36.1
c/common   v0.64.1

Buildah will be vendored after it finishes with the same
version bumps.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-08-05 10:33:44 -04:00
3e8eb41a56 Merge pull request #26700 from podmanbot/bump-5.6.0-dev
Bump Podman to v5.6.0-dev
2025-07-28 12:17:43 +00:00
797a59cefa Bump Podman to v5.6.0-dev
Signed-off-by: mheon <7735048+mheon@users.noreply.github.com>
2025-07-25 18:51:16 +00:00
5cdad4550a Merge pull request #26694 from mheon/bump_560_rc1
Bump to v5.6.0-RC1
2025-07-25 18:49:55 +00:00
a3a6d9cc33 Bump to v5.6.0-rc1
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.6.0-rc1
2025-07-25 09:13:38 -04:00
4414b2478e Merge pull request #26688 from mheon/release_notes_560_rc1
Add release notes for Podman v5.6.0-rc1
2025-07-25 13:09:39 +00:00
e22fc65217 Add release notes for Podman v5.6.0-rc1
Signed-off-by: Matt Heon <mheon@redhat.com>
2025-07-25 08:20:42 -04:00
eabb64ddaf Merge pull request #26666 from TomSweeneyRedHat/dev/tsweeney/buildah_v1.41.0
Bump Buildah to v1.41.0
2025-07-24 12:24:28 +00:00
12b7a334ae Merge pull request #26628 from 2004joshua/build_context
Feat: send additional build contexts as tar files for remote builds
2025-07-24 11:04:32 +00:00
f3e3aace95 Temp fix for #26680
Comment out the problematic "podman diff container and image with same name" test
in test/e2e/diff_test.go.  This became a problem with Buildah v1.41 and
if possible, should be addressed by Podman v5.6 final.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-07-23 20:51:55 -04:00
6aa70f07c2 Update "podman diff container and image with same name" e2e test
Update the "podman diff container and image with same name" e2e test to
not expect a built image to include /etc, since newer buildah won't
include an item in a layer if it was only created in a rootfs in order
to have something mounted onto it while processing a RUN instruction.
A few exceptions are still made for the sake of conformance tests.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:57:48 -04:00
e6f812c21e API server: drop inherit-labels/annotations for compat builds
Drop the inheritlabels and inheritannotations flags in the description
for the compat build endpoint, because the docker engine's build
endpoint doesn't recognize them.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:57:06 -04:00
7bc9691045 buildah-bud tests: handle "-t oci:" and such, skip a new --output
Teach our patched version of run_buildah() to notice when a build tries
to write the output image to an oci:/oci-archive:/docker-archive:/dir:
location, and for those cases, adjust the command to commit the image to
local storage and then copy it to the desired location.

It's a hack on top of a hack.  I don't love it, but here we are.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:56:08 -04:00
ac99084d03 API handler: don't force the SkipUnusedStages flag
Don't force the SkipUnusedStages option one way or another when the
client doesn't specifically request one or the other, so that the server
can choose to use its default behavior.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:55:47 -04:00
55f4d2aa25 API handler: don't force the CompatVolumes flag
Don't force the CompatVolumes option one way or another when the client
doesn't specifically request one or the other, so that the server can
choose to use its default behavior.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:55:16 -04:00
db2baee9fa API handler: don't force the IdentityLabel flag
Don't force the IdentityLabel option one way or another when the client
doesn't specifically request one or the other, so that the server can
choose to use its default behavior.

Fixes #26669

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:54:47 -04:00
3e673591ad Update compat-volumes setting for remotes
The "compat-volumes" setting shouldn't be provided by the compat build
endpoint, the docker daemon's isn't expected to recognize it.

It is also a conditional boolean flag, so if it isn't specified by the
caller, don't send a value from a client to the server, so that the
server will be able to apply its own default.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:54:28 -04:00
bf79a9b71e Update inherit-labels setting for remotes
The inherit-labels setting is a conditional boolean flag, so if it isn't
specified either way by the caller, don't send a value from a client to
the server, so that the server will be able to apply its own default.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:54:08 -04:00
bfe6cbe319 pkg/emulation.parseBinfmtMisc(): accept empty "flags" fields
When parsing an entry in /proc/sys/fs/binfmt_misc, don't return an error
if we find an empty "flags" field in the file.  Wine packaged for Fedora
provides a binfmt.d file that results in such a file, so... it's normal.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:53:39 -04:00
a615dde1a5 build endpoint: document the "timestamp" flag
The "timestamp" flag has been around for ages, but we never documented
it in the API.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:53:07 -04:00
7517e3267a remote build: relay more new flags introduced in buildah 1.41
Wire up the source-date-epoch, rewrite-timestamp, and created-annotation
flags so that a client can correctly ask a server to honor them.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2025-07-23 15:52:43 -04:00
73f3e98947 Feat: send additional build contexts for remote builds
Fixed the --build-context flag to properly send files for remote builds. Previously
only the main context was sent over as a tar while additional contexts were passed as
local paths and this would cause builds to fail since the files wouldn't exist.

New changes modifies the Build API to use multipart HTTP requests allowing multiple
build contexts to be used. Each additional context is packaged and
transferred based on its type:
- Local Directories: Sent as tar archives
- Git Repositories: link sent to the server where its then cloned
- Container Images: Image reference sent to the server, it then pulls the image there
- URLs/archives: URL sent to the server, which handles the download

Fixes: #23433

Signed-off-by: Joshua Arrevillaga <2004jarrevillaga@gmail.com>
2025-07-23 11:34:38 -04:00
97103ffef5 Add Buildah build's passwd test helper
Add the passwd test helper used by Buildah's build
test system.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-07-23 10:36:22 -04:00
2f71314b4a Add CLI updates for inherit and unset annotations
Add CLI updates for --inheritannotations and --unsetannotations

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2025-07-23 10:36:22 -04:00