Commit Graph

28864 Commits

Author SHA1 Message Date
Nalin Dahyabhai 3b009a641c cirrus: refactor Ubuntu and Fedora test tasks
Refactor Ubuntu and Fedora tests to depend on a common base that isn't a
task, so that we don't run the Ubuntu test matrix-of-scenarios on top of
the Fedora test matrix-of-scenarios, where they would multiply.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-03-09 15:36:36 -05:00
Daniel J Walsh 68d640111f
Merge pull request #1524 from containers/renovate/golang.org-x-sys-0.x
fix(deps): update module golang.org/x/sys to v0.6.0
2023-03-07 19:28:46 -05:00
renovate[bot] 39fbb7924d
fix(deps): update module golang.org/x/sys to v0.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-03-05 06:41:36 -08:00
Giuseppe Scrivano 4f0adb63ba
Merge pull request #1523 from giuseppe/chunked-report-size
chunked: report the correct size
2023-02-28 10:10:16 +01:00
Giuseppe Scrivano 39cac28763
chunked: report the correct size
report the correct size for a layer that was pulled
using the chunked package.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-02-27 20:25:55 +01:00
Daniel J Walsh 4ba32904fe
Merge pull request #1520 from containers/dependabot/go_modules/github.com/stretchr/testify-1.8.2
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
2023-02-27 08:56:42 -05:00
Daniel J Walsh 2988d7e008
Merge pull request #1521 from containers/dependabot/go_modules/github.com/klauspost/compress-1.16.0
build(deps): bump github.com/klauspost/compress from 1.15.15 to 1.16.0
2023-02-27 08:55:21 -05:00
dependabot[bot] f82e7ee25a
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.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>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-27 08:18:41 -05:00
dependabot[bot] ec41774ed0
build(deps): bump github.com/klauspost/compress from 1.15.15 to 1.16.0
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.15 to 1.16.0.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.15...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-27 08:17:45 -05:00
Daniel J Walsh 9c35e82d55
Merge pull request #1517 from rhatdan/main
Bump to v1.45.4
2023-02-23 12:45:15 -05:00
Daniel J Walsh 0a5014632d
Move to v1.45.5-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-23 12:43:52 -05:00
Daniel J Walsh 283b47b50c
Bump to v1.45.4
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-23 12:42:06 -05:00
Daniel J Walsh 202c645283
Merge pull request #1516 from containers/dependabot/go_modules/github.com/Microsoft/hcsshim-0.9.7
build(deps): bump github.com/Microsoft/hcsshim from 0.9.6 to 0.9.7
2023-02-23 12:36:52 -05:00
Daniel J Walsh eb56a36fe6
Merge branch 'main' into dependabot/go_modules/github.com/Microsoft/hcsshim-0.9.7 2023-02-23 09:16:12 -05:00
Valentin Rothberg 01edf7e35f
Merge pull request #1514 from rhatdan/selinux
Don't hard code SELinux labels into code
2023-02-23 14:12:10 +01:00
dependabot[bot] f6c5bd6792
build(deps): bump github.com/Microsoft/hcsshim from 0.9.6 to 0.9.7
Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim) from 0.9.6 to 0.9.7.
- [Release notes](https://github.com/Microsoft/hcsshim/releases)
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.9.6...v0.9.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-23 07:51:21 -05:00
Daniel J Walsh 01b671bc79
Don't hard code SELinux labels into code
These labels can be changed based on installed policy.

I am working on allowing containers within containers, but this
will require different SELinux label types other then container_file_t.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-22 17:46:08 -05:00
Valentin Rothberg 06974143fa
Merge pull request #1512 from giuseppe/mount-program-disable-check
overlay: allow unknown backing fs with mountProgram
2023-02-22 12:08:58 +01:00
Giuseppe Scrivano b9f1697c17
overlay: allow unknown backing fs with mountProgram
if a mountProgram is specified, let it deal with an unknown backing
file system instead of failing early.  The error is kept when we use
native overlay.

Closes: https://github.com/containers/storage/issues/1511

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-02-22 10:40:16 +01:00
Daniel J Walsh cfffdaca40
Merge pull request #1510 from giuseppe/error-out-invalid-dirs
options: reject empty runroot or graphroot
2023-02-21 13:19:05 -05:00
Giuseppe Scrivano 9ebdbd9d9d
options: reject empty runroot or graphroot
make sure that the runroot and graphroot are not empty otherwise we will
end up using an empty directory as path prefix and create files in the
current directory.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-02-16 15:52:40 +01:00
Daniel J Walsh 0d8301be32
Merge pull request #1507 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.11.0
build(deps): bump github.com/opencontainers/selinux from 1.10.2 to 1.11.0
2023-02-12 19:17:39 -05:00
Valentin Rothberg a01f71d1dd
Merge pull request #1509 from mtrmac/context
Stop using golang.org/x/net/context
2023-02-10 10:27:41 +01:00
dependabot[bot] a8cf877e83
build(deps): bump github.com/opencontainers/selinux
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.10.2...v1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-09 14:44:39 -05:00
Daniel J Walsh 0297bae726
Merge pull request #1508 from rhatdan/codespell
Run codespell on codebase
2023-02-09 14:42:24 -05:00
Miloslav Trmač 4f4a7befc9 Stop using golang.org/x/net/context
As of Go >= 1.9, the implementation of the used parts
of x/net/context just forwards to the standard library.

So, use the standard library directly, and avoid the x/net dependency entirely.
This should save a tiny bit of space in users like Podman.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2023-02-09 20:29:28 +01:00
Daniel J Walsh 0ee26255cd
Run codespell on codebase
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-09 12:27:59 -05:00
Daniel J Walsh 07d070f284
Merge pull request #1502 from containers/dependabot/go_modules/golang.org/x/sys-0.5.0
build(deps): bump golang.org/x/sys from 0.4.0 to 0.5.0
2023-02-08 06:54:02 -05:00
dependabot[bot] 780b3b6b74
build(deps): bump golang.org/x/sys from 0.4.0 to 0.5.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/compare/v0.4.0...v0.5.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>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-02-07 19:31:48 -05:00
Daniel J Walsh 3230df4502
Merge pull request #1501 from nalind/update-go-patricia
Migrate from github.com/tchap/go-patricia to github.com/tchap/go-patricia/v2
2023-02-04 10:53:25 -05:00
Nalin Dahyabhai 5043938a86 Migrate from github.com/tchap/go-patricia to github.com/tchap/go-patricia/v2
The API looks the same, but it's friendlier to how Go modules like to do
versioning.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-02-03 09:25:14 -05:00
Giuseppe Scrivano ad9b7d8107
Merge pull request #1500 from nalind/test-zfs
Test zfs in CI
2023-02-03 11:44:27 +01:00
Nalin Dahyabhai c431c6bab1 CI: test zfs
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-02-02 14:52:16 -05:00
Daniel J Walsh 4ad749f674
Merge pull request #1499 from nalind/cross-ci
CI: check that cross-compilation works
2023-02-02 07:14:56 -05:00
Daniel J Walsh d4ffbd95a6
Merge pull request #1495 from containers/renovate/github.com-microsoft-go-winio-0.x
fix(deps): update module github.com/microsoft/go-winio to v0.6.0
2023-02-02 07:13:47 -05:00
Nalin Dahyabhai c1388ded80 CI: check that cross-compilation works
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-02-01 16:57:24 -05:00
renovate[bot] 0fb5b001fd
fix(deps): update module github.com/microsoft/go-winio to v0.6.0
Along with other updated vendors.

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-01-31 21:08:07 -06:00
Daniel J Walsh 0410c35ca4
Merge pull request #1491 from giuseppe/F37_ci_vm_images
Cirrus: Update CI VM Images to F37
2023-01-31 21:31:34 -05:00
Daniel J Walsh 29a83f16dd
Merge pull request #1490 from containers/renovate/configure
[CI:DOCS] Configure Renovate
2023-01-31 07:24:50 -05:00
Chris Evich e0a031d479
Cirrus: Update CI VM Images to F37
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-01-31 12:12:49 +01:00
Giuseppe Scrivano 325285e8a0
tests: disable idmapping feature in overlay
that is the expectation of the tests when they check for the mapping
in the mounted layers.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-01-31 12:12:48 +01:00
Giuseppe Scrivano 9e879f0ed7
overlay: drop fuse-overlayfs specific tests
we added these tests to validate fuse-overlaysfs.  Drop them since
they change the code flow and it conflicts with idmapped mounts
support.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-01-31 12:12:48 +01:00
Giuseppe Scrivano 012e457b91
overlay: honor disableShifting
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-01-31 12:12:48 +01:00
flouthoc 998b8bf212
Merge pull request #1489 from giuseppe/idmap-unsupported
pkg/idmap: add boilerplate for unsupported
2023-01-31 08:40:22 +05:30
Chris Evich 158e3d036b
[CI:DOCS] Cirrus: Skipping some tests for docs-only PRs
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-01-30 11:14:32 -05:00
renovate[bot] bd07ffe52d
Add renovate.json
Signed-off-by: Chris Evich <cevich@redhat.com>
2023-01-30 10:52:55 -05:00
Giuseppe Scrivano 04cf69a172
pkg/idmap: add boilerplate for unsupported
we need it to build on freebsd.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-01-30 12:39:12 +01:00
Daniel J Walsh e14503c40a
Merge pull request #1481 from nalind/makefile-updates
Makefile: remove vestiges of VMs, update $(sources)
2023-01-28 05:31:33 -05:00
Nalin Dahyabhai 380a915637 Makefile: remove vestiges of VMs, update $(sources)
Remove targets that reference Vagrant-specific setups that were removed
well over a year ago (!), and update $(sources) to include files in new
packages.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-01-27 14:43:18 -05:00
Daniel J Walsh 6a073bd678
Merge pull request #1482 from nalind/helper-args
test helper: maxArgs = 0 is actually a meaningful value
2023-01-27 14:42:46 -05:00