Commit Graph

2956 Commits

Author SHA1 Message Date
OpenShift Merge Robot abeadc4063 Merge pull request #1670 from TomSweeneyRedHat/dev/tsweeney/cccontact
Add list members emails to the CoC
2023-09-28 14:40:37 -04:00
TomSweeneyRedHat f78437ad72 Add list members emails to the CoC
Add a list of the members in the mailing list
on podman.io.  I will also add a note in the desription
of that list to modify this page when changes are made
there.

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
2023-09-28 14:25:17 -04:00
OpenShift Merge Robot 0f97b7cb75 Merge pull request #1666 from flouthoc/manifest-retry
libimage: implement `retry` logic for  `manifest push`
2023-09-28 13:59:25 -04:00
Aditya R 72c6636175 libimage: add retry options for manifest push
manifest push API must implement and leverage `retry` logic similar to
`image push` with similar defaults.

Closes: https://github.com/containers/common/issues/1664

Signed-off-by: Aditya R <arajan@redhat.com>
2023-09-28 22:26:38 +05:30
OpenShift Merge Robot 1bfd78908a Merge pull request #1674 from containers/renovate/github.com-onsi-gomega-1.x
Update module github.com/onsi/gomega to v1.28.0
2023-09-28 09:44:42 -04:00
renovate[bot] 7bb8d8eb12 Update module github.com/onsi/gomega to v1.28.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-28 13:26:20 +00:00
OpenShift Merge Robot e54032bc3a Merge pull request #1673 from MrSuicideParrot/vrf-netavark
Add support for vrf option on netavark
2023-09-28 05:38:53 -04:00
André Cirne 5f5ea095f6 Add support for vrf option on netavark
Signed-off-by: André Cirne <dumahk21@gmail.com>
2023-09-28 09:13:44 +01:00
OpenShift Merge Robot 7601c3fc00 Merge pull request #1671 from flouthoc/run_manifest_test
Makefile, libimage: `test-unit` must cover `libimage/manifests_test.go`
2023-09-28 03:32:15 -04:00
Aditya R d48687f258 Makefile: run libimage tests recursively
Manifests tests were not running at all in upstream CI, following PR
fixes that.

Signed-off-by: Aditya R <arajan@redhat.com>
2023-09-28 12:04:30 +05:30
Aditya R 8282fed5ba manifests_test: fix tests for compression formats
Signed-off-by: Aditya R <arajan@redhat.com>
2023-09-28 12:03:48 +05:30
OpenShift Merge Robot 4c0771759b Merge pull request #1668 from Luap99/cni-race
libnetwork/cni: ignore ENOENT while reading networks
2023-09-27 13:43:06 -04:00
OpenShift Merge Robot 07664b1b3d Merge pull request #1669 from Luap99/coc-mail
CoC: fix email link
2023-09-27 12:00:35 -04:00
Paul Holzinger 738724aa3b CoC: fix email link
This is not a web address so we should not link it as such. Putting it
in greater equal or smaller equal signs will correctly make it a mailto
link so the local mail client will open correctly.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-09-27 17:01:40 +02:00
Paul Holzinger 80f1e50c0c libnetwork/cni: ignore ENOENT while reading networks
At this point we already read the config file but here we have to get
timestamp here so we can hit another ENOENT if it was removed in the
meantime. Just ignore this and do not log an error as this is normal
behavior when another process is deleting a network in parallel.

Fixes containers/podman#20173

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-09-27 15:51:46 +02:00
OpenShift Merge Robot a280bbde45 Merge pull request #1665 from testwill/pkg-import
chore: import packages only once
2023-09-27 04:00:07 -04:00
guoguangwu 97991b9967 chore: import packages only once
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-09-27 15:02:02 +08:00
OpenShift Merge Robot 1b40528313 Merge pull request #1661 from jakecorrenti/match-negated-label
Implement negated label match function
2023-09-25 12:41:39 -04:00
OpenShift Merge Robot 9fd112d7ef Merge pull request #1660 from vrothberg/fix-podman-19938
pkg/config: do NOT set StaticDir and VolumeDir
2023-09-22 06:41:22 -04:00
OpenShift Merge Robot fa6d387fd4 Merge pull request #1659 from ashley-cui/cpus
Default machine CPUs to Cores/2
2023-09-21 11:42:19 -02:30
Jake Correnti 348e7230b4 Implement negated label match function
Adds a proper way to match on negated label filters (label!).
(label!) filters. The current logic used is to do !MatchLabelFilter()
but this results in chained negated labels being ORed together instead of ANDed.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2023-09-21 09:59:45 -04:00
Valentin Rothberg 7cad0ac3a8 pkg/config: do NOT set StaticDir and VolumeDir
Let callers (i.e., Podman) decide which defaults to chose.  This way,
callers know when to override defaults (i.e., when the values are
empty).

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-09-21 11:27:13 +02:00
Valentin Rothberg ab4a3cc433 pkg/config: remove *DirSet fields
They are not correctly and inconcistently being used by Podman making it
super hard to know what's going on.  Just remove them for now and deal
with the remaining chaos in subsequent changes in common and Podman.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-09-21 11:27:13 +02:00
Ashley Cui 14bd78db61 Default machine CPUs to Cores/2
1 CPU core typically is not enough for most use cases, so we default to available cores/2 for new machines.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-09-20 15:10:16 -04:00
OpenShift Merge Robot 3f8ef60574 Merge pull request #1640 from cgiradkar/Issue-15588
Remove ActiveDestination method to move into podman
2023-09-20 16:46:21 +02:00
Chetan Giradkar 819434a2ea Remove ActiveDestination method to move into podman
The method ActiveDestination was being used only by Podman and there seemed to code complications as the code is split in multiple parts. Hence, moved the code to Podman to make it more readable and efficient.

