Commit Graph

2297 Commits

Author SHA1 Message Date
Valentin Rothberg 0519b0b94a Revert "libimage: pull: do not enforce pull if local image matches"
This reverts commit 5fbcfb4f68 as it
caused a nasty flake on Buildah [1]

[1] https://github.com/containers/buildah/pull/4527

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-01-18 15:08:53 +01:00
OpenShift Merge Robot 3c00ca1c3a Merge pull request #1288 from mtrmac/sign-by-sigstore
`--sign-by-sigstore` infrastructure
2023-01-17 16:10:43 -05:00
OpenShift Merge Robot 772a4df242 Merge pull request #1293 from containers/dependabot/go_modules/github.com/containernetworking/plugins-1.2.0
build(deps): bump github.com/containernetworking/plugins from 1.1.1 to 1.2.0
2023-01-17 10:43:27 -05:00
OpenShift Merge Robot 312c80f14a Merge pull request #1294 from Luap99/mkdir-netdir
libnetwork/cni: mkdir network config dir
2023-01-17 10:37:56 -05:00
Paul Holzinger 4add344e52 libnetwork/cni: mkdir network config dir
Commit 2fae6d9fd6 caused a regression, previously the lockfile
package create the config directory. Now this is no longer the case
so we have to create it explicitly.

Note that netavark already did this so no change is needed there.

This was reported by the RHEL QE team.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-01-17 14:56:47 +01:00
Miloslav Trmač 3b84e9ab74 Add {CopyOptions,manifest.PushOptions}.Signers
This allows using Fulcio and Rekor, without having to pass around 9 options;
and the interactivity required for OIDC authentication is handled by the caller
at some higher level (possibly only once for multiple operations).

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-01-17 14:20:15 +01:00
dependabot[bot] e03513fa90 build(deps): bump github.com/containernetworking/plugins
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/containernetworking/plugins/releases)
- [Commits](https://github.com/containernetworking/plugins/compare/v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/containernetworking/plugins
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 04:04:19 +00:00
OpenShift Merge Robot d2d70c1410 Merge pull request #1291 from rhatdan/VENDOR
Vendor in latest containers/(storage,image,ocicrypt)
2023-01-16 09:20:28 -05:00
Daniel J Walsh 17e1cd1412 Vendor in latest containers/(storage,image,ocicrypt)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-16 07:32:45 -05:00
OpenShift Merge Robot 2b1aa61380 Merge pull request #1286 from rhatdan/regexp
Compile regex on demand not in init
2023-01-12 20:02:42 -05:00
Daniel J Walsh b9ee165a91 Compile regex on demand not in init
Should speed up app startup time a little since the compile
happens for all users of the library. Compile only on use.

[NO NEW TESTS NEEDED]

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-12 16:03:02 -05:00
Daniel J Walsh 86a036c3d9 Vendor in latest containers/storage
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-12 16:03:02 -05:00
OpenShift Merge Robot 6aed8a1df6 Merge pull request #1287 from vrothberg/fix-podman/issues/17063
libimage: pull: do not enforce pull if local image matches
2023-01-12 10:58:53 -05:00
Valentin Rothberg 5fbcfb4f68 libimage: pull: do not enforce pull if local image matches
I verified that the test fails without the code changes.

Fixes: podman/issues/17063
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2023-01-11 14:55:02 +01:00
OpenShift Merge Robot 57c195161f Merge pull request #1285 from containers/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.7.0
build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.1 to 2.7.0
2023-01-10 15:21:36 -05:00
dependabot[bot] a5bc34d2e4 build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.1 to 2.7.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 04:02:52 +00:00
Daniel J Walsh 813dc7ddad Merge pull request #1284 from containers/dependabot/go_modules/github.com/containerd/containerd-1.6.15
build(deps): bump github.com/containerd/containerd from 1.6.14 to 1.6.15
2023-01-06 08:38:51 -05:00
dependabot[bot] 443f22dfdc build(deps): bump github.com/containerd/containerd from 1.6.14 to 1.6.15
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.14 to 1.6.15.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.14...v1.6.15)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 04:03:34 +00:00
OpenShift Merge Robot e7c9889895 Merge pull request #1283 from Luap99/net-lock
libnetwork: change lock path to tmpfs for root
2023-01-05 13:46:34 -05:00
Paul Holzinger 2fae6d9fd6 libnetwork: change lock path to tmpfs for root
The default /etc/containers/networks location might not be writeable,
while this breaks podman network create it does not need to break all
podman commands since the lock is created on libpod initialization.

