dependabot[bot]
738a3e241e
build(deps): bump golang.org/x/term from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.1.0...v0.2.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>
2022-11-08 08:21:56 +00:00
dependabot[bot]
43fa6858f8
build(deps): bump golang.org/x/sys from 0.1.0 to 0.2.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 04:08:29 +00:00
OpenShift Merge Robot
a0b2fb842d
Merge pull request #1216 from rhatdan/docs
...
create known_hosts file path when missing
2022-11-04 11:49:39 -04:00
Daniel J Walsh
719ebba2ba
Update vendor of containers/(image, storage)
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-11-04 08:44:20 -04:00
Daniel J Walsh
488fb367e7
create known_hosts file path when missing
...
Fixes: https://github.com/containers/podman/issues/16340
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-11-04 08:30:42 -04:00
dependabot[bot]
0ad3f687d7
build(deps): bump github.com/onsi/gomega from 1.23.0 to 1.24.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.23.0 to 1.24.0.
- [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.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-04 04:07:26 +00:00
Valentin Rothberg
b836bfe388
libimage: format platform warning
...
Before:
`WARNING: image platform ({amd64 linux [] }) does not match the expected platform ({arm64 linux [] })`
After:
`WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)`
Fixes: containers/podman/issues/16392
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-11-03 09:45:11 +01:00
dependabot[bot]
371d9082c6
build(deps): bump github.com/onsi/gomega from 1.22.1 to 1.23.0
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.22.1 to 1.23.0.
- [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.22.1...v1.23.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 05:00:10 +00:00
OpenShift Merge Robot
d044c0041c
Merge pull request #1211 from containers/dependabot/go_modules/github.com/docker/docker-20.10.21incompatible
...
build(deps): bump github.com/docker/docker from 20.10.20+incompatible to 20.10.21+incompatible
2022-10-26 12:16:07 -04:00
Máirín Duffy
4c4d997f5e
feat: add logo for Podman Desktop
...
It's coming from https://github.com/containers/podman-desktop/discussions/638#discussioncomment-3962026
Change-Id: I4f15747ffb57bc0d2c33e9db7165c56b9f3645cd
Signed-off-by: Máirín Duffy <duffy@redhat.com>
2022-10-26 11:11:51 +02:00
dependabot[bot]
7453001886
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.20+incompatible to 20.10.21+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.20...v20.10.21 )
---
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-10-26 04:12:49 +00:00
Paul Holzinger
13a70914f3
libnetwork/netavark: disable dns for macvlan
...
This is not supported in netavark so we should set to false by default
to make sure podman inspect will show the correct info.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-10-25 16:14:19 +02:00
dependabot[bot]
f0d02266f4
build(deps): bump github.com/containerd/containerd from 1.6.8 to 1.6.9
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.8 to 1.6.9.
- [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.8...v1.6.9 )
---
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-10-25 13:36:39 +00:00
OpenShift Merge Robot
40e9edbfa6
Merge pull request #1207 from containers/dependabot/go_modules/github.com/spf13/cobra-1.6.1
...
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
2022-10-25 09:34:43 -04:00
OpenShift Merge Robot
ee8162ba9f
Merge pull request #1202 from unknowndevQwQ/patch-1
...
feat: add support for the youki OCI Runtime
2022-10-25 09:32:07 -04:00
dependabot[bot]
fb64f3581a
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 11:44:03 +00:00
Daniel J Walsh
61cf315b36
Update vendor containers/storage
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-10-24 09:25:59 -04:00
OpenShift Merge Robot
2777494caf
Merge pull request #1205 from containers/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.4.0
...
build(deps): bump github.com/onsi/ginkgo/v2 from 2.3.1 to 2.4.0
2022-10-24 07:08:10 -04:00
OpenShift Merge Robot
3667a27613
Merge pull request #1203 from containers/dependabot/go_modules/github.com/stretchr/testify-1.8.1
...
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
2022-10-24 07:05:35 -04:00
dependabot[bot]
db85fc5ea7
build(deps): bump github.com/onsi/ginkgo/v2 from 2.3.1 to 2.4.0
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.3.1 to 2.4.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.3.1...v2.4.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-10-24 04:15:46 +00:00
dependabot[bot]
80ac21e696
build(deps): bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1
...
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/BurntSushi/toml/releases )
- [Commits](https://github.com/BurntSushi/toml/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 04:15:35 +00:00
dependabot[bot]
0eaa6fb473
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
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-10-24 04:15:30 +00:00
unknowndevQwQ
5db50a2cb8
feat: add support for the youki OCI Runtime
2022-10-22 10:35:23 +08:00
OpenShift Merge Robot
ad61918527
Merge pull request #1198 from containers/dependabot/go_modules/github.com/docker/docker-20.10.20incompatible
...
build(deps): bump github.com/docker/docker from 20.10.19+incompatible to 20.10.20+incompatible
2022-10-19 15:38:43 -04:00
Doug Rabson
8d0af4f01e
config: Add config entry for ocijail
...
Another experimental OCI runtime for FreeBSD, similar to runj but with
a focus on podman/buildah compatiblity.
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-10-19 12:02:47 +01:00
dependabot[bot]
726748e131
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.19+incompatible to 20.10.20+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.19...v20.10.20 )
---
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-10-19 04:09:57 +00:00
Valentin Rothberg
bd7726f8d5
libimage: cache image size
...
Cache the result of (*Image).Size() in the image-local cache to speed up
subsequent calls.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-18 13:35:01 +02:00
Valentin Rothberg
3eab18a8b6
DiskUsage: return total images size
...
It turns out only counting the layers size is not sufficient for
`podman systemd df` as it excludes the size of the manifests, configs
and potentially attached meta data in the storage.
Instead, sum the image sizes but distract redundant layers. That indeed
gives the expected result and does not yield negative results for
reclaimable space.
Remove the unrelease LayersDiskUsage function again to avoid expensive
recalculation of the layer tree. We are still below 1.0, and I am
convinced the total image size belongs into DiskUsage.
NOTE: The DiskUsage function does not have test coverage in libimage.
This should be addressed at some point but in the interest of
time I leverage podman's system tests.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-18 11:16:05 +02:00
OpenShift Merge Robot
8d21bf2114
Merge pull request #1193 from vrothberg/bump-golangci
...
bump to golangci-lint v1.50.0
2022-10-17 10:23:28 -04:00
OpenShift Merge Robot
73f51e1bcd
Merge pull request #1192 from rhatdan/VENDOR
...
Update vendor containers/(image,storage)
2022-10-17 09:34:59 -04:00
OpenShift Merge Robot
d2a6c2d0bc
Merge pull request #1191 from vrothberg/fix-podman-16135
...
libimage: add LayersDiskUsage
2022-10-17 09:32:27 -04:00
Valentin Rothberg
e17483b871
bump to golangci-lint v1.50.0
...
Used `go fmt` rules to migrate away from deprecated functions, for
instance `gofmt -w -s -r 'ioutil.TempDir(a, b) -> os.MkdirTemp(a, b)'`
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-17 15:03:07 +02:00
Daniel J Walsh
d4feea1df2
Update vendor containers/(image,storage)
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-10-17 08:56:00 -04:00
Valentin Rothberg
68e0b1c550
libimage: add LayersDiskUsage
...
Add an API to query the sum of the layer sizes. This data is needed to
fix containers/podman/issues/16135.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-17 14:32:21 +02:00
Aditya R
2fb7b760ff
libnetwork: add DNSServers to NetworkOptions
...
Netavark now accets `dns_servers` for each container which allows
containers to use custom DNS servers as resolvers instead of falling
back to host's resolver.
Following field allows callers to libnetwork to pass newly added field
to `netavark` and `aarvark-dns`
Actual feature implemented
* https://github.com/containers/aardvark-dns/pull/240
* https://github.com/containers/netavark/pull/452
[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Signed-off-by: Aditya R <arajan@redhat.com>
2022-10-17 15:42:35 +05:30
Aditya R
b4f8ab1310
ci,codespell: ignore function ShouldNot
...
Codespell is getting angry on function name `ShouldNot` which should be
acceptable.
Ignore in-code function name
https://github.com/containers/common/blob/main/pkg/config/config_test.go#L537 and
unblock CI
[NO NEW TESTS NEEDED]
[NO TESTS NEEDED]
Signed-off-by: Aditya R <arajan@redhat.com>
2022-10-17 14:29:34 +05:30
Daniel J Walsh
fc1a4a31ee
Vendor in latest containers/(storage, image) and runtime-tools
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-10-14 09:58:29 -04:00
dependabot[bot]
f51c4b6aa4
build(deps): bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.18+incompatible to 20.10.19+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.18...v20.10.19 )
---
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-10-14 04:08:05 +00:00
Daniel J Walsh
d97e536ce8
Merge pull request #1185 from containers/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.3.1
...
build(deps): bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1
2022-10-13 05:20:36 -04:00
dependabot[bot]
cdd73c32f0
build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0
...
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify ) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases )
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.4...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 04:07:28 +00:00
dependabot[bot]
7c633b55ae
build(deps): bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.3.0 to 2.3.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.3.0...v2.3.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-10-13 04:07:23 +00:00
OpenShift Merge Robot
0514490935
Merge pull request #1182 from containers/dependabot/go_modules/github.com/onsi/gomega-1.22.1
...
build(deps): bump github.com/onsi/gomega from 1.21.1 to 1.22.1
2022-10-12 08:56:14 -04:00
dependabot[bot]
d45a21f7e1
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 04:10:01 +00:00
dependabot[bot]
537fbc33f3
build(deps): bump github.com/onsi/gomega from 1.21.1 to 1.22.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.21.1 to 1.22.1.
- [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.21.1...v1.22.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 04:09:53 +00:00
OpenShift Merge Robot
c7c9c51858
Merge pull request #1180 from containers/dependabot/go_modules/github.com/containers/ocicrypt-1.1.6
...
build(deps): bump github.com/containers/ocicrypt from 1.1.5 to 1.1.6
2022-10-10 19:21:28 +02:00
Mikhail Khachayants
95faf07a1a
Fix empty system context when copy image from oci-archive transport
...
Images runtime used the OCI archive transport with an empty system context,
so such environment variables from user like TMDDIR were ignored.
Signed-off-by: Mikhail Khachayants <tyler92@inbox.ru>
2022-10-10 13:59:59 +03:00
dependabot[bot]
57c42c39ee
build(deps): bump github.com/containers/ocicrypt from 1.1.5 to 1.1.6
...
Bumps [github.com/containers/ocicrypt](https://github.com/containers/ocicrypt ) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/containers/ocicrypt/releases )
- [Commits](https://github.com/containers/ocicrypt/compare/v1.1.5...v1.1.6 )
---
updated-dependencies:
- dependency-name: github.com/containers/ocicrypt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 04:11:49 +00:00
dependabot[bot]
fd2bd0723d
build(deps): bump github.com/onsi/gomega from 1.20.2 to 1.21.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.20.2 to 1.21.1.
- [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.20.2...v1.21.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 04:16:16 +00:00
Chris Evich
426bf94036
GHA: Limit operations to `main` branch only
...
Due to it's design, github-actions workflows source their configuration
from different locations depending on the event-type. This is
impossible for humans to manage, let alone on repos with multiple
release-branches. One would need to:
1. Understand the config-source for all utilized trigger events.
2. Ensure upon creation of a new branch or tag, the relevant source
is updated to support reliable long-term operations.
3. Repeat for infinity.
Fix this by removing all GHA trigger events except `pull_request`. For
all pull requests, only trigger code validation if the target is `main`.
Also, for `push` (merge) events, limit validation to `main` to prevent
(new) validate from trying to run against (old) release branches - it
will fail.
Signed-off-by: Chris Evich <cevich@redhat.com>
2022-10-06 12:25:09 -04:00
dependabot[bot]
1c0a3cd39b
build(deps): bump github.com/opencontainers/image-spec
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc1 to 1.1.0-rc2.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc1...v1.1.0-rc2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 04:08:52 +00:00