Signed-off-by: Chetan Giradkar <cgiradka@redhat.com>
2023-09-20 13:29:52 +01:00
OpenShift Merge Robot 0b6838f4d2 Merge pull request #1657 from rhatdan/run
Split up util package into pkg/password, pkg/copy, pkg/version
2023-09-20 13:07:29 +02:00
OpenShift Merge Robot bbeb601780 Merge pull request #1658 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.12.1
2023-09-20 09:34:34 +02:00
renovate[bot] c0c817b9dc fix(deps): update module github.com/onsi/ginkgo/v2 to v2.12.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 21:32:24 +00:00
Daniel J Walsh 914d952b30 Split up util package into pkg/password, pkg/detach, pkg/version
Fixes: https://github.com/containers/common/issues/1654

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-19 16:02:16 -04:00
OpenShift Merge Robot 46b2432c7e Merge pull request #1651 from flouthoc/ignore-manifest
libimage/layer_tree: if parent is empty and a manifest list then ignore check.
2023-09-19 09:34:49 +02:00
OpenShift Merge Robot 6c171c1e14 Merge pull request #1656 from rhatdan/run
Fix specification of unix:///run
2023-09-18 15:23:12 +02:00
Aditya R e08e68ee29 libimage/layer_tree: if parent is empty and manifest list ignore
Layer tree expectes to form a relation between child and parent
instances, however it expects an instance from manifest list which is
empty, following expectation is not possible and will always resuilt in
error.

Closes: https://github.com/containers/podman/issues/19860

[NO NEW TESTS NEEDED]
Image without layer cant be built in libimage, and `podman save`
automatically malforms such image so no such external image can be
loaded.

Signed-off-by: Aditya R <arajan@redhat.com>
2023-09-18 14:30:42 +05:30
Daniel J Walsh 744d68db46 Fix specification of unix:///run
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-17 07:40:14 -04:00
OpenShift Merge Robot 99c81a0857 Merge pull request #1655 from containers/renovate/github.com-opencontainers-image-spec-1.x
fix(deps): update module github.com/opencontainers/image-spec to v1.1.0-rc5
2023-09-15 01:08:51 +02:00
renovate[bot] f0a9849a0b fix(deps): update module github.com/opencontainers/image-spec to v1.1.0-rc5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 20:35:56 +00:00
OpenShift Merge Robot d622f07961 Merge pull request #1653 from c3d/main
Fix typo in comment
2023-09-14 15:10:47 +02:00
Christophe de Dinechin d4e262dc59 Fix typo in comment
Replacing 'eturns' with 'returns'

Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
2023-09-14 11:40:32 +02:00
Daniel J Walsh 670ebaa360 Merge pull request #1652 from rhatdan/VENDOR
Bump to v0.56.0
2023-09-13 20:42:50 -04:00
Daniel J Walsh da6bccedb8 Move to v0.56.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-13 19:51:23 -04:00
Daniel J Walsh ef0775f72d Bump to v0.56.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-13 19:51:07 -04:00
OpenShift Merge Robot 9041af7e14 Merge pull request #1648 from rhatdan/VENDOR
vendor in containers/(storage,image)
2023-09-13 09:52:44 +02:00
Daniel J Walsh 144ec4ddae vendor in containers/(storage,image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-12 20:34:14 -04:00
Daniel J Walsh 36df70d288 Merge pull request #1647 from containers/renovate/github.com-containerd-containerd-1.x
fix(deps): update module github.com/containerd/containerd to v1.7.6
2023-09-12 20:10:54 -04:00
renovate[bot] b5a3486320 fix(deps): update module github.com/containerd/containerd to v1.7.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-12 19:45:02 +00:00
OpenShift Merge Robot d279b64cd9 Merge pull request #1646 from Luap99/libimage-filter
libimage: split out search filters
2023-09-12 14:53:09 +02:00
OpenShift Merge Robot dcbb9ec3ea Merge pull request #1643 from giuseppe/fix-cgroupv1-usage-memory-stat
cgroups: fix memory usage on cgroup v1
2023-09-12 14:03:29 +02:00
Paul Holzinger 8bb073c089 libimage: split out search filters
This allows podman to import them on the remote client without needing
the full libimage.

Based on Miloslav's work: https://github.com/containers/podman/pull/19718

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-09-12 13:54:20 +02:00
OpenShift Merge Robot d69ad28fa1 Merge pull request #1644 from rhatdan/VENDOR
Bump vendor of containers/(storage, image)
2023-09-12 09:34:22 +02:00
Daniel J Walsh 5625e264cf Bump vendor of containers/(storage, image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-09-11 13:36:51 -04:00