ref https://github.com/containers/common/pull/1270

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-01-05 16:46:42 +01:00
OpenShift Merge Robot 480dfbe653 Merge pull request #1279 from rhatdan/digest
Allow users to filter by digest
2023-01-05 10:28:32 -05:00
Daniel J Walsh 75bf2631d3 Allow users to filter by digest
Fixes: https://github.com/containers/podman/issues/16255

Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-05 06:36:32 -05:00
Daniel J Walsh 83a6b857c0 Bump version of containers/storage
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-05 06:36:27 -05:00
OpenShift Merge Robot 6ebae2a073 Merge pull request #1282 from containers/dependabot/go_modules/golang.org/x/crypto-0.5.0
build(deps): bump golang.org/x/crypto from 0.4.0 to 0.5.0
2023-01-05 06:11:50 -05:00
dependabot[bot] 5582f50980 build(deps): bump golang.org/x/crypto from 0.4.0 to 0.5.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 10:53:47 +00:00
OpenShift Merge Robot bf2231c4d3 Merge pull request #1280 from containers/dependabot/go_modules/golang.org/x/term-0.4.0
build(deps): bump golang.org/x/term from 0.3.0 to 0.4.0
2023-01-05 05:52:28 -05:00
dependabot[bot] b002791fde build(deps): bump golang.org/x/term from 0.3.0 to 0.4.0
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/term/releases)
- [Commits](https://github.com/golang/term/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 04:04:41 +00:00
OpenShift Merge Robot 90a23128ff Merge pull request #1274 from containers/dependabot/go_modules/github.com/containerd/containerd-1.6.14
build(deps): bump github.com/containerd/containerd from 1.6.13 to 1.6.14
2022-12-22 15:35:33 -05:00
dependabot[bot] d75090eb56 build(deps): bump github.com/containerd/containerd from 1.6.13 to 1.6.14
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.13 to 1.6.14.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.13...v1.6.14)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 04:04:49 +00:00
OpenShift Merge Robot 3737fe3d10 Merge pull request #1273 from containers/dependabot/go_modules/github.com/docker/docker-20.10.22incompatible
build(deps): bump github.com/docker/docker from 20.10.21+incompatible to 20.10.22+incompatible
2022-12-19 13:18:26 -05:00
dependabot[bot] a0e6eea574 build(deps): bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.21+incompatible to 20.10.22+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v20.10.21...v20.10.22)

---
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-12-19 04:05:06 +00:00
OpenShift Merge Robot 6ebee897d2 Merge pull request #1271 from containers/dependabot/go_modules/github.com/containerd/containerd-1.6.13
build(deps): bump github.com/containerd/containerd from 1.6.12 to 1.6.13
2022-12-16 07:00:44 -05:00
dependabot[bot] 1a0c510a98 build(deps): bump github.com/containerd/containerd from 1.6.12 to 1.6.13
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.12 to 1.6.13.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.12...v1.6.13)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-16 04:03:29 +00:00
OpenShift Merge Robot 8b78adb3e7 Merge pull request #1269 from containers/dependabot/go_modules/github.com/onsi/gomega-1.24.2
build(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2
2022-12-15 10:20:04 -05:00
dependabot[bot] 0037ec6d2e build(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.24.1...v1.24.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 10:27:11 +00:00
OpenShift Merge Robot 09cd254064 Merge pull request #1268 from containers/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.6.1
build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1
2022-12-15 05:26:15 -05:00
dependabot[bot] 0a606c68e7 build(deps): bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.6.1
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 04:02:43 +00:00
OpenShift Merge Robot fdd51bbec5 Merge pull request #1267 from containers/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.6.0
build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0
2022-12-12 15:03:14 -05:00
dependabot[bot] 1585243248 build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.1 to 2.6.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 08:27:34 +00:00
OpenShift Merge Robot eccc970e86 Merge pull request #1263 from rhatdan/VENDOR
Update vendor or containers/(image, storage)
2022-12-12 03:25:42 -05:00
OpenShift Merge Robot fa8a3090d3 Merge pull request #1265 from ashley-cui/machvol
Add to default machine volumes for MacOS
2022-12-12 03:20:30 -05:00
Ashley Cui c92b4705d1 Add to default machine volumes for MacOS
On MacOS, mount /Users, /private/, /var/folders by default for better docker compat. The homedir on MacOS is /Users/<username>, so that will be mounted automatically anyway with this change.

Docker also mounts /Volumes and /tmp, /Volumes fails with a Too many levels of symbolic links, as Volumes on Mac is just a symlink to / which seems like a bad idea to mount anyway.
/tmp fails because the Podman machine uses the tmp directory inside the machine and writes content to it on boot, causing the mount to fail. However, on Mac, /tmp is symlinked to /private/tmp anyway, so those files are accessible from there.

Signed-off-by: Ashley Cui <acui@redhat.com>
2022-12-09 15:36:20 -05:00
Daniel J Walsh 420a5bd93b Update vendor or containers/(image, storage)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-12-09 11:13:25 -05:00
OpenShift Merge Robot df2212a903 Merge pull request #1258 from Luap99/netns
pkg/netns: UnmountNS() accept netns path as string
2022-12-09 03:56:36 -05:00
OpenShift Merge Robot a6d9913bc2 Merge pull request #1262 from containers/dependabot/go_modules/golang.org/x/crypto-0.4.0
build(deps): bump golang.org/x/crypto from 0.3.0 to 0.4.0
2022-12-09 03:54:00 -05:00
OpenShift Merge Robot 6a15b0489f Merge pull request #1260 from cblecker/godoc-headers
Add godoc headers for report package
2022-12-09 03:51:25 -05:00
OpenShift Merge Robot 672dd1a5b5 Merge pull request #1261 from containers/dependabot/go_modules/github.com/containerd/containerd-1.6.12
build(deps): bump github.com/containerd/containerd from 1.6.10 to 1.6.12
2022-12-09 03:48:50 -05:00
dependabot[bot] b0befd4cec build(deps): bump golang.org/x/crypto from 0.3.0 to 0.4.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 04:03:18 +00:00
dependabot[bot] fd058f410c build(deps): bump github.com/containerd/containerd from 1.6.10 to 1.6.12
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.10 to 1.6.12.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.10...v1.6.12)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 23:39:30 +00:00
Christoph Blecker 101e8f6f99 Add godoc headers for report package
Signed-off-by: Christoph Blecker <cblecker@redhat.com>
2022-12-07 13:21:17 -08:00