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
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
OpenShift Merge Robot
bf46de4bee
Merge pull request #1199 from dfr/freebsd-config
...
config: Add config entry for ocijail
2022-10-19 07:37:23 -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
OpenShift Merge Robot
46e6b39f57
Merge pull request #1197 from vrothberg/image-size
...
libimage: cache image size
2022-10-18 10:52:42 -04: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
OpenShift Merge Robot
8b33516b3e
Merge pull request #1194 from vrothberg/disk-usage
...
DiskUsage: return total images size
2022-10-18 06:44:40 -04: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
OpenShift Merge Robot
c32aa8029f
Merge pull request #1189 from flouthoc/container_dns_server
...
libnetwork: add `DNSServers` to `NetworkOptions`
2022-10-17 08:44:56 -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
OpenShift Merge Robot
a1b59acaba
Merge pull request #1190 from flouthoc/fix-spell-check
...
ci,codespell: ignore function `ShouldNot`
2022-10-17 05:17:35 -04:00
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
OpenShift Merge Robot
5f25838a4f
Merge pull request #1188 from rhatdan/VENDOR
...
Vendor in latest containers/(storage, image) and runtime-tools
2022-10-14 14:16:37 -04:00
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
OpenShift Merge Robot
e46d9ae23b
Merge pull request #1187 from containers/dependabot/go_modules/github.com/docker/docker-20.10.19incompatible
...
build(deps): bump github.com/docker/docker from 20.10.18+incompatible to 20.10.19+incompatible
2022-10-14 09:45:27 -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
Daniel J Walsh
9c8458868d
Merge pull request #1186 from containers/dependabot/go_modules/github.com/fsnotify/fsnotify-1.6.0
...
build(deps): bump github.com/fsnotify/fsnotify from 1.5.4 to 1.6.0
2022-10-13 05:19:53 -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
OpenShift Merge Robot
8404c05858
Merge pull request #1183 from containers/dependabot/go_modules/github.com/spf13/cobra-1.6.0
...
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
2022-10-12 08:53:07 -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
OpenShift Merge Robot
3eb6927cae
Merge pull request #1181 from tyler92/fix-pull-use-system-context
...
Fix empty system context when copy image from oci-archive transport
2022-10-10 15:48:01 +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
OpenShift Merge Robot
d932cceccf
Merge pull request #1179 from containers/dependabot/go_modules/github.com/onsi/gomega-1.21.1
...
build(deps): bump github.com/onsi/gomega from 1.20.2 to 1.21.1
2022-10-07 12:58:34 +02: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
OpenShift Merge Robot
f45df40324
Merge pull request #1175 from cevich/limit_gha_main
...
GHA: Limit operations to `main` branch only
2022-10-06 19:43:46 +02: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
OpenShift Merge Robot
886bf91dfc
Merge pull request #1171 from containers/dependabot/go_modules/github.com/opencontainers/image-spec-1.1.0-rc2
...
build(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc1 to 1.1.0-rc2
2022-10-05 12:24:23 +02: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
Daniel J Walsh
5e2929cb3e
Merge pull request #1170 from rhatdan/VERSION
...
Bump to v0.50.1
2022-09-30 06:31:23 -04:00
Daniel J Walsh
cb46b70274
Move to v0.50.2-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-09-30 06:11:05 -04:00
Daniel J Walsh
9d810a7a1c
Bump to v0.50.1
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-09-30 06:10:52 -04:00
OpenShift Merge Robot
43dece9721
Merge pull request #1169 from n1hility/win-regression
...
Fix Windows regression introduced by PR #1161
2022-09-30 09:51:37 +02:00
Daniel J Walsh
3c0d457a06
Merge pull request #1168 from rhatdan/VENDOR
...
vendor in containers/image 5.23.0 and setup release.
2022-09-29 16:47:09 -04:00
Jason T. Greene
45154dcc7e
Fix Windows regression introduced by PR #1161
...
Before 50eb74a4b1 this code used unshare.IsRootless() which on Windows
always returns false (the behavior we want).
After 50eb74a4b1 , a condition was unintentionally inverted, allowing
Windows to function.
Commit 18803495e8 fixed the inversion, but unintentionally excluded Windows
since it used == 0 instead of <= 0 (Windows returns -1)
Move the logic behind a function with a comment since the Windows path is a
bit exotic.
In the future, the Windows path should likely be refactored to be more
intuitive; however, this will get things working for now.
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2022-09-29 15:39:23 -05:00
Daniel J Walsh
97b35d5a43
Move to v0.50.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-09-29 14:15:25 -04:00
Daniel J Walsh
975f984ac9
Bump to v0.50.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-09-29 14:15:11 -04:00
Daniel J Walsh
4af1adbc07
Update vendor of containers/image
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-09-29 14:14:10 -04:00