Miloslav Trmač
b3feda84bc
Update to c/image 5.22.1
...
> go get github.com/containers/image/v5@v5.22.1
> make vendor
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-10-19 18:58:18 +02:00
Matthew Heon
dce3d6ee9d
Add support for containers.conf volume timeouts
...
Also, do a general cleanup of all the timeout code. Changes
include:
- Convert from int to *uint where possible. Timeouts cannot be
negative, hence the uint change; and a timeout of 0 is valid,
so we need a new way to detect that the user set a timeout
(hence, pointer).
- Change name in the database to avoid conflicts between new data
type and old one. This will cause timeouts set with 4.2.0 to be
lost, but considering nobody is using the feature at present
(and the lack of validation means we could have invalid,
negative timeouts in the DB) this feels safe.
- Ensure volume plugin timeouts can only be used with volumes
created using a plugin. Timeouts on the local driver are
nonsensical.
- Remove the existing test, as it did not use a volume plugin.
Write a new test that does.
The actual plumbing of the containers.conf timeout in is one line
in volume_api.go; the remainder are the above-described cleanups.
Backported to v4.2.0-rhel per RHBZ 2125241
Signed-off-by: Matthew Heon <mheon@redhat.com>
2022-10-06 15:07:10 -04:00
Aditya R
49125dccb5
vendor: bump buildah to v1.27.1
...
Podman build: Add container GID to additional groups
[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Signed-off-by: Aditya R <arajan@redhat.com>
2022-09-09 16:47:10 +05:30
dependabot[bot]
7e79511454
Bump google.golang.org/protobuf from 1.28.0 to 1.28.1
...
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go ) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash )
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.0...v1.28.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 16:46:05 -04:00
Aditya R
a382bd329e
vendor: bump buildah to v1.27.0
...
Bump buildah to v1.27.0
[NO NEW TESTS NEEDED]
Signed-off-by: Aditya R <arajan@redhat.com>
2022-08-10 16:46:04 -04:00
Miloslav Trmač
eacee60c83
Update c/common to an unreleased version
...
... to get https://github.com/containers/common/pull/1106 .
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-08-02 16:52:56 +02:00
Valentin Rothberg
dc1dc46006
podman-remote pull: fix duplicate progress outputs
...
By vendoring the fixes from containers/image. Also add a test (thanks
@edsantiago) to make sure we won't regress in the future again.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-07-26 13:51:56 -04:00
Aditya R
7b28a1b7cc
vendor: remove unused deps
...
Some deps cleaned by `make vendor`
[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Signed-off-by: Aditya R <arajan@redhat.com>
2022-07-26 13:48:50 -04:00
Daniel J Walsh
76fa804472
Vendor in latests containers/storage and opencontainers/runtime-tools
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-07-26 13:35:01 -04:00
Daniel J Walsh
9c1de040b3
Vendor in containers/(storage,image, common, buildah)
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-07-26 13:34:38 -04:00
Sascha Grunert
a78be890ee
Switch to github.com/blang/semver/v4
...
Switch to the latest version of the now go module compatible release.
[NO NEW TESTS NEEDED]
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-26 13:22:46 -04:00
Sascha Grunert
a46f798831
pkg: switch to golang native error wrapping
...
We now use the golang error wrapping format specifier `%w` instead of
the deprecated github.com/pkg/errors package.
[NO NEW TESTS NEEDED]
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-08 08:54:47 +02:00
Paul Holzinger
cc6faddfaa
use c/common code for resize and CopyDetachable
...
Since conmon-rs also uses this code we moved it to c/common. Now podman
should has this also to prevent duplication.
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-07-06 16:57:07 +02:00
Charlie Doern
b92149e2a8
podman pod create --memory
...
using the new resource backend, implement podman pod create --memory which enables
users to modify memory.max inside of the parent cgroup (the pod), implicitly impacting all
children unless overriden
Signed-off-by: Charlie Doern <cdoern@redhat.com>
2022-07-01 13:44:32 -04:00
dependabot[bot]
6904b1a610
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 12:09:48 +00:00
Valentin Rothberg
2ee9fe4cbd
vendor containers/common
...
Pull in fixes for platform checks to silence annoying warnings when
pulling images by platforms using uname values.
Fixes : #14669
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-06-28 17:12:56 +02:00
Giuseppe Scrivano
28e2a604b4
vendor: update containers/common
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-06-27 20:22:20 +02:00
openshift-ci[bot]
088665d2cf
Merge pull request #14654 from cdoern/cgroup
...
podman cgroup enhancement
2022-06-27 15:14:20 +00:00
cdoern
2792e598c7
podman cgroup enhancement
...
currently, setting any sort of resource limit in a pod does nothing. With the newly refactored creation process in c/common, podman ca now set resources at a pod level
meaning that resource related flags can now be exposed to podman pod create.
cgroupfs and systemd are both supported with varying completion. cgroupfs is a much simpler process and one that is virtually complete for all resource types, the flags now just need to be added. systemd on the other hand
has to be handeled via the dbus api meaning that the limits need to be passed as recognized properties to systemd. The properties added so far are the ones that podman pod create supports as well as `cpuset-mems` as this will
be the next flag I work on.
Signed-off-by: Charlie Doern <cdoern@redhat.com>
2022-06-24 15:39:15 -04:00
dependabot[bot]
041947b11a
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 12:09:16 +00:00
openshift-ci[bot]
8d17251f8a
Merge pull request #14642 from rhatdan/VENDOR
...
Update to use gopkg.in/yaml.v3
2022-06-21 19:23:48 +00:00
Paul Holzinger
050693b2e7
bump github.com/spf13/cobra from 1.4.0 to 1.5.0
...
Update cobra to latest version. Remove workaround for podman -h.
Also regenerate the completion scripts.
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-06-21 17:17:06 +02:00
dependabot[bot]
cfba09f682
Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 12:10:35 +00:00
Daniel J Walsh
948866e8a0
Update to use gopkg.in/yaml.v3
...
[NO NEW TESTS NEEDED]
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-06-17 11:03:08 -04:00
Daniel J Walsh
8090445762
vendor in latests containers/image
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-06-17 06:10:24 -04:00
Daniel J Walsh
3af047b63d
Vendor in latest containers/storage
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-06-16 14:05:43 -04:00
Daniel J Walsh
5e9d20448c
Update vendor of containers/buildah
...
Changes since 2022-05-31:
- add --omit-history option (buildah PR 4028)
Signed-off-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-06-13 17:54:17 -04:00
Valentin Rothberg
46c8da7d9a
vendor buildah@main
...
Note that the bud-logfile-with-split-logfile-by-platform test is skipped
on the remote client (see #14544 ).
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-06-10 09:42:19 +02:00
dependabot[bot]
7e97675025
Bump github.com/opencontainers/runc from 1.1.2 to 1.1.3
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.3/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.2...v1.1.3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 12:15:39 +00:00
OpenShift Merge Robot
b4c981893d
Merge pull request #14220 from Luap99/resolvconf
...
use resolvconf package from c/common/libnetwork
2022-06-07 18:00:34 -04:00
Paul Holzinger
ddf1d2cb38
update c/common to latest
...
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-06-07 15:13:55 +02:00
dependabot[bot]
0f424e90d5
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.16+incompatible to 20.10.17+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.16...v20.10.17 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 12:11:29 +00:00
dependabot[bot]
5c508cb4ef
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 12:09:32 +00:00
dependabot[bot]
6dffa453a4
Bump github.com/containernetworking/cni from 1.1.0 to 1.1.1
...
Bumps [github.com/containernetworking/cni](https://github.com/containernetworking/cni ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/containernetworking/cni/releases )
- [Commits](https://github.com/containernetworking/cni/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/containernetworking/cni
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 12:09:57 +00:00
Lokesh Mandvekar
cef044d859
Bump gopkg.in/yaml.v3 to v3.0.1
...
v3.0.1 resolves GHSA-hp87-p4gw-j4gq - CVE-2022-28948.
While podman doesn't appear to be vulnerable to the CVE as the concerned
code isn't being called, this update should silence a dependabot alert.
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-05-31 13:01:50 -04:00
Aditya R
66a56ce05a
vendor: bump buildah to v1.26.1-0.20220524184833-5500333c2e06
...
Bump buildah to v1.26.1-0.20220524184833-5500333c2e06
Signed-off-by: Aditya R <arajan@redhat.com>
2022-05-26 21:01:31 +05:30
Daniel J Walsh
819e5bcb94
Merge pull request #14342 from containers/dependabot/go_modules/github.com/vbauerster/mpb/v7-7.4.2
...
build(deps): bump github.com/vbauerster/mpb/v7 from 7.4.1 to 7.4.2
2022-05-25 13:06:21 -04:00
Valentin Rothberg
d924c46dae
autocomplete podman search --filter
...
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-05-24 16:07:38 +02:00
dependabot[bot]
f98a7d1405
build(deps): bump github.com/vbauerster/mpb/v7 from 7.4.1 to 7.4.2
...
Bumps [github.com/vbauerster/mpb/v7](https://github.com/vbauerster/mpb ) from 7.4.1 to 7.4.2.
- [Release notes](https://github.com/vbauerster/mpb/releases )
- [Commits](https://github.com/vbauerster/mpb/compare/v7.4.1...v7.4.2 )
---
updated-dependencies:
- dependency-name: github.com/vbauerster/mpb/v7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 12:11:43 +00:00
Miloslav Trmač
fb219a8097
Update c/image
...
... to bring in github.com/proglottis/gpgme 0.1.2 , and test
its new use of pkg-config to find gpgme.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2022-05-19 22:24:49 +02:00
dependabot[bot]
25f80941a0
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.15+incompatible to 20.10.16+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.15...v20.10.16 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 12:09:31 +00:00
Daniel J Walsh
2b03a1088a
Vendor in latest containers/common
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-05-12 17:36:44 -04:00
Daniel J Walsh
8631485051
Merge pull request #14217 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.1.2
...
build(deps): bump github.com/opencontainers/runc from 1.1.1 to 1.1.2
2022-05-12 13:36:39 -04:00
Daniel J Walsh
81fc9f1dea
Merge pull request #14159 from vrothberg/service-container
...
play kube: service container
2022-05-12 13:35:56 -04:00
dependabot[bot]
1094d7553f
build(deps): bump github.com/opencontainers/runc from 1.1.1 to 1.1.2
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.2/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 12:13:04 +00:00
Valentin Rothberg
ecf0177a01
vendor c/common@main
...
In hope to fix a CI flake.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-05-12 10:51:13 +02:00
Giuseppe Scrivano
16e22dbbe3
vendor: update c/storage and c/image
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-05-12 03:47:42 +02:00
dependabot[bot]
2a401b3ff9
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.14+incompatible to 20.10.15+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.14...v20.10.15 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 12:08:26 +00:00
Daniel J Walsh
ed159f864d
Vendor in containers/buildah@v1.26.1
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-05-05 04:41:06 -04:00
dependabot[bot]
36c5e6e0c4
Bump github.com/containers/storage from 1.40.0 to 1.40.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.40.0 to 1.40.2.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.40.0...v1.40.2 )
---
updated-dependencies:
- dependency-name: github.com/containers/storage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 12:10:05 +00:00