summaryrefslogtreecommitdiffstats
path: root/recipes-containers
Commit message (Collapse)AuthorAgeFilesLines
* runc-opencontainers: update to 1.1.7Bruce Ashfield2023-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping runc to version v1.1.7-2-gb6109acd, which comprises the following commits: f0ecf30b VERSION: back to development 860f061b VERSION: release 1.1.7 c1063b1c runc.keyring: add Akihiro Suda b0fae8c4 scripts: keyring validate: print some more information 79a52b43 libct/cg/sd: use systemd version when generating dev props 6a806d4d runc.keyring: add Kolyshkin b6f686f2 keyring: add Aleksa's <cyphar@cyphar.com> signing key 63355bf8 keyring: add Aleksa's <asarai@suse.com> signing key 3bdb63bf keyring: verify runc.keyring has legitimate maintainer keys 853d5e38 scripts: release: add verification checks for signing keys bd1d5370 release: add runc.keyring file and script 7cd72cc3 VERSION: go back to development 0f48801a VERSION: release 1.1.6 e4ce94e2 libct/cg: add misc controller to v1 drivers 10cfd816 libctr/cgroups: don't take init's cgroup into account d30d240b tests/int: test for CAP_DAC_OVERRIDE 840b9539 Fix runc run "permission denied" when rootless 165d2323 tests/int: add a "update cpuset cpus range via v2 unified map" test 26a58fdb cgroups: cpuset: fix byte order while parsing cpuset range to bits 8d9d1d25 libct/int: make TestFdLeaks more robust b66d6d56 libct/int: wording nits ddbb6d41 libc/int: add/use runContainerOk wrapper 3531cc2d ci: add call to check-config.sh ed9a0e1d ci/gha: bump actions/cache to v3 7683e508 ci/gha: switch to Go 1.19.x for validate 568d4407 ci/gha: bump golangci-lint to 1.48 1f9e36c0 libct: fixes for godoc 1.19 50f06554 ci: bump golangci-lint to 1.46 77472ef6 libct: fix staticcheck warning 9994fe3f libct: suppress strings.Title deprecation warning 403ea1f0 ci/gha: convert lint-extra from a job to a step d2c83bdf ci/gha: switch to Go 1.18.x for validate 03a631df ci: switch to golangci-lint 1.45 e5a5522a Add supported Go releases (1.19, 1.20) 3ce12483 Dockerfile: fix build wrt new git bac06cf6 ci/gha: remove stable: when installing Go e74040e0 build(deps): bump actions/setup-go from 2 to 3 55462355 Require Go 1.17, bump x/sys and x/net 3ce9c1e2 tests: Fix weird error on centos-9 abd6adde ci: bump shfmt to 3.5.1, simplify CI setup 1a4bf049 man/*sh: fix shellcheck warnings, add to shellcheck 9201794a script/check-config.sh: fix remaining shellcheck warnings 8b976428 shfmt: add more files b0fbd2f8 script/check-config.sh: fix SC2166 warnings 7f8cb3d6 script/check-config.sh: fix wrap_color usage f6562f19 [1.1] libct/cg/dev: skip flaky test of CentOS 7 12f2f03f [1.1] runc run: refuse a non-empty cgroup for systemd driver e618ec36 libct/cg/sd: reset-failed and retry startUnit on UnitExists 931b9bf3 libct/cg/sd: ignore UnitExists only for Apply(-1) b46ac860 libct/cg/sd: refactor startUnit 822623b6 CHANGELOG.md: move 1.1.5 CVEs to Security section 54cfb25d Makefile: add verify-changelog as release dependency 7b3ac330 verify-changelog: allow non-ASCII 37e586ab CHANGELOG: fix a typo de0c2277 [1.1] CHANGELOG: fix 1.1.5 git compare link 1fe2ec53 tests/int/mounts: only check non-shadowed mounts 9b8ebe4d tests/int/mount: fix issues with ro cgroup test 17a2d451 VERSION: back to development Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: update to 4.5.0Bruce Ashfield2023-06-071-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version introduces envsubt in the install stage, so we add gettext-native to our build dependencies. Bumping libpod to version v4.5.0-14-gc926b12c5, which comprises the following commits: bc2f0115d [v4.5] system tests: fix race in kube-play read-only 696c2d40d api: fix parsing filters 1fa2eb53b Support systemd optional prefix '-' for devices. 74634a46c *: migrate image registry to registry.k8s.io 0fb11cccd Makefile: include `release-artifacts` target 4d2cf293e [CI:BUILD] Packit: Initial Enablement da927a75c Bump to v4.5.1-dev 75e3c1257 Release v4.5.0 32a6892b6 [CI:DOCS] Final release notes for v4.5.0 5de2a13e0 Quadlet - do not set log-driver by default c5e704c82 Return title fields as a list bf6f58b02 Bump to v4.5.0-dev f3c365887 Bump to v4.5.0-RC2 15c302533 Final release notes for v4.5.0-RC2 af7c25811 test/e2e: remove unnecessary SkipIfNetavark() calls 80652cacf test/e2e: deduplicated network test b526839a4 docs: update podman-network-create.1 ed99a979c network create: add --interface-name 676486a85 test/system/252-quadlet.bats: fix flake 1bf5bdc68 Read kube_generate_type from containers.conf 11ac0d03e Debian setup: workaround for runc /dev/char/10:200 bug 38c217a0b pkg/rootless: use catatonit from /usr/libexec/podman bab95de9a rootless: make sure we only use a single pause process 3b2b1441e Use atomic config writing strategy for podman machine config files 67307603b Add remaining release notes for v4.5.0-RC2 d53871cf1 GHA: Use version instead of SHA for actions 25bc7d161 chore(deps): update dependency containers/automation_images to v20230405 944accffa build: pass env by reference 7edf73dfd test: retrofit error message b624ad757 test/system: expect 12 char for short id 260bc3ec4 vendor: bump containers/(storage, common, buildah, image) c5a0d8646 [skip-ci] Update actions/upload-artifact action to v3 d3cf8ccf8 [skip-ci] Update actions/stale action to v8 21fbd5c1a [skip-ci] Update actions/setup-go action to v4 f3971e412 [skip-ci] Update github/issue-labeler action to v2.6 c4e79fc16 Fix up codespell errors a5dd5c20e Capitalize all uid,gid and id words that are not options in docs 352a41e3a build(deps): bump golang.org/x/tools from 0.7.0 to 0.8.0 in /test/tools 13135f924 Properly remove the service container during kube down f6a50311c quadlet: add `UserNS` option key 29aac4dfe [CI:DOCS] Release notes for 4.5.0 Part 1 358b46225 "podman pull by digest and list --all" test: untag instead of rmi f417861e0 build(deps): bump golang.org/x/text from 0.8.0 to 0.9.0 43e6bc9d9 Add renovate.json configuration cf6f13704 CI: postbuild step: skip under nightly treadmill db9785ba5 The `--ulimit` option accepts the name with an `RLIMIT_` prefix both upper and lower case dc9a65e34 test/e2e: use custom network config dir where needed 35165df37 chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml` b858c7e7f update completion scripts for cobra v1.7.0 e4aad8f0f libpod.storageService.CreateContainerStorage(): retrieve ID maps d0ffb8792 Fix invalid pod name and hostname during kube generate 761eca9e7 e2e tests: fix racy flakes 56e7b511e Cirrus: Enable labeling of EC2 VMs 74f9fd8e6 Cirrus: Fix aarch64 clone_script 404 errors ce8a3a0c1 e2e: GinkgoParallelNode() -> ...Process() 45b1099ef build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 34a5c7f15 build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 10d2e9fde [CI:DOCS] --creds and registries 9b7fd3936 Copr: fix build deps for /usr/bin/envsubst 80f9f8077 Don't error when removing non-existant env vars ecce01e61 e2e: healthcheck on stopped container: fix flake cb7b8fb31 test/apiv2/80-kube.at e1be7d141 test/apiv2/80-kube.at 1f3ae8a4f system service: do not close Body bb70d60f1 rm `hack/release.sh` 704901d11 build(deps): bump github.com/onsi/gomega from 1.27.5 to 1.27.6 243ca7c28 add `quadlet -version` flag 7eb78f8a7 add version/rawversion package 53b16ccd2 quadlet: use `Flag` suffix for variables 443f8d89c quadlet: implement `Tmpfs` option 91ca15e96 Bump to v4.5.0-dev 3e48017d8 Bump to 4.5.0-rc1 b7175a366 Update release notes from 4.4 branch 2051e54e0 rootless netns: recover from invalid netns 99ace1908 System tests: unverbosify a flake log 68dbddd97 Add support for secret exists 78e7ade0d Fix Win install task failures with large PR bodies 21febcb5c docs: add `starting` to `HealthCheckResults.Status` d7051d745 Add support for cgroup_config from containers.conf 4d56292e7 libpod: mount safely subpaths 4f9019406 Support Deployment generation with kube generate 8b6a7c182 Use secret.items to create volume mounts if present 359f40869 [CI:DOCS] fix typo in --systemd option 266cc7882 rootless: drop preexec hook error message 3c9ce3e52 Edit the docker wrapper to use the install prefix 5643058c8 Update podman-for-windows.md d79519e70 Quadlet: RemapUsers documentation fixes 7f8d5e565 speed up image listing f0cfbbe2c vendor containers/common@e27c30ee9b1b 70abb4ae5 fix volume-plugin-test flake b3e8791f6 Document building Podman remote on Windows hosts c40eaa242 test/e2e: gpg keep stdout/err attached f131eaa74 auto-update: stop+start instead of restart sytemd units b7a8e1285 [CI:DOCS] Improve basic tutorial be7827c7e Update docs/source/markdown/podman-network.1.md c335ff241 Add debug to --wait test 81e5bffc3 fix slirp4netns resolv.conf ip with a userns 11e5c2d0f Quadlet: add support for keep-id with mapping values b5df38c23 Quadlet E2E test - run quadlet as user generator cdb5b3e99 sqlite: do not `Ping()` after connecting da96ff6cc Quadlet - treat paths starting with systemd specifiers as absolute dd8ee49f6 Update docs/source/markdown/podman-kube-play.1.md.in d85c8d7e8 system tests: use CONTAINERS_CONF_OVERRIDE 51d068ecc implement podman machine set for hyperv 46b826a90 [CI:DOCS] Add network subnets info to network man page dd8574022 CI: retry the golangci install 92e0efc5d system tests: fix racey sdnotify test 518eafaa3 hyperv: lookup machine on local filesystem first 4c72fc26b fix os.IsNotExist() CI check 7daab31f1 Ensure that SQLite state handles name-ID collisions 64ba82601 macos pkginstaller: do not fail when podman-mac-helper fails 4f3cbf15c podman-mac-helper: install: do not error if already installed ade46ae6a build(deps): bump github.com/onsi/gomega from 1.27.4 to 1.27.5 e061cb968 Fix a race around SQLite DB config validation c5fc44582 add CONTAINERS_CONF_OVERRIDE 5f86fae71 vendor containers/common@main 6825740fc docs: minor grammar fix in `--volume` description b31d9e15f sqlite: do not use shared cache 9be4a525f test: podman checkpoint/restore the latest container 5185e7e39 stats compat API: return "id" lowercase 5f274e45f Run make codespell 3925cd653 Drop SQLite max connections 0fbc32515 sqlite: set connection attributes on open 9f0e0e833 Fix database locked errors with SQLite cf5df5b80 quadlet tests: skip on RHEL8 rootless cb24d6c3d Kube Play Doc: Document the support for K8S Secret 6b2101bc7 New ulimit test: bump up minimum nfiles 5447e88b4 logformatter: hide --db-backend, and friendlyize quadlet 5382997e0 Quadlet - add support for relative path in Volume key in .container file 3e405a2fd Add service ctr cleanup to PlayKubeDown 956341543 fix --health-on-failure=restart in transient unit 26d5df77d Quadlet Doc: Suggest the kill operation for HealthOnFailure 5d1342fc5 Quadlet - Add support for health checks configuration in .container files 3ef707def Makefile: allow specifying /lib dir location a5abbdf1f Fix option --opts -> --opt 0dac214f5 basic hypverv machine implementation 94f905a50 Fix SQLite DB schema migration code 46d165040 Add support for oom_score_adj value from containers.conf 6046832f3 Use default_ulimits field in containers.conf e2d49fb65 CI: test and confirm DESIRED_DATABASE 1ea62f32f build(deps): bump github.com/openshift/imagebuilder 526dfb893 logformatter: futureproof output filename e21cf2d8d Vendor in latest containers/(storage, common, image) 686bdcc29 build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.30.0 ba141adce test/system/255-auto-update.bats: add debug logs c2a24abc0 Revert "Revert "pasta: Use two connections instead of three in TCP range forward tests"" 3a59af219 Add information for secret inspect 87e93a7b6 Add format to podman volume ls b424f8fb0 Add format to podman volume inspect 2555c8034 Add format to podman secret ls 1c4bd4a73 Add format to podman system df 71bcd9891 Add format to podman machine info 581611844 Add format table to podman image inspect man page e92955245 Cirrus: Store podman machine benchmark data b3035b9d6 Update Cirrus display names, and fix get-ci-vm script 6142c16a9 Ensure SQLite places uses the runroot in transient mode 2ec11b16a Fix various integration test issues with SQLite state 0f8530b1e Remove test for pod/container name global uniqueness 6e0f11da5 Improve handling of existing container names in SQLite 39fd9aa08 Add SQLite job to CI 7ed1c7fd9 buildah treadmill: also run rootless tests 2b4a27719 build(deps): bump github.com/vbatts/git-validation in /test/tools 3c51b61d7 auto update: return restart error ea2a0767a fix: Document removing anonymous volumes 408e764b9 events: no duplicates when streaming during a log rotation 82f2f8258 Add search --cert-dir, --creds bae07b6ea podman-mac-helper: exit 1 on error 7d8d3e810 system service --log-level=trace: support hijack eed389508 test/system: fix wait_for_port() to wait for bind 2d1f4a8bf cgroupns: private cgroupns on cgroupv1 breaks --systemd 01fd5bcc3 libpod: remove error stutter 4562e61d2 podman events: unhide --stream 7a7af735a test/system/255-auto-update.bats: multiple services 40d0d233e 255-auto-update.bats: turn off rollback where needed a9d70e9fe Use append() to add elements to a slice 1c08f2eda Revert "pasta: Use two connections instead of three in TCP range forward tests" ad8a96ab9 Support running nested SELinux container separation 159936a11 bud tests: rootless remote: use correct socket path 6f9f395b3 build(deps): bump github.com/vbauerster/mpb/v8 from 8.2.1 to 8.3.0 bad41f67e compat: /auth: parse server address correctly 6363fb08f docs: fix cmd `set DOCKER_HOST` suggestion fb4f6f95c test: reenable idmap test b5a99e081 Must use mountlabel when creating builtin volumes 8d952c01d podman.spec.rpkg: distro conditionals for modulesloaddir 9294b7350 build(deps): bump google.golang.org/protobuf from 1.28.1 to 1.29.0 21651706e podman inspect list network when using --net=host or none f928cf54a pasta: Re-enable "Local forwarder, IPv4" test, accept NXDOMAIN as response 829e910cd build(deps): bump golang.org/x/tools from 0.6.0 to 0.7.0 in /test/tools cc7a1e614 CI: Switch to c20230307t192532z-f37f36d12 images 799c20177 Cirrus: Run system & integration tests in parallel c03cb5718 Update checkpointctl v0.1.0 cb3cda55f Quadlet: add support for setting --ip and --ip6 af7a759e9 build(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 5d039ce22 build(deps): bump golang.org/x/sys from 0.5.0 to 0.6.0 34ff27b81 libpod: avoid nil pointer dereference in (*Container).Cleanup 25dd4d653 [CI:DOCS] Add image not found info to troubleshooting 0498ce3a5 cmd: do not require userns for "version" 2860d55c9 cmd: drop special handling for "scp" da04469f0 cmd: clarify meaning of ParentNSRequired 0ab4b2614 Fix package restore 0d219486f [CI:DOCS] Fix docs/version-check always requesting updates e77f370f8 sqlite: add a hidden --db-backend flag cca65db01 fix: update the default machine value when the previously set default machine is deleted 9ac0d4f1a podman machine: Adjust Chrony makestep config 2c67ff5d4 sqlite: add container short ID to network aliases 38acab832 sqlite: remove dead code 2342d1a31 sqlite: addContainer: add named volume only once 86d12520e sqlite: implement RewriteVolumeConfig df88f546b sqlite: LookupVolume: fix partial name match 01359457c sqlite: LookupVolume: wrap error 69ff04f73 sqlite: fix type rewriting container config e87014e44 sqlite: return correct error on pod-name conflict 84b5c6c71 sqlite: RewritePodConfig: update error message 51cf2dd36 test/system/255-auto-update.bats: wait 10 for update to finish b727f30ac auto-update test: wait for service to be ready 76056c670 Vendor in latest containers/(common, storage, image) 20a42d0e4 play kube: Add --wait option 6babef598 Cirrus: Fix git config permission denied ccc5aa59a Quadlet: Add support for the Mount key in .container files 6f09dbc2d build(deps): bump github.com/onsi/gomega from 1.27.1 to 1.27.2 77861d6af fix "podman logs --since --follow" flake 6d352dc0b Clarify that replicas are ignored in kubernetes deployment 42540a667 Revert "Skip all pasta tests" e804ddc5a CI: Switch to c20230223t153813z-f37f36d12 images 070572245 Fix user socket path 1e516e657 pkginstaller: bump Qemu to version 7.2.0 0f92e19e8 Cirrus: Fix bud tests failing to apply patches 1ef8a860c build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 b00874c16 build(deps): bump github.com/coreos/stream-metadata-go 9d93486d2 Vendor in latest containers/storage d838c08b3 buildah-bud tests: don't sudo when rootless is desired 1f6f81f5d Temporarily disable version-check 5a08ddaec CI: new rootless buildah-bud tests (cron only) 5d2d609be sqlite: fix volume lookups with partial names 495314a16 sqlite: fix container lookups with partial IDs efe7aeb1d sqlite: fix LookupPod 19c2f37ba sqlite: fix pod create/rm e32bea937 sqlite: LookupContainer: update error message 565bb5645 sqlite: AddContainerExitCode: allow to replace 4b3b94473 system: add warning when running rootless on cgroupv1 1b1cdfa35 sqlite: fix AllContainers with state 21fcc9070 sqlite: fix "UPDATE TABLE" typos 3f96b0ef2 sqlite: SaveVolume: fix syntax error updating the volumes table 7c11f7e17 sqlite: exit code: allow -1 e74f7bcaf sqlite: fix typo when removing exec sessions 560805ac4 sqlite: AllContainers: fix inner join 8c64c4370 sqlite: move migration after table creation eeabe975e sqlite: implement pod methods 0d75854c5 Quadlet - use the default runtime 49d560e1b docs: context is not optional for build 03aaa8d35 Fix an incorrect comment on NewSqliteState eb228f264 Add support for containers.conf database setting 59a54f32d Add support for volume operations to SQLite state c0b92bdbc Implement exec session handling in SQL database 627a5b73b Various fixes from code review c4fe0af2a Remove `--namespace` flag from Podman root 89d0ccd19 Get E2E tests to pass 97499a70a Implement network disconnect for SQLite state 939a4ccef Implement Network Connect/Modify for SQLite state 8ab18d848 Fix various lint issues b4c4f9c93 Some further work on SQLite state 5c2a0670f Remove concept of Namespaces from BoltDB 1b968c607 Add initial SQLite-backed state implementation 93e7cc119 Cirrus: Support runc testing on debian VMs 81f116c59 Skip all pasta tests 642e9ddb8 Skip buildah-bud test 10382d0bc Skip buildx test with VFS podman storage driver dd51b62b7 Skip 'podman kube --network' test for rootless CGv1 197529f08 Skip tests which fail with CGv1 & runc 5b4f248a8 Skip rootless CGv1 quadlet tests due to issue e19922d09 Makefile: Define SHELL 43eb35a77 Machine refactor for QEMU/AppleHV e838ad86b machine refactoring preparations for hyperv b4471c6ed [CI:BUILD] spec.rpkg: trim dependency list 12153da83 Logs follow-until tests: loosen checks 7d17ec07f [CI:DOCS] Windows/Mac docs link update 7f5fc04b4 Doc update for docker network options via CLI 4b4b423b6 compat API: network create return 409 for duplicate 40f21da0c Apply suggestions to man page adacd3b12 vendor c/common@852ca05a1fbb 6a3757b73 Quadlet: Add support for LogDriver key in container and kube units ebb45b5bd machine refactoring preparations for hyperv af8d649da libpod: always use direct mapping 9dc730d9f netavark: only use aardvark ip as nameserver e9942c61d build(deps): bump github.com/container-orchestrated-devices/container-device-interface 79a05ca2b podman logs passthrough driver support --cgroups=split d7e96536e journald logs: simplify entry parsing 1590c7bf4 podman logs: read journald with passthrough 5754df806 make docs: sanity check for broken man pages 5056bd45f build(deps): bump github.com/vbauerster/mpb/v8 from 8.1.6 to 8.2.0 5fcd2c3fa build(deps): bump github.com/onsi/gomega from 1.27.0 to 1.27.1 2659a3228 kube: rm secret on down, print secret on play 9ce589a4a Fix spacing typo that triggered OCD & indent units in podman-systemd.unit(5) ad866fecb Update remote_client.md e74f60dee [CI:DOCS] Add restriction to option README 975b096bc Revert "CI: Temporarily disable all AWS EC2-based tasks" 22a207d45 build(deps): bump github.com/onsi/gomega from 1.26.0 to 1.27.0 c95978f60 kube play: only enforce passthrough in Quadlet 21cddd723 journald: remove initializeJournal() 6dd797844 auto-update: support pods 9622d25be Emergency fix for man pages: check for broken includes c81fbd5d0 System tests: assert(): friendlier failure messages 761da776a Cirrus: Fix version-check to only run on `main` job 7f8bc6f51 CI: Temporarily disable all AWS EC2-based tasks 6f5ca7318 build(deps): bump github.com/containerd/containerd from 1.6.16 to 1.6.18 6ca857feb volume,container: chroot to source before exporting content 94d4b5278 Support sysctl configs via podman kube play 510e44359 [CI:BUILD] copr: podman.spec.rpkg cleanups a4677405c quadlet system tests: add useful defaults, logging 96af9e4e0 libpod: support relative positions for idmaps c7ee65596 Experimental workaround for cdn03.quay.io flake 86e55d0ec system tests: prevent leading tabs 9abe8c785 Introduce podman machine os apply 828708bac create: add support for --group-entry 33a918711 fix != filter in volume prune 4c5b79120 Allow specification of podman --remote build -f - 3d8936642 Quadlet use crun specified in containers.conf 9f84b9b52 build(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 86a4c6b65 Vendor c/image after https://github.com/containers/image/pull/1847 c0f983db8 Don't set hostPort when generating a service 3a9d14d4e man page --format xref: tighten the autocompletion check 0999991b2 add support for limiting tmpfs size for systemd-specific mnts 9a1f47887 build(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 35d16ea02 Add ulimit annotation to kube gen & play 34d412e13 man page xref: validate displayed man page names 7c54d1423 quadlet: add ExecStop d2ac85f7a install sigproxy before start/attach 191e4ce40 build(deps): bump golang.org/x/tools from 0.5.0 to 0.6.0 in /test/tools a5ca73225 Fix typos 45fb353f4 Cirrus: Make benchmarks .env file easier to load a7db3e8d2 Cirrus: Omit functions in env. file 1541ce56c kube play: set service container as main PID when possible 08e13867a Fix typos. Improve language. 9cba0474b events + container inspect test: RHEL fixes 5a9074dab Add ctrName to network alias during kube play 586515976 Run codespell on codebase c7619c8ae podman image scp: added identity for ssh.Exec fb54be2e1 [CI:DOCS] Clarify nomap constrains 433413549 [CI:DOCS] man-page checker: include --format (Go templates) e308ba021 Vendor c/image after https://github.com/containers/image/pull/1816 ec4ab08c8 [CI:DOCS] Cleanup some man pages to display options with line breaks 5ed217409 [CI:DOCS] Add tables to podman-systemd.unit man page 3de409ad6 github: remove prefix from bugs/features d6dd17fdf Quadlet: Add support for the Secret key in Container group 08d28bfc2 [CI:DOCS] OWNERS: add @ygalblum and @alexlarsson 47df0ca25 build(deps): bump golang.org/x/term from 0.4.0 to 0.5.0 ded44be16 build(deps): bump github.com/vbauerster/mpb/v8 from 8.1.4 to 8.1.6 42c7c59dd Sort quadlet keys to make it easier to read 43b357068 e2e: fix some tests on remote 83367a6b3 kube play: do not teardown unconditionally on error ac71fa01c Fix typos in comments 6b6458916 Resolve symlink path for qemu directory if possible 90eb834e7 #17363 Fix contradicting documentation podman-commit 1916da596 Fix a potential UID/GID collision in unit tests 93c35a703 golangci-lint: show all errors at once 77e4b1939 update golangci-lint to version 1.51.1 1fd0ce71d [CI:DOCS] events: document journald identifiers f1352521f Quadlet: exit 0 when there are no files to process ced934284 network ls: handle removed container 315215020 e2e: adapt play kube test on remote rootless 4e8906c5e docs/podman-systemd.unit: Explicitely mention network & kube units c4f338eec docs/podman-systemd.unit: Update example to work out of the box 50f72fe7b [CI:BUILD] Cirrus: Fix GraphQL ownerRepository:null error 83a0e97ab Add missing return after errors 84c674fee Revert "Cirrus: Emergency fix to un-stuck PRs" af0f10a22 pasta: Fix ICMPv6 Echo test, skip it for the moment 859579b6b pasta: Fix ICMP Echo Request (IPv4) test e33f4e0bc pasta: Use two connections instead of three in TCP range forward tests acaab3fa7 Add SELinux label types support to quadlet 928d589b7 Add quadlet support for rootfs= containers 6b3073f53 Cirrus: Emergency fix to un-stuck PRs 8441f01be Move clean-binaries before podman-remote in podman-remote-docs target aa0d4b266 oci: bind mount /sys with --userns=(auto|pod:) e6904f6f8 Cleanup podman-systemd.unit file 3c3526e53 Install podman-systemd.unit man page, make quadlet discoverable de63ad704 libpod: allow userns=keep-id for root 9e7f1bea4 system-reset: use CleanCacheMount to clear build cache 5ca35d6de vendor: bump buildah to v1.29.1-0.20230201192322-e56eb25575c7 3ce07b556 system tests: fix noexistent labels test in the remote a909e2f2d Expose Podman named pipe in Inspect output 2bb4c7cdd libpod: support idmap for --rootfs ed1f76917 test: adapt test to work on cgroupv1 ed18cdd6e Bump to v4.5.0-dev b6d91ebfb Update main to reflect v4.4.0 release be47eeb85 Update from /github.com/vbauerster/mpb/v7 to /v8 8aa377698 hack/perf: cleanup after benchmarks cb5a9e9f4 hack/perf/bz-2162111.sh: use custom network a1436d8fb Update bug_report.yaml 02bcf0bac Handle filetype field in kubernetes.yaml files 1a786ea53 hack/perf/bz-2162111.sh: measure stop bd8937c50 make hack/markdown-preprocess parallel-safe 68371ff55 system tests: fix volume exec/noexec test f69efb6ee system tests: minor fix for RHEL8 incompatibility cf7afed05 Cirrus: Use versionable IMAGE_SUFFIX cbb45a6d4 utils: new conversion method 0e949bfd3 libpod: use GraphRoot for overlay upper dir 427d69cc3 vendor: update containers/storage d10860a32 Do not mount /dev/tty into rootless containers 5c059e3ed build(deps): bump go.etcd.io/bbolt from 1.3.6 to 1.3.7 9272cabd3 e2e: fix run_staticip_test about no_proxy 2e397120d docs: specify order preference for FROM 15594e92e Fixes port collision issue on use of --publish-all 952049fe5 Support for Windows paths in the source position of the volume mounts 0e3524b8b e2e tests: fix incorrect os.User.Name 7c60a784c Log data that we failed to unmarshal 61db1d5aa [CI:DOCS] hack/perf: add script for BZ 216111 29b346dea container rm: save once for exec removal and state change 8f2a40d81 [DOCS:CI] podman-events: document verbose create events 7e80edd3a e2e: Avoid hard-coding included in quadlet test 2682d3ad9 e2e: Avoid hard-coding ImageCacheDir 387f0ea2f Making gvproxy.exe optional for building Windows installer 74c090973 Add gvproxy to Windows packages ab8e49d74 Add comment to clarify error handling intention 12d70446f fix #17244: use /etc/timezone where `timedatectl` is missing on Linux 063e273e9 Fix usage of absolute windows paths with --image-path b0b166b5b Match VT device paths to be blocked from mounting exactly 553e53d44 Fix default handling of pids-limit 069edc3ad Add (podman {image,manifest} push --sign-by-sigstore=param-file.yaml) e51991030 journald: podman logs only show logs for current user 2ab90f2ed journald: podman events only show events for current user 21b82bb68 e2e: Remove the cache with "podman unshare rm" when a rootless user 9db657f40 Clean up more language for inclusiveness 814f7c569 e2e: Remove some directories at SynchronizedAfterSuite 497be102a fix: don't output "ago" when container is currently up and running b28519fd9 fix: running check error when podman is default in wsl a745d99a8 fix CI: test fail due to merge f3d8f6c49 Bump Bulidah to v1.29.0 38d5319f1 e2e: reduce dependency on /tmp for e2e tests 0ffce8181 Bump cirrus image with easier dependency management e62e42bfa quadlet: Add device support for .volume files 70e8f6243 remote,build: error if containerignore is symlink c74bdae35 DB: make loading container states optional 6132c4d54 ps: do not sync container 958c94094 Set runAsNonRoot=true in gen kube 7aef3301d WSL refactoring 08186d7dd kube-play: add support for HostIPC in pod.Spec 8850db961 Allow --device-cgroup-rule to be passed in by docker API Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to v1.27.1Bruce Ashfield2023-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kubernetes to version v1.27.1-89-g2555e0f90e8, which comprises the following commits: 2eccb77b2c5 OpenAPI V3 invalid document checks 642ea896178 update for feedback 0457fbc83b3 QueryParamVerifier falls back on invalid v3 document 4cd33af1419 QueryParamVerifierV3 resilient to minimal OpenAPI V3 documents ce458add6f1 kubeadm: fix a bug where file copy(backup) could not be executed correctly on Windows platform during upgrade 3a56c1e954b Fix CHANGELOG-1.27 correct fa86f2dce30 benchmark test to evaluate the overhead of podMatchesScopeFunc 4a2e6971f7d Fix incorrect calculation for ResourceQuota with PriorityClass as its scope c041924dd10 Update podFailurePolicy comments from alpha-level to beta 7f9b3cb8540 Disable NewVolumeManagerReconstruction feature gate 3324649c1c6 releng/go: Update images, dependencies and version to Go 1.20.4 ae2f576d0b7 Bump konnectivity-client to v0.1.2 8af1ce5863d Kube-proxy/ipvs: accept access to healthCheckNodePort on LbIP 940b6892a1e node: device-plugin: e2e: Additional test cases 4cf566e32e9 node: device-plugin: add node reboot test scenario d67481c4784 node: device-plugin: e2e: Capture pod admission failure 6f5e29e26c4 node: device-mgr: e2e: adapt to sample device plugin refactoring 367e3d7c471 node: device-mgr: e2e: Update the e2e test to reproduce issue:109595 d241f58d8c8 node: device-mgr: e2e: Implement End to end test aac4c15e624 node: device-mgr: Handle recovery by checking if healthy devices exist b157e1741fb node: device-plugin: e2e: Add test case for kubelet restart 5278e9c02cd node: device-plugin: e2e: Provide sleep intervals via constants b3c58acde98 node: device-plugin: e2e: Update test description to make it explicit 0cd0fe70aa1 node: device-plugin: e2e: Isolate test to pod restart scenario ed8d4e1d6a5 node: device-plugin: e2e: Annotate device check with error message 4899dc75dde node: device-plugins: e2e: s/devLen/expectedSampleDevsAmount c81ec1ae5b0 node: device-plugins: e2e: Refactor parse log to return string and error 86904a7c580 Update kube-openapi to fix race ee1d7eb5d82 Use absolute path instead requestURI in openapiv3 discovery bbca939c661 proxy/ipvs: don't bind nodeips to the dummy device ca1e563141a proxy/ipvs: add a GetAllLocalAddressesExcept() function 3ce0c108fe9 Refactors discovery content-type and helper functions 574829867a9 Fix scheduler performance regression after adding plugin metrics 192e9dae316 Update staging/src/k8s.io/apiserver/pkg/cel/common/values.go 8d0ac2f6f8f Fix bug where CEL listOfString.join() results in unexpected error 57e67a91e39 Fix directory mismatch for `volume.SetVolumeOwnership()` d0514936f3a Fix stomping os env in kubectl e2e tests 7a6640798a7 KCCM: add providerID predicate to service controller 8221a54e1ee Re-work logic in shouldSyncUpdatedNode a9d07f4e9ef add log includes pod preemption details 9ef90afb4fb verifyVolumeNoStatusUpdateNeeded may cause flake and so only keep the last ones b598ea5c392 deflake: Add retry with timeout to wait for final conditions 2eb94fa835a kubelet: Mark new terminal pods as non-finished in pod worker ae07535c855 test: Add node e2e to restart kubelet while pod is terminating 861e1935e2a kubelet: Ensure pods that have not started track a pendingUpdate ae92fd28072 changelog: fix formatting issue with v1.27 change log 95feac5269b Update CHANGELOG/CHANGELOG-1.27.md for v1.27.1 4c9411232e1 Release commit for Kubernetes v1.27.1 2c81ecc2e29 use case-insensitive header keys for http probes 1601bb75401 fix: add the bug as a known issue o on the v1.26 release note fddf859d6a5 kube-aggregator: correctly use client-go TLS cache with custom dialer 845ba3e3a23 Revert "Optimization on running prePreEnqueuePlugins before adding pods into activeQ" a1f97a35fcb Revert "Merge pull request #113151 from ncdc/refactor-crd-conversion" 1da781e29b3 Revert "CR conversion: protect from converter input edits" f564f7a3559 api: encode NamespacedName with lower case in JSON e827a4b61f5 Do not look at VPC-related resources outside the cluster's network d662e339aa5 kubelet: Do not mutate pods in the pod manager d977e7e0dbf Fix azure disk e2e after migration e599722bc59 vendor: bump runc to 1.1.6 25b061d8202 CVE-2023-27561: Bump runc go module v1.1.4 -> v1.1.5 854c72766bb fix: the volume is not detached after the pod and PVC objects are deleted 398e38784e7 Update CHANGELOG/CHANGELOG-1.27.md for v1.27.0 1b4df30b3cd Release commit for Kubernetes v1.27.0 2b6072ba00c Update CHANGELOG/CHANGELOG-1.27.md for v1.27.0-rc.1 ad18954259e CHANGELOG: Update directory for v1.27.0-rc.1 release 80bc6ffd0df Release commit for Kubernetes v1.27.0-rc.1 951f8dcc965 Return error for localhost seccomp type with no localhost profile defined 4e0bc2397da Update publishing-bot rules for release branches to Go 1.19.8 1972dd10058 Do not log entire pod struct while attaching the volume b19c362bf52 Update distroless-iptables to v0.2.3 2a69edb43de [go] Bump images, dependencies and versions to go 1.20.3 b5dd5f1f3a7 Investigate and fix the handling of Succeeded pods in DaemonSet 873127e3b04 Export WebhookHandler struct because some CCMs use Run directly 735bbc135c3 Clean up formatting 27ad623b3d1 Skip vendor directory when removing generated files 63b5ca69f1f .*: update vendor dir and cleanup 1ad7cacba59 publishing-bot rules for the new release-1.27 branch b83600de01e fix nil pointer dereference panic for deprecated metrics 5469c198e5d kmsv2: validate encrypt response at DEK generation time 0e9dd5c51d8 Call function that validates in-place vpa resize policy Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-moby: fix docker run on NFSChen Qi2023-05-172-0/+114
| | | | | | | | | | | | | | | | | For now, a simple `docker run -it alpine' fails on NFS. This regression was introduced by a commit[1] which makes DirCopy error out if failing to copy xattr. As the vfs storage driver is supposed to just work on any filesystem[2], we need to allow its failure on copying extended attributes as the support for xattr depends on filesystem. [1] https://github.com/moby/moby/commit/31f654a704f61768828d5950a13f30bb493d1239 [2] https://docs.docker.com/storage/storagedriver/select-storage-driver/ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Rewrite the recipePeter Kjellerstedt2023-05-082-71/+48
| | | | | | | | | | | | | | | The previous version of the recipe was generated by cargo-bitbake, which expects that future updates to the recipe will also be done by cargo-bitbake and therefore formats it to accomodate this. Since we have now switched to the more commonly used (and supported) cargo-update-recipe-crates bbclass for updating the crate URIs, the recipe can be rewritten to better conform to common recipe standards. This also folds netavark.inc into it as there is no longer any need to keep it separate. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Add checksums for the crate URIsPeter Kjellerstedt2023-05-082-12/+194
| | | | | | | | | Use the cargo-update-recipe-crates bbclass to update the crate URIs including adding checksums for them, as they are now required by the crate fetcher. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Move the crate URIs to a separate .inc filePeter Kjellerstedt2023-05-082-186/+182
| | | | | | | | | As a preparation for switching to using the cargo-update-recipe-crates bbclass to update the crate URIs, move the existing crate URIs to the netavark-crates.inc file that it expects. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns: Rewrite the recipePeter Kjellerstedt2023-05-082-56/+35
| | | | | | | | | | | | | | | The previous version of the recipe was generated by cargo-bitbake, which expects that future updates to the recipe will also be done by cargo-bitbake and therefore formats it to accomodate this. Since we have now switched to the more commonly used (and supported) cargo-update-recipe-crates bbclass for updating the crate URIs, the recipe can be rewritten to better conform to common recipe standards. This also folds aardvark-dns.inc into it as there is no longer any need to keep it separate. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns: Add checksums for the crate URIsPeter Kjellerstedt2023-05-082-9/+136
| | | | | | | | | Use the cargo-update-recipe-crates bbclass to update the crate URIs including adding checksums for them, as they are now required by the crate fetcher. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns: Move the crate URIs to a separate .inc filePeter Kjellerstedt2023-05-082-131/+127
| | | | | | | | | As a preparation for switching to using the cargo-update-recipe-crates bbclass to update the crate URIs, move the existing crate URIs to the aardvark-dns-crates.inc file that it expects. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s, kubernetes, nagios-nrpe: fix Upstream-Status formattingMartin Jansa2023-05-082-2/+2
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxcfs: fix build with newer linux-libc-headersMartin Jansa2023-05-082-0/+51
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: start depreciation of docker-ceBruce Ashfield2023-05-032-63/+22
| | | | | | | | docker-ce and docker-moby are now exactly the same. To allow layers which bbappend or otherwise consume docker-ce, we merge the two recipes and leave a warning in docker-ce that it will be removed in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns, netavark: add seccomp to REQUIRED_DISTRO_FEATURESMartin Jansa2023-04-122-0/+7
| | | | | | | | | | | | | | | | | | | | | * because of runtime dependency on slirp4netns * fixes: ERROR: Nothing RPROVIDES 'slirp4netns' (but meta-virtualization/recipes-containers/aardvark-dns/aardvark-dns_1.2.0.bb RDEPENDS on or otherwise requires it) slirp4netns was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES) NOTE: Runtime target 'slirp4netns' is unbuildable, removing... Missing or unbuildable dependency chain was: ['slirp4netns'] NOTE: Runtime target 'aardvark-dns' is unbuildable, removing... Missing or unbuildable dependency chain was: ['aardvark-dns', 'slirp4netns'] NOTE: Runtime target 'netavark-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['netavark-dev', 'aardvark-dns', 'slirp4netns'] NOTE: Runtime target 'netavark' is unbuildable, removing... Missing or unbuildable dependency chain was: ['netavark', 'aardvark-dns', 'slirp4netns'] NOTE: Runtime target 'aardvark-dns-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['aardvark-dns-dev', 'slirp4netns'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* crun: fix REQUIRED_DISTRO_FEATURESMartin Jansa2023-04-121-3/+1
| | | | | | | | | | | | | | | | | | | | | * features_check was inherit twice and REQUIRED_DISTRO_FEATURES was set twice as well but both with ?= so the 2nd one was ignored * seccomp was added in: commit b8f2edd39af6b7ac4461158b0d0382e88e93d6f1 Author: Bruce Ashfield <bruce.ashfield@gmail.com> Date: Wed Jun 30 11:22:42 2021 -0400 Subject: crun: add seccomp distro features check but there was already systemd from: commit 144d1ae8973e8c67709d7b544dc53b80bf924754 Author: Bruce Ashfield <bruce.ashfield@gmail.com> Date: Fri Apr 23 10:32:24 2021 -0400 Subject: crun: use REQUIRED_DISTRO_FEATURES to indicate systemd dependency Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* buildah: add seccomp and ipv6 to REQUIRED_DISTRO_FEATURESMartin Jansa2023-04-121-0/+4
| | | | | | | | | | | | | | | | * because it rdepends on podman with the same restriction * BTW: .gitignore has: build*/ which gets triggered for buildah as well: meta-virtualization $ git add ./recipes-containers/buildah/buildah_git.bb The following paths are ignored by one of your .gitignore files: recipes-containers/buildah I've adjusted it to /build*/ only. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: update to 1.11.2Bruce Ashfield2023-04-051-3/+3
| | | | | | | | | | | | | Bumping skopeo to version v1.11.2-1-gd79588e6, which comprises the following commits: d79588e6 Bump to v1.11.3-dev dc1e14f7 Release 1.11.2 902506dd bump golang.org/x/net to v0.7.0 b2884205 [release-1.11] Bump to v1.11.2-dev fb1ade6d [release-1.11] Bump to v1.11.1 40dd6507 Update to c/image 5.24.1 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: update to 1.11.0-tipBruce Ashfield2023-04-051-1/+1
| | | | | | | | Bumping skopeo to version v1.11.0-102-g1e70fee2, which comprises the following commits: ca0f8418 fix(deps): update module github.com/spf13/cobra to v1.7.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman-tui: update to v0.9.0Bruce Ashfield2023-04-052-44/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We drop our btrfs patch, as it is now part of the upstream. Bumping podman-tui to version v0.9.0-37-g24bdb2a, which comprises the following commits: 449d8f4 golangci-lint system package b0d20b2 Bump actions/stale from 7 to 8 613d18f ui/styles - applying golint 7839523 ui/infobar - applying golint 745a331 ui/help - applying golint 4c27c3d ui/volumes code improvement and golint 02740c1 adding container attach command to container page/view 6b5beb4 fix container create error without health options 705bc34 Bump actions/setup-go from 3 to 4 cf4509e Add container health options to the container create dialog d79883e Add packit configurtion to build RPM as part of PR tests ba02fb5 Update unit tests and github workflow for running the tests 4e3889f fix container create error when volume is selected 0af3e47 update github workflow golang version to 1.18.8 f572f48 Golangci-lint update to v1.51.1 c2932fc fix vendor + codepsell 1e35d9a Bump golang.org/x/crypto from 0.6.0 to 0.7.0 bb17bbc unit tests fix 1328668 Bump to v0.10.0-dev 8ad97a1 Bump to v0.9.0 28f800c Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 f18b55b Bump to podman v4.2.2 064a53b Bump github.com/onsi/gomega from 1.27.1 to 1.27.2 c3c1cb3 Bump github.com/containers/common 28ca42e Bump github.com/containers/podman/v4 from 4.4.0-rc1 to 4.4.2 88e898f Bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 df84886 Bump github.com/containers/storage from 1.45.3 to 1.45.4 370a785 New feature - container healthcheck 3d18e6a Bump to v0.9.0-dev 073a500 Bump to v0.8.0 fe2fafb Bump github.com/onsi/gomega from 1.24.1 to 1.27.1 4a78fc7 Bump github.com/onsi/ginkgo/v2 from 2.6.0 to 2.8.3 6d03623 Bump podman/v4 to 4.4.2 fa3ea79 Bump github.com/gdamore/tcell/v2 a6d175a Bump golang.org/x/net from 0.6.0 to 0.7.0 0d6726c Bump github.com/containerd/containerd from 1.6.12 to 1.6.18 5cf21f8 Bump github.com/docker/docker 80431f0 Bump golang.org/x/crypto from 0.5.0 to 0.6.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* nerdctl: update to v1.3.0Bruce Ashfield2023-04-055-810/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping nerdctl to version v1.3.0-2-g1525035, which comprises the following commits: 0973d30 bump: buildkit to v0.11.3, fuse-overlayfs to v1.10, kubo to v0.18.1 813a575 build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 8a5e2fe build(deps): bump github.com/docker/cli 129a757 build(deps): bump github.com/docker/docker 6b866e0 build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 a5f95e4 build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 e2fabe3 build(deps): bump github.com/ipfs/go-cid from 0.4.0 to 0.4.1 bd6d908 pkg/mountutil: improve error messages ffc1577 use digest instead of a tag while signing 29a9cc1 Add manugupt1's GPG key 28aa476 build(deps): bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 ae18699 build(deps): bump github.com/docker/docker 7300210 build(deps): bump github.com/docker/cli 050016d build(deps): bump github.com/compose-spec/compose-go 815d91b Support quiet in push cmd 1fa35ba Refactor image sign and verify logic 5fc6f2e build(deps): bump github.com/compose-spec/compose-go 5482743 build(deps): bump actions/checkout from 3.4.0 to 3.5.0 b6f9cfa Fix nerdctl help show the hidden commands 512bc74 set container state error 3c23201 build(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 8bc1d42 rootlessutil: always claim non-rootless on non-Linux. 89a78b4 Refactor run command networking options for Windows support. ade009b Fix the top command on Windows cbead58 Add support for showing image size on inspect 75c7914 build(deps): bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 ab2beab Completely skip syslog-related tests on Windows. dde73be test: rootless: main: use v2 config 0586121 Upgrade cosign to 2.0.0 in tests 3effa44 Add unit test for exposing devices to Windows containers 5501d46 Add MAINTAINERS_GUIDE.md d12122a build(deps): bump actions/checkout from 3.3.0 to 3.4.0 2d0c580 build(deps): bump github.com/compose-spec/compose-go f42f125 build(deps): bump actions/setup-go from 3 to 4 b455f38 build(deps): bump github.com/containerd/nydus-snapshotter 1780943 build(deps): bump github.com/klauspost/compress from 1.16.0 to 1.16.3 874894d build(deps): bump github.com/fatih/color from 1.14.1 to 1.15.0 9a6810b update containerd (1.7.0) 02c83a1 build(deps): bump github.com/containerd/nydus-snapshotter 6e58c63 build(deps): bump github.com/containerd/containerd ff6ec3c build(deps): bump github.com/containerd/containerd ee64917 Drop dependency on ctr/commands 52d5787 Drop dependency on ctr/commands/content 74fc0b1 Drop dependency on ctr/commands/tasks 23f9c6e remote snapshotters: migrate to containerd-based label management d5f917f build(deps): bump github.com/containerd/containerd 2eb25f1 Port Windows device support from containerd 4d02668 build(deps): bump golang.org/x/crypto from 0.6.0 to 0.7.0 fcb42d6 Add notation signing and verification 361c987 build(deps): bump golang.org/x/net from 0.7.0 to 0.8.0 df08a17 handle container deps removal with postsop hooks b2ac061 build(deps): bump github.com/containerd/containerd 00ea98e Update naming of filter containers function && `container list` handler b50f0b6 build(deps): bump github.com/compose-spec/compose-go 5e6000d build(deps): bump github.com/containerd/nydus-snapshotter ad6ed08 Fix `operation not permitted` with systemd-homed c93f4c8 build(deps): bump github.com/containerd/go-cni 54cb1c4 build(deps): bump github.com/containerd/nydus-snapshotter 52532dc update containerd (1.6.19) 5108bb4 update Kubo (0.18.1) dd87b58 update Nydus (2.1.4) 760d136 update BuildKit (0.11.3) 8c8630e build(deps): bump github.com/klauspost/compress from 1.15.15 to 1.16.0 2905b88 build(deps): bump github.com/containerd/containerd f386373 add network in use check to `compose down` a30e765 feat: resolve special ip host-gateway ca5f02f cmd/compose: add support for profiles 73b8ebd build(deps): bump github.com/opencontainers/runtime-spec 11dc28d build(deps): bump github.com/vishvananda/netns c03d691 update system prune flag `--all` confirm tooltip cf18cc4 build(deps): bump github.com/containerd/nydus-snapshotter dab24b5 Refactor system prune command flag process 84bec01 refactor(container-list): separate main logic out of printing logic 5b481ea Update command-reference system/image prune --all optional ef06dcb refactor(container): refactor cp flag 795c75c func Save shouldn't create file from options.Output a303ab1 fix: `options.Stdout` should be used instead of `os.Stdout` 01cdaf9 Make system prune all flag optional 754f134 Fix unsupported restart policy message 7c78c80 make confirm logic in `volume prune` be consistent with other Prune 0996732 Fix rmi err checking containers with deleted image d688365 build(deps): bump github.com/compose-spec/compose-go 195da3d CI: test compilation with an old release of Go 57165af update Go (1.20) e30503c Add TestRunAddGroup_CVE_2023_25173 6b9fc94 build(deps): bump github.com/containerd/containerd fa9f627 Build containerd and runc for specific arch with xx 484c853 `types.KillOptions` > `types.ContainerKillOptions` to be consistent abb1da2 Fix the rename command on Windows 12cdfe6 build(deps): bump github.com/compose-spec/compose-go efed3ae Fix images output check bug 0e13baa make prune to remove dangling images only 5e60bfb build(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 ba8545f Retag commonimage before loading to ensure it does not fail. 3ad3e1e build(deps): bump github.com/docker/docker ec78af9 build(deps): bump github.com/docker/cli 8aed73e Refactor container prune and rename command flagging process 8fadc65 test for MergeEnvFileAndOSEnv 587e627 Split rootless driver tests by network driver and portdriver. 371ec29 build(deps): bump golang.org/x/crypto from 0.5.0 to 0.6.0 cd1e43e build(deps): bump github.com/containerd/go-cni from 1.1.7 to 1.1.8 2e05e06 build(deps): bump golang.org/x/net from 0.5.0 to 0.6.0 b584d31 Add more comments to imgutil pull 67df79e test for volume create command 50b4289 build(deps): bump golang.org/x/term from 0.4.0 to 0.5.0 402a1a8 accept Ctrl-C in cri log viewer 8db1886 Cache go artifacts that are not tested within docker 84e4cad Combine image filter logic to imgutil 6a5e423 Combine image options types ff5f333 Optimize id walkers and muti error handling faae24a build(deps): bump golang.org/x/sys from 0.4.0 to 0.5.0 d0e36b6 refactor image prune flag 3eedefa refactor: container list flagging process 1802fe3 build(deps): bump github.com/docker/cli c078dea Refactor (un)pause in nerdctl and compose 1e5120b build(deps): bump github.com/docker/docker d8d409b build(deps): bump github.com/containerd/nydus-snapshotter f60251b build(deps): bump docker/build-push-action from 3.3.0 to 4.0.0 47c094a docs: fix internal links to other Markdown docs. efa2c28 Mark `cri` log viewer as experimental 34e5711 typo: Encoode -> Encode 6240ed7 go.mod: github.com/containerd/accelerated-container-image v0.6.0 9dae8e5 compose: show detailed errors again 2220c08 update gotestsum (1.9.0) 6b48134 update Kubo (0.18.0) 3e649f0 update Nydus (2.1.3) 0767970 update BuildKit (0.11.2) b9d9dfb Update CNI plugins (1.2.0) bdb97a3 update containerd (1.6.16) 1ba5b93 go.mod: github.com/containerd/containerd v1.7.0-beta.3 2ab87da refactor: extract main logic of image.List af317f0 refactor: move unpackedImageSize to imgutil ab92b4f ipfs: move to `net/http`-based implementation instead of binary-based one 143a1a1 refactor: container wait flagging process aee0d8a refactor image save flag 0f254af build: propagate SOURCE_DATE_EPOCH from the client env 65eeaec refactor: system events flagging process 72f447f [Refactor] Refactor the (container) pause command flagging process 5d35581 [Refactor] Refactor the new client outside pkg/cmd. efe04d9 refactor restart flag 6db805f Update readme for dangling image support c59b88b Bump github.com/klauspost/compress from 1.15.14 to 1.15.15 ca0af1b Bump github.com/docker/cli 0823d99 Deduplicate client and option creation in inspect 90baad8 Move client create out of pkg/cmd in inspect cmds 318ec06 refactor container top ea9ac34 Fix: inspect multiple networks stops at first inspect fail 609c264 Bump github.com/docker/docker 9c61793 Bump github.com/fatih/color from 1.13.0 to 1.14.1 d50d490 Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 8d9d83d refactor exec flag 801320a [Refactor] Refactor the container start command flagging process 192ed67 cmd/nerdctl: use canonical filenames (e.g., run.go -> container_run.go) b5c4ca7 mv pkg/cmd/info/info.go pkg/cmd/system/info.go 32d796f [Refactor] Refactor the IPFS command flagging process 105aacb refactor: container stop flagging process fb20478 refactor: container logs flagging process 9470efa refactor: pass an io.Writer to image.List 00cc517 refactor commit flag 71d7b8b [Refactor] Move the function reconfig for container from cmd to pkg/containerutil. 85d2283 refactor image remove command flag 1316fd2 [Refactor] Reorder the method argument ordering in pkg/cmd a09ce88 refactor: move stopContainer to containerutil 0dcf6ab add comment for api types 8cb887a [Refactor] Move generateSharingPIDOpts from cmd to pkg/containerutil 7eae969 Bump github.com/compose-spec/compose-go from 1.8.2 to 1.9.0 0088e84 cmd/nerdctl: withBindMountHostIPC: slight refactor eab7e67 [Refactor] Move withBindMountHostProcfs from cmd to pkg/containerutil eec294d refactor: move updateContainerStoppedLabel to containerutil 7ad50eb Add Windows HyperV container mode a108460 Move command reference to a separate doc 0517682 refactor: consolidate main logic of volume.List into volume.Volumes caf406f refactor image info flag eada6de refactor image pull flag b829764 refactor: image tag flagging process 1089061 Increase CI timeout b726a3a Refactor the network command flagging process 572d790 Bump github.com/containernetworking/plugins from 1.1.1 to 1.2.0 76fb67f Refactor container inspect 287e0af [Refactor] Move getContainerNetNSPath from cmd to pkg/containerutil 9db3857 [Refactor] Refactor the namespace command flagging process ad635da add support logs for namespace k8s.io 0c46a70 [refactor] Adjust code style for apparmor command 0b37d72 [refactor] Adjust the code style in `pkg/cmd/volume/*` fad078a refactor: login flagging process efb501c [Refactor] Move exit_coder from cmd to pkg/exit_coder 5de2d33 Bump docker/build-push-action from 3.2.0 to 3.3.0 393e207 Refactor nerdctl rm 2581da9 [Refactor] Refactor the image_* command flagging process e49e9be [Refactor] Refactor the kill command flagging process. 1d7c743 Refactor network list a91f502 Bump docker/metadata-action from 4.2.0 to 4.3.0 cd5892f go.mod: github.com/docker/docker v23.0.0-rc.2+incompatible 4f33d57 CI: ensure that ./pkg/... is decoupled from the CLI packages 23af1bb nerdctl system prune: drop Go dependency on BuildKit b083a6e update BuildKit (0.11.0) 422e826 tests: rmiAll: prune content blobs 6f1c8eb pkg/cmd: Ls -> List 361099e mv pkg/cmd/load/load.go pkg/cmd/image/load.go 99ba431 mv pkg/cmd/build pkg/cmd/builder ba01a64 Add nerdctl builder build command 907fb61 Fix rename command readme 391bb6a Add ability to run Hostprocess containers 3de4c8c Bump docker/metadata-action from 4.1.1 to 4.2.0 f54251c [Refactor] Refactor all the GlobalCommandOptions from pointer to value reference 4c1097b [Refactor] Refactor the images command flagging process 6dbeba5 Use current console when attaching a tty container bf00c2a ipfs: allow configuring ipfs daemon address b07417f [Refactor] Refactor the compose command flagging process 0c5328c Refactor the volume flagging process efaf3d6 [Refactor] Refactor the load command flagging process b9ce2af [Refactor] Refactor the build subcommand flagging process c2024be Fix the container will be created when `nerdctl run -d --rm` dc374a5 [refactor] Add global flag process helper function c246de7 Bump github.com/compose-spec/compose-go from 1.8.1 to 1.8.2 cd82f2e Bump github.com/containerd/nydus-snapshotter from 0.4.1 to 0.5.0 1488291 Bump actions/checkout from 3.2.0 to 3.3.0 a18765b Bump golang.org/x/crypto from 0.4.0 to 0.5.0 a9d28ac Bump golang.org/x/text from 0.5.0 to 0.6.0 47eb362 Bump github.com/containerd/containerd from 1.7.0-beta.1 to 1.7.0-beta.2 88cabdd CI: Pass GITHUB_TOKEN to containerd/project-checks 156cf0e Bump github.com/klauspost/compress from 1.15.13 to 1.15.14 49d28f0 Add a prefix to apparmor command options to avoid conflict 30b09eb [Refactor] Move the Config Struct from cmd/main.go to pkg/config c79d835 Refactor the volume ls command flagging process e5b76f4 run: Add cgroup-parent flag 5a21b84 tests: Use AssertOk for deferred cleanup 6081141 [Refactor] Move containerd client helper from cmd to pkg/clientutil 606261d Refactor the apparmor flagging process 9d79e98 Filter dangling images using image filters. 52b2fa0 [Refactor]: Move fmtutil from cmd to pkg/formatter 3dc21df Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 426208f feat: add `--remove-orphans` flag to `compose down` 0258743 Make nerdctl save work with image ids 17800d1 run: Consolidate namespace options 359521e run: Add --uts flag c7487db fix can't save image by image id 8038d41 retain custom hosts outside markedRegion 0c495fc setPlatformOptions: Change signature 4e33afe Refactor restart flag process in update command d210d08 add update restart policy 5d0d3cc remove processed TODO b7c39f7 Bump github.com/containerd/nydus-snapshotter from 0.4.0 to 0.4.1 858b7be Bump github.com/klauspost/compress from 1.15.12 to 1.15.13 5726ecd Disable default hostname when network is set to container mode 5546d6d IPFS: use ipfs binary instead of library ace02c1 Bump github.com/compose-spec/compose-go from 1.8.0 to 1.8.1 181e5a3 SetInterspersed(false) for compose run 38d03da Add compose create command ae7796c Fix and make compose start work with compose create a0a4006 Clean test duplication 9463f3a Fix a bug that goroutine refers loop variable c67b102 Support NewTerminal & Detached mode 162602b Add RequireExecutable to testutil 07e3c37 Bump github.com/docker/cli 43a7150 Minor format change to pkg/composer/up.go 2d51277 Fix compose dependency order 06f9af8 Bump github.com/containerd/containerd from 1.7.0-beta.0 to 1.7.0-beta.1 44b6a6c Bump github.com/klauspost/compress from 1.15.12 to 1.15.13 385e1fd Add compose start command 73777ec tentative defalke testRunWithJsonFileLogDriver* 0575de8 feat: use buildkit API for clean up build cache 2e13172 MAINTAINERS: add Jin Dong(djdongjin) as a REVIEWER 894abcf feat: support for multi-arch image build support 53c7293 Bump actions/checkout from 3.1.0 to 3.2.0 e541997 Make titles Bold in nerdctl output af06549 go.mod: github.com/ipfs/go-merkledag v0.8.1 dea3ad9 go.mod: accelerated-container-image v0.5.3-0.20221209054854-fbdabc5a08b6 f04c7c0 Fix timeout arg bug e771508 Fix: Delete the used network in other namespace e833819 Bump github.com/ipfs/interface-go-ipfs-core from 0.7.0 to 0.8.0 8fab27b Fix: Deleting multiple networks stops at first delete fail 276be12 build: improve error message 94116f6 CI: add gotestsum with --rerun-fails=2 e2dbab5 Upgrade indirect dependancy go-libp2p-core to v0.20.1 6d03d64 pkg/idutil/netwalker: fix nil pointer dereference 9271dcd Add compose port f0a5c61 Add compose top e772c36 update fuse-overlayfs (1.10) b44116e update containerd (1.6.12) 3442558 Add compose pause and unpause b669481 docs: minimum oom-score-adj for rootless containerd 3bdb39f Bump golang.org/x/crypto from 0.3.0 to 0.4.0 e213a7a Bump golang.org/x/net from 0.3.0 to 0.4.0 09fa4f5 Bump golang.org/x/net from 0.2.0 to 0.3.0 a48a342 Improve compose exec test 40c44ca Fix env flag in compose exec 677c433 fix: multi-image files load output 4404583 Add unit tests for default network creation. f530136 Add usage output to commands without arguments 368ca30 deflake TestNetworkRemoveById 84ed0d6 Add compose exec command 69cdf19 Bump golang.org/x/text from 0.4.0 to 0.5.0 70a864d Bump golang.org/x/sys from 0.2.0 to 0.3.0 41cdacf Make `netutil.CNIEnv` stateless. 6baa5f6 Prevent double-creation of nerdctl default network. fab8702 Add filter by image support by reference 16dc40f Change run to AssertOK in network test 4525c82 deflake network tests 01ca115 Moved NetworkWalker to another package 9165474 Export NetworkConfig struct 98054c2 Add the option to remove a network by id 2b6b614 Remove unnecessary lock aa82640 Improve compose test 2600e0f Bump github.com/compose-spec/compose-go from 1.7.1 to 1.8.0 1ca5e90 doctoc docs/faq.md 51c570b docs: explain how to get rootless containerd socket address 6da1acb allow container network_mode in compose a5ce077 Add json format support in compose ps 12e4f61 fix network rm: no running tasks 9013bdc Deflake TestCompletion 9a184ed Bump github.com/containerd/nydus-snapshotter from 0.3.3 to 0.4.0 b2735d1 Refactor the logging driver process function 74aff28 go.mod: add a comment about indirect dependency on btcsuite/btcd/btcec 150547f Add an extra validation when remove the network ff9775b update Kubo (0.17.0) a388cf0 update containerd-fuse-overlayfs (1.0.5) f13819e update Nydus (2.1.1) f9df0c8 update containerd (1.6.10) b6f90fc update RootlessKit (1.1.0) 977336b MAINTAINERS: add Manu Gupta (manugupt1) as a REVIEWER f1f33d8 MAINTAINERS: promote Ye Sijun (junnplus) from a REVIEWER to a COMMITTER 1767349 MAINTAINERS: add Hanchin Hsieh (yuchanns) as a REVIEWER e830a44 Bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0 a4099c7 Bump github.com/compose-spec/compose-go from 1.7.0 to 1.7.1 8523663 default network creation behavior daa99c3 Refactor remove containers in compose 3c5b069 Add support for filtering images by labels. f07b3f5 Add compose images command 5fea9dc Add yaml linter 72f74f5 Fix block issue for `stats -a` command when there is dead container b318c01 Add compose rm command 579a0e3 binfmt: support /proc/sys/fs/binfmt_misc/rosetta 0c7f619 Resolve flaky TestRunWithLogBinary 671be9a Add project name log in some tests fa8caf9 Add compose restart command 6251c46 Add support to overlaybd convert 5b69fad Bump github.com/tidwall/gjson from 1.14.3 to 1.14.4 cdb5320 MAINTAINERS: promote Zheao Li from a REVIEWER to a COMMITTER 5fb66b8 Ensure compose down is called in tests 1ea5ab8 Reorder internalLabels 4779fa7 Delete setPlatformContainerOptions() 6596486 Simplify internalLabels 4f87ff0 fix stats collect bool var e367097 Use service label to check orphan container e65ac4d relax "containerIP assignment is not supported in rootless mode" error 38f4bcb Copy host env to container for env/envfile option e7674c8 Deny rm image action when this image is used by running container bf0aacf Update command use bef23b9 go.mod: unfork hashicorp/golang-lru dd0ff4b restrict the oom_score_adj value when running in a userNS b532478 Support for ephemeral ports 2d91967 add-golint-revive 292d849 Bump golang.org/x/crypto from 0.2.0 to 0.3.0 cfa27df Fix keyless mode in compose up|run 9a0621f Add cosign in compose run, up, pull, push 229dad2 fix-blkio-weight-panic 47e26a7 golangci lint add unconvert check 7e8a1cf update-golangci-lint 1.50.1 c2523f0 Add more flags for image conversion 89243da Bump github.com/multiformats/go-multiaddr from 0.7.0 to 0.8.0 9148a60 Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 b0434b5 Enable image convert to customize zstd compression level 65981f1 Let calculate the number of unique images f23d8c9 Refactor stop containers 63ff756 Fix `--time` argument for `nerdctl restart` command a03f8ae update BuildKit (0.10.6) af44dbb update stargz-snapshotter (0.13.0) 48e9c0f Refactor `nerdctl logs` functionality to pkg/logging. 005ad3c Enable 'nerdctl/log-uri' label passing on Windows. 287d7a2 Bump containerd dependency in go.mod. f9a7eb4 Bump github.com/containerd/nydus-snapshotter from 0.3.2 to 0.3.3 805e63c Remove compose stop from unimplemented e6c5c90 Add more specific description about restart and kill command cf3430f Bump github.com/ipfs/go-ipfs-files from 0.1.1 to 0.2.0 086e4eb Small fix on bridge ipam 8cb1679 Bump github.com/compose-spec/compose-go from 1.6.0 to 1.7.0 9593367 Improve the documenation of 'compose build --progress' 41d5019 Bump github.com/containerd/nydus-snapshotter from 0.3.1 to 0.3.2 d43b1f1 Bump github.com/coreos/go-systemd/v22 from 22.4.0 to 22.5.0 cbae86b Update getRestart doc in compose 09f9ed6 Remove DockerIncompatible 85cf730 switch master to main 5836776 removes the obsolete //+build lines with go1.18 a92afb0 CI: support main branch e688de7 Add a dangling image prefix when tag name is not specified. bc69897 containerd-rootless-setuptool.sh: fix CONTAINERD_SNAPSHOTTER isn't recognized a9936f3 Bump github.com/docker/cli 55b8629 Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 0d14fbe Bump github.com/containerd/nydus-snapshotter from 0.3.0 to 0.3.1 91517ae Bump github.com/docker/docker e46eb50 Add support for converting nydus images to `nerdctl image convert` 3df677d Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ec8e352 Support `nerdctl build` custom outputs alias of type local a13e1f0 Add '--mode' to 'network inspect' in README 8c59b2b Bump github.com/containerd/nydus-snapshotter from 0.3.0-rc.3 to 0.3.0 b004a8e Dockerfile: demo: enable bash completions d2e5dc8 Dockerfile: demo: configure BuildKit to use containerd worker 132dc09 release note: clarify the compatible containerd versions 6fb9de5 update Kubo (0.16.0) 29f718d update stargz-snapshotter (0.12.1) 6c80673 update BuildKit (0.10.5) 3e367ab update imgcrypt (1.1.7) 98eac1e Bump github.com/docker/cli 666fece Add more examples of Kubernetes (Kind) + IPFS 1f839b2 Bump github.com/docker/docker f83a913 Support --pid=container:xxx for `nerdctl run` cmd 6d5e5a2 Bump golang.org/x/text from 0.3.8 to 0.4.0 490ca8c Bump docker/metadata-action from 4.1.0 to 4.1.1 6c3a519 Bump github.com/containerd/stargz-snapshotter/ipfs from 0.12.0 to 0.12.1 ef50c08 Bump github.com/containerd/stargz-snapshotter from 0.12.0 to 0.12.1 0a8e2c7 Bump github.com/containerd/imgcrypt from 1.1.6 to 1.1.7 174119d Bump containerd/project-checks from 1.0.2 to 1.1.0 5fce296 Bump github.com/docker/docker a446c9a Bump github.com/docker/cli a9dda52 Support build args without explicit value b4036f6 Support `log-path` opt for json-file logging driver ac6c767 Bump docker/login-action from 2.0.0 to 2.1.0 32f541e Bump docker/metadata-action from 4.0.1 to 4.1.0 b963a6e Bump docker/build-push-action from 3.1.1 to 3.2.0 82f806a Use sys/windows to lock file 1708238 Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 0ede9c8 Bump golang.org/x/text from 0.3.7 to 0.3.8 bfc44ae Bump gotest.tools/v3 from 3.3.0 to 3.4.0 adca3e4 Support argument `--mac-address` for nerdctl run command 02ad394 Bump actions/checkout from 3.0.2 to 3.1.0 ea90e56 follow-up TestLoadStdinFromPipe 0bcedac Fix nerdctl load stdin for pipes. a83d5b7 Drop dependency on github.com/docker/docker/registry 184a45e Makefile: Set VERSION & REVISION only if unset ca696e5 Bump github.com/Microsoft/go-winio from 0.5.2 to 0.6.0 5ec1a8f Bump github.com/compose-spec/compose-go from 1.5.1 to 1.6.0 0a5016d Support `syslog` driver for nerdctl 21c6c89 fix flag conflicts 3e1b10d Add `nerdctl compose version` command 2308828 Create an anonymous volume when --mount is specified. 82b9f41 Fix typo: builctl -> buildctl 80bb6cb Bump github.com/coreos/go-systemd/v22 from 22.3.2 to 22.4.0 3603055 Update images usage to contain positional arguments 971d9cb Bump github.com/compose-spec/compose-go from 1.5.0 to 1.5.1 5e93fa5 Change login and logout msg from Docker registry to container registry 0273c00 Implements logURI to support 3rd party ctrd shim logger 6de0662 Bump github.com/docker/cli e953d09 Bump github.com/docker/docker 17a58aa Bump github.com/multiformats/go-multiaddr from 0.6.0 to 0.7.0 70bea8c Bump up buildg to v0.4.1 0b21ba7 Bump github.com/containerd/nydus-snapshotter 42f8a10 ServerAddress: Refactor logic and preserve debug logging e53cde0 Fix crun incompatibility `cannot set swap limit without the memory limit` ba373e5 cmd/nerdctl: simplify --help 37c045d update bypass4netns (0.3.0) 3d6e51a typo 1bbae54 Randomize container names in compose run 7418f35 Bump github.com/docker/go-units from 0.4.0 to 0.5.0 e28ca33 update bypass4netns (0.2.3) c8ab6c3 update Kubo (0.15.0) 6b7a2d6 update BuildKit (0.10.4) aeb3342 update runc (1.1.4) 7828a38 README.md: `nerdctl compose run` is now implemented b5c027b Add tests and docs for compose run command 3296c14 Implement StdinOpen and Tty options in `compose` fbd8ba0 Add compose run command template 0691b36 Support filter argument for `nerdctl ps` command fdaaf34 replace use of deprecated sys.RunningInUserNS 3616607 remove dep between detach and cid in compose run 8c3cf4a golangci-lint: remove deprecated linters fb57539 feat: add an experimental config in toml ed70c23 Support filter argument for nerdctl volume ls command 4929d19 Support filter argument for `nerdctl images` command e62f44c Bump github.com/containerd/nydus-snapshotter 488921c Bump github.com/compose-spec/compose-go from 1.4.0 to 1.5.0 5bff48b run: add a new privileged-without-host-devices option 0d3beee Bump github.com/tidwall/gjson from 1.14.2 to 1.14.3 5dc9863 pkg/testutil: remove unused GolangImage df84d82 update Go (1.19) 2d477e3 go fmt (1.19) 44063b9 go mod tidy (1.19) b36c69f update containerd (1.6.8) 24c851c Bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 e70f7d7 exclude default bridge network in `network prune` b3d3958 Make the ServerAddress optional for the main docker registry. 3245439 Bump github.com/containerd/nydus-snapshotter d347673 nit: remove unused variable and unreqd variable b71febc fix stats output 4c2140d upgrade containerd to main b1893b2 Bump github.com/tidwall/gjson from 1.14.1 to 1.14.2 20e319e Bump docker/build-push-action from 3.1.0 to 3.1.1 2a7a712 Add ability to show sizes in volume ls as well 013ebdc Bump github.com/containerd/nydus-snapshotter Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: update to 5.0.2-tipBruce Ashfield2023-04-051-1/+1
| | | | | | | | | Bumping lxc to version lxc-5.0.2-1-g727adc052, which comprises the following commits: 727adc052 drop broken lxc-test-fuzzers d57173681 Release LXC 5.0.2 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: update to v1.25.8Bruce Ashfield2023-04-054-1323/+1429
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cobra: update to 1.6.0Bruce Ashfield2023-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping cobra to version v1.6.0-32-g4dd4b25, which comprises the following commits: 4dd4b25 Update main image to better handle dark background (#1883) 45360a5 Allow sourcing zsh completion script (#1917) c8a20a1 Document suggested layout for subcommands (#1930) b197a24 Update projects_using_cobra.md (#1932) 9e6b58a update copyright year (#1927) fb36524 ci: test Golang 1.20 (#1925) c7300f0 ci: deprecate go 1.16 (#1926) 567ea8e Add support for PowerShell 7.2+ (#1916) 3daa4b9 Add keeporder to shell completion (#1903) a516d41 Removes stale bot from GitHub action (#1908) e839bb3 build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#1902) 87ebcd8 Update shell_completions.md (#1907) 8b8ee87 Improve MarkFlagsMutuallyExclusive example in User Guide (#1904) d022c0f Add documentation about disabling completion descriptions (#1901) 4fa4fdf build(deps): bump github.com/inconshreveable/mousetrap (#1872) b4f979a completions: do not detect arguments with dash as 2nd char as flag (#1817) bf11ab6 fix: func name in doc strings (#1885) fdffa5a Update badge route (#1884) f25a3c6 fix: conflict import name with variable (#1879) 9235920 ci: deprecate go 1.15 (#1866) a6f198b Update kubescape org (#1874) 7bb1440 build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.1 (#1851) 6200c8e Makefile: add target richtest (#1865) c6b9971 fix: force ForEach-Object to return array in pwsh completion (#1850) 4305498 Update stale.yml (#1863) ad6db7f Create unit test illustrating unknown flag bug (#1854) 6b0bd30 fix: don't remove flag value that matches subcommand name (#1781) cc7e235 Add Sia to projects using Cobra (#1844) 10cf7be Check for group presence after full initialization (#1839) 4b9d00d Replace deprecated ExactValidArgs with MatchAll in user_guide and shell_completions example (#1836) badcce1 style(bash-v2): various cleanups (#1702) 1424b7b Add Constellation to projects using cobra. (#1829) 8607918 feat: make InitDefaultCompletionCmd public (#1467) 2169adb Add groups for commands in help (#1003) 212ea40 Include --help and --version flag in completion (#1813) d4040ad Allow user to add completion for powershell alias (#1621) 23fc5e0 ci: add minimum GitHub token permissions for workflows (#1792) 93d1913 Add OnFinalize method (#1788) 07034fe build(deps): bump actions/stale from 5 to 6 (#1815) 3dc9761 Add allero to list of projects using cobra (#1819) 7039e1f Add '--version' flag to Help output (#1707) fce8d8a Expose ValidateRequiredFlags and ValidateFlagGroups (#1760) a281c8b Document option to hide the default completion cmd (#1779) 459fc5f ci: add workflow_dispatch (#1387) 6d978a9 add missing license headers (#1809) 4065a33 ci: use action/setup-go's cache (#1783) 7e289f4 Adjustments to documentation (#1656) fe08012 Rename Powershell completion tests (#1803) d689184 Support for case-insensitive command names (#1802) 70e53f6 Deprecate ExactValidArgs() and test combinations of args validators (#1643) 2e8ba6f Use correct stale action `exempt-` yaml keys (#1800) 0580724 With go 1.18, we must use go install for a binary (#1726) 2a7647f Clarify SetContext documentation (#1748) 7045405 ci: test on Golang 1.19 (#1782) 22b6179 fix: show flags that shadow parent persistent flag in child help (#1776) dbf85f6 Update gopkg.in/yaml.v2 to gopkg.in/yaml.v3 (#1766) f911c0b fix(bash-v2): activeHelp length check syntax (#1762) 7790bf9 fix: correct command path in see_also for YAML doc (#1771) 6bf8cd8 build(deps): bump github.com/inconshreveable/mousetrap (#1774) 965924a docs: add zitadel to the list (#1772) 162534f doc: Add Okteto for projects using Cobra (#1759) a0aadc6 Spelling for GitHub CLI (#1744) 69083f8 Add Cilium to projects using Cobra (#1745) bba9331 doc: Add CloudQuery for projects using Cobra (#1742) 3d38d18 Add KubeVirt as a project using cobra (#1741) 06b06a9 Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#1697) 5f2ec3c Update shell completion to respect flag groups (#1659) b9ca594 use errors.Is() to check for errors (#1730) ea94a3d undefined or nil Args default to ArbitraryArgs (#1612) 7c9831d Fix handling of descriptions for bash v3 (#1735) ed7bb9d Add unit test for fish completion (#1515) f464d6c Add Active Help support (#1482) 7dc8b00 Bump actions/setup-go from 2 to 3 (#1660) 87ea180 Modify brew prefix path in macOS system (#1719) ca8e3c2 Add Pulumi as a project using cobra (#1720) 37d481d fix: Don't complete _command on zsh (#1690) 5b11656 perf(bash-v2): read directly to COMPREPLY on descriptionless short circuit (#1700) ffa8860 Change links from http:// to https:// (#1695) e1ded5c fix(bash-v2): skip empty completions when filtering descriptions (#1691) 8afe9d1 Bump github.com/cpuguy83/go-md2man/v2 from 2.0.1 to 2.0.2 (#1688) 25f5bb5 Prefer ReplaceAll instead of Replace(..., -1) (#1530) 9e88759 perf(bash-v2): speed up filtering menu-complete descriptions (#1692) fb80311 perf(bash-v2): speed up filtering entries with descriptions (#1689) 95d7df1 perf(bash-v2): short-circuit descriptionless candidate lists (#1686) f17e5a2 style(bash): out is not an array variable, do not refer to it as such (#1684) 09d6ba6 perf(bash-v2): standard completion optimizations (#1683) 4f0facb style(bash-v2): out is not an array variable, do not refer to it as such (#1681) 2722a75 perf(bash-v2): use backslash escape string expansion for tab (#1682) d8184d3 Fix typo sh completion docs (#1678) b9460cc Bump codelytv/pr-size-labeler from 1.8.0 to 1.8.1 (#1661) 89d7b83 Add Polygon Edge as a project using Cobra (#1672) 68b6b24 Add ability to mark flags as required or exclusive as a group (#1654) bf6cb58 Wrap printf tab with quotes (#1665) 9d15fe6 Update stale-bot (#1609) 5271cf4 ci/test: RICHGO_FORCE_COLOR (#1647) ab42c93 Adds size labeler GitHub action (#1610) 52e6099 Bump actions/checkout from 2 to 3 (#1619) 5414d3d Bump golangci/golangci-lint-action from 2 to 3.1.0 (#1615) cf0df73 Bump actions/labeler from 3 to 4 (#1620) 3723151 Bump actions/cache from 2 to 3 (#1640) 1568491 Bump actions/stale from 1 to 5 (#1618) d622355 Changed branch name in the cobra generator link to 'main' (#1645) 03c3eb7 Add Kubescape to projects (#1642) 3a1795b Fix Command.Context comment (#1639) f848943 Add Command.SetContext (#1551) 5d066b7 Introduce FixedCompletions (#1574) 94e552d Add backwards-compatibility tests for legacyArgs() (#1547) 8cc7be2 feat: Add how to load completions in your current zsh session (#1608) 65b1195 ci: test on Golang 1.18 (#1635) 37463cf Remove CHANGELOG.md as it isn't updated (#1634) 81d27c8 fix some typos (#1625) 5b2b9e9 Removes viper dependency by removing cobra/ CLI tool (#1604) 9369465 labeler: fix syntax e1b831e Updates labeler for new labels (#1613) 8267283 Add MAINTAINERS file (alphabetical order) (#1545) 6d2dc43 Add Pixie to projects. (#1581) a599632 Fix install command (#1576) 7cabfeb Update Go Doc link and badge (#1593) e04ec72 Bump license year to 2022 in golden files (#1575) cb9d7b1 Bump github.com/spf13/viper from 1.10.0 to 1.10.1 (#1567) 178edbb Bump github.com/spf13/viper from 1.9.0 to 1.10.0 (#1561) 9054739 Remove __complete cmd for program without subcmds (#1563) 19c9c74 Always include the os package import when generating the root command (#1557) 01e05b8 Bump github.com/spf13/viper from 1.8.1 to 1.9.0 (#1554) 36bff0a fix root.go.golden (#1552) 1854bb5 Fix some typos (mostly found by codespell) (#1514) ff2c55e chore(ci): use golangci-lint-action (#1477) 1beb476 fix: Duplicate error message from cobra init boilerplates (#1463) 6f84ef4 Provide option to hide default 'completion' cmd (#1541) ee75a2b Remove trailing spaces from bash completion command description (#1520) 25bab5a Fix invalid shell completion when used with ~/.cobra.yaml (#1510) 3fed3ef Support different bash completion options (#1509) 507caf5 completions: fix mixed tab/spaces indentation (#1473) c7a4421 fix: typo in {bash,zsh}_completions.go (#1459) c3573e2 Completion: Capitalize short desc, and remove extra space from long (#1455) dd40ab0 feat: improve completions help formatting (#1444) d298d79 Update shell_completions.md to have automatically rootcmd (#1372) 6f19fa9 fix: unbound variables in bash completion (#1321) d65ba12 github: add dependabot configuration file (#1427) 45e521e enable composing PositionalArgs (#896) 9e1d6f1 args_test: add helper functions (#1426) 62a72cd fix(diff): use arg '--strip-trailing-cr' (#949) 442031e Allow specifying licenses using their SPDX identifier (#1159) 78969f9 Remove "Lesser" from header for GPL-2.0 template (#880) 3c84bf8 Small correction in User Guide (#1009) 3ba5f15 Projects using cobra update (#1454) bfacc59 Addressing typos identified by @marckhouzam 2682562 Simplifying goGet function cf87fc4 Updating generator documentation and links c97b7ec Update documentation to reflect the module aware generator 9388e79 Cobra generator now works within Go modules c9edb78 Change generator default license to none dcf42b2 Change generator to require opting in to viper. c0dd5cd Removing unused imports when not using Viper f09e947 readme: remove ToC, since it's now shown by GitHub (#1429) d2c0cb3 DisableFlagParsing must disable flag completion (#1161) c1973d3 Update projects-using markdown with Tanzu (#1501) 4fd30b6 ci: test golang 1.16.x and 1.17.x too (#1425) 2a52778 go.mod: cpuguy83/go-md2man/v2 v2.0.1 (#1460) 56060d1 Add Meroxa CLI (#1377) de187e8 Fix flag completion (#1438) 07861c8 Fix documentation (#1434) 5738d6b Add install instructions for zsh on Mac OS (#1417) 5d46ac9 custom comp: do not complete flags after args when interspersed is false (#1308) 3c8a19e fix RegisterFlagCompletionFunc concurrent map writes error (#1423) 2dea4f2 Bump to viper 1.8.1 (#1433) b361960 Bash completion V2 with completion descriptions (#1146) d0f318d ci: deprecate Travis CI 8eaca5f drop mitchellh/go-homedir (#853) ace6b14 readme: split 'Getting Started' into 'user_guide.md' 701fa6c chore(deps): update viper 9a43267 fix home directory config not loading (#1282) 4590150 Correcting misspelled words (#1349) c2e21bd Fix multiple fish completion issues (#1249) 95d23d2 Fix zsh for DirectiveNoSpace and DirectiveNoFileComp (#1213) 2d94892 Custom completion handle multiple shorhand flags together (#1258) 6d00909 Pass context to completion (#1265) 7223a99 powershell completion fix no file comp directive (#1363) 06e4b59 Allow fish comp to support trailing empty lines (#1284) 3ed6a39 ci/MSYS2: go install @latest (#1366) eb3b639 Bash completion variable leak fixes (#1352) b55fa79 Add PR labeler with pull_request_target (#1338) b312f0a Create 'completion' command automatically (#1192) ded486a Fix trailing whitespace in the powershell completion script (#1342) 893ebf6 Fix typo be1efc8 Update CHANGELOG.md for v1.1.3 7f95502 Update CHANGELOG.md for v1.1.2 07445ea Copyedit shell-completion related documentation b73b344 ci: add GitHub Actions workflow 'Test' (#1339) 652c755 Use golangci-lint (#1044) 1d71ff0 Deprecate Go < 1.14 (#1323) 1135bde Update gopkg.in/yaml.v2 to v2.4.0 9df156e Cobra User Contract (#1292) ff416ad Revert "Add the ability to specify a filePostpender in GenMarkdownTreeCustom (#1270)" (#1317) 23a6174 Add the ability to specify a filePostpender in GenMarkdownTreeCustom (#1270) 4384b91 Bump license year to 2021 in golden files (#1309) a4ab3fa powershell completion with custom comp (#1208) 471c9ac Add the new Twitch CLI to to projects_using_cobra.md (#1301) 7df62f7 fix typos (#1274) 39b5a91 README.md Readability Improvements (#1228) 08c51e5 Add ORY Hydra & Kratos to projects_using_cobra.md (#1273) 86f8bfd fix manpage building with new go-md2man (#1255) f32f4ef Don't use yaml.v2 2.3.0 which has a breaking change (#1259) 142dfb1 Add example for making persistent flags required (#1135) 723d0c3 Add tendermint and cosmos-sdk to the list of projects using cobra (#855) b97b5ea fix: fish output redirection (#1247) f64bfa1 Fix zsh completion not working on the first time in a shell session (#1237) 40d34bc Fix stderr printing functions (#894) 0bc8bfb Remove secondary go mod to prevent broken `go get` (#1233) 7f8e83d Modifying "snake-case" to "kebab-case" for clarity. (#1196) 8a39cb2 Bug fix in README (#1199) 2a8d0f3 Adding Kool to list of projects using cobra (#1224) 6c06523 add arduino-cli to projects using cobra (#1117) 8a63648 Handle linebreaks in custom completions. (#1162) 50258f1 Complete subcommands when TraverseChildren is set (#1171) 02a0d2f doc: GenMarkdown skip Synopsis on empty long cmd (#1207) 9ed1d71 bugfix/cli: Temporary fix for go get on cobra cli (#1200) 8cfa4b4 Add documentation for Use (#1188) 81e0311 modules: add a secondary go.mod to segregate CLI dependencies (#1139) 5cdf8e2 Fix typo (#1187) a0b86e5 Correct a typo in doc/util.go (#1184) a738b60 Add CONTRIBUTING.md (#1183) 96dc555 Update projects_using_cobra.md (#1147) 0e27f22 Add slack badge to point to cobra slack channel (#1181) c6fe2d4 Improve zsh completion documentation (#1169) 19e41cf Adding werf to projects using cobra (#1163) b95db64 Add golangci-lint in project using cobra (#1150) 884edc5 update viper and pflag (#1012) 675ae5f Fish does not accept - or : in vars (#1122) 5d52907 Update README.md (#1154) 207dc47 Close #1152 by upgrading yaml.v2 to v2.3.0 (#1153) 2c5a0d3 Extend Go completions and revamp zsh comp (#1070) (#1070) 0431872 Add completion for help command (#1136) ed7b60e YAML documentation contains "Usage" (#1037) 1d3ac91 Update projects_using_cobra.md (#1113) 94a87a7 disable periodic labeler (#1112) 5155946 Ignore required flags when DisableFlagParsing (#1095) aa5badd Metal Stack CLI is using cobra as well (#1094) a7aaa7c replace labeler action with periodic-labeler (#1097) f8fdd17 Complete command names even if ValidArgs present (#1088) e392f32 Man pages won't have auto gen tag when option is disabled (#1104) 41fd44e Fix cobra init cmd help documentation (#1108) 44d55fb Fix cobra command README (#1106) 11ba63f Add Helm as project using Cobra (#1103) 090d94f Move projects using Cobra (#1090) 8c638d3 Fixed typo. (#1087) a684a6d Fish completion using Go completion (#1048) 7fead4b Remove/replace SetOutput on Command - deprecated (#1078) 4741428 Add Github CLI to list of projects using Cobra (#1034) b84ef40 Rename BashCompDirectives to ShellCompDirectives (#1082) b80aeb1 Add support for custom completions in Go (#1035) 138b98f add support for autolabel stale PR (#1075) d88d9a0 Add Labeler Actions (#1074) bbffa3a rm circle ci badge (#1073) f628835 Replace deprecated SetOutput func with SetOut and SetErr in test (#1053) 6607e6b Partial Revert of #922 (#1068) 95f2f73 Add short version flag -v when not otherwise set (#996) 39cf99f leverage makefile to run build tasks (#976) 3c26245 Correct documentation for InOrStdin (#929) 0da0687 Add support for context.Context 21cab29 fix: undefined er (#1039) 89c7ffb Bump year on golden files (#1010) bf26895 Fix regression when calling *_custom_func (#1001) 447f182 format tpl/main.go templates (#980) 0d9d2d4 Revert change so help is printed on stdout again (#1004) b04b5bf substitute wrong word in md_docs (#998) 77e4d5a Update md2man to v2.0.0 (#977) 8a4b46f update viper to v1.4.0 (#953) c022f6f Update README.md (#944) 48e6ac4 update doc w/ newer cmd/root.go example (#973) 3745fcd add goreportcard to readme (#971) 19cf35e fix: ensure that testproject is removed even after a failure (#948) 606aa57 Used goimports to fix import order (#912) 4f2877d clean(travis): remove shellcheck from before_install (#947) b80588d fix undefined cfgFile in documentation (#924) 993cc53 Adjustments per PR review feedback from @bogem d851963 Correct all complaints from goimports 51f06c7 Correct all complaints from golint 9334a46 Return an error in the case of unrunnable subcommand 9552679 Add idiomatic handling of go error in distinct main func af29f95 Add ignore of cobra posix binary and all of intellij generated files 1c9c46d Update Generator Docs to reflect changes brought in #817 (#904) 2d7544e fix missing newline in cmd/add (#905) 9a31ddf Add Linkerd to list of projects using Cobra (#892) 21f39ca bash: fix shellcheck errors (#889) f2b07da fixing linter issues b635726 considering stderr in UsageString e35034f Add tests cb27ce1 Deprecate and maintain backwards compatibility 618bc00 Allow for explicit output to err/stderr 0ea93dd Fixed linter issues 4a716d1 Extending redirection to stdout, stderr, stdin 5f23f55 Update README.md 9eb9f5c Add gardenctl to projects build using Cobra 2411ac5 remove unused struct fields 984374f clean up testproject files after test executes 11aa612 test add 303a3e5 vgo - strip out unused methods 0bb1506 remove commented field in struct 2fea75b vgo - add command working 3c42f84 fix duplicated dir 221bae3 depricate package name flag b8ad19a reorder some operations 732e4db vgo - trim some uneeded data from struct c7ac101 vgo - fixing up the add op to work with vgo 3741457 add CommandTemplate 50665e9 vgo - update golden templates 642c3c7 vgo - compare generated files against golden files e993d53 vgo - take named directory or current wd 04af6ae vgo - add todo c3b51f3 simplify test 4c22a20 vgo - remove unused methods 73b5215 vgo - fix format 44c2d48 fix calling to createLicenseFile 91dbcb7 remove commented code 5b1685f vgo - generate license abab9aa vgo - add Create method to Project struct 69420a9 vgo - create directory 17dc9f8 fixing up templates more 26d210e vgo - fixing up the root template c356c64 add .idea/* to gitignore 80ea290 vgo-support - re-working code generator d658160 Add markdown file explaining support for PowerShell 21ccc7b Add basic PowerShell completions e2c45ac Started working on Unified API for the various shell completions: 601d830 typo in zsh-completions.md edbb671 zsh-completions: implemented argument completion. d262154 zsh-completion: tidy up function and variable names 8822449 zsh-completion: added escapinng of single quotes in flag description. 66a9880 zsh-completion: test to verify that we're always running on root cmd. 7b62c7d zsh-completion: --version and --help still doesn't work correctly 7ce08e2 zsh-completion: completion should always parse the root command! 91e80cc zsh-completion: remove bad test 0d9a33d zsh-completion: remove temporary file 50f3859 zsh-completion: added support for filename globbing. bda855a zsh-completions: fixed zsh completion markdown file name. dd577bd zsh-completion: added zsh-completion documentation. 461a39d zsh-completion: removed forgotten function. df12a0a zsh-completion: two fixes for identifying flag usage: e9ee8f0 zsh-completion: removed the _dep_ files. ec4b8c9 zsh-completions: revised flags completion rendering + new features: e8018e8 zsh-completion template refactoring: 2662787 zsh-completion: added support for subcommand description. f0508c8 zsh-completion ignores hidden commands and flags :) a15d099 zsh-completion fixed reference to cmd name 7e2436b First try at better zsh completions: 67fc483 added variable to allow configuration of mousetrap message duration (#809) 5755ecf [TrivialPatches] Typos in README.md, fix and update CI, update projects list... (#840) ba1052d Fix two word flags (#807) 7547e83 Run tests against go 1.11 and drop 1.9 (#737) d2d81d9 Fix too many underscore for __custom_func (#794) fe5e611 doc: obey SOURCE_DATE_EPOCH with manpage generation (#735) f619abc Added ExactValidArgs (#765) 40172f1 Remove unneeded imports from README.md example (#767) 8d114be README: Remove Unneeded Newline (#746) 99dc123 Replace Giant Swarm 'swarm' with 'gsctl' (#738) 6fd8e29 Qualify custom bash func name (#730) ff0d02e fix typo in doc/man_docs.go (#732) 7c4570c #716 - Removed useless libraries in readme (#717) a114f31 fix test build breakage with go1.11 (#712) 1e58aa3 Include a basic example #465 (#631) ef82de7 Fixed code sample for bash completion (#687) 0ab5b6b doc: hide hidden parent flags (#686) 7ee208b support completions for command aliases (#669) 6154259 remove dot after the abs path (#672) cd30c2a typo: fix incorrect (#668) 4dab30c Add support for ignoring parse errors (#662) a1f051b Update the Travis and CircleCI Go versions (#651) c439c4f Terminate the stripping of flags when -- is found (#649) c6c44e6 Update the bash completion example for kubectl (#645) 6644d46 Prefix bash functions with root command name (#643) a1e4933 Bash completion aliases (#638) 1a618fb Do not add a space after a single flag completion (#625) be77323 Try out CircleCI. (#630) fd32f09 Fix generated bash completion for Bash 3 (OSX) (#520) 9395926 Add Execute func example in README.md (#629) c2bbfaa Add usage example for required flags (#627) eb58983 Add `CalledAs` method to cobra.Command (w/ tests) (#567) 9979838 Fix attemptd assignment to non-variable in bash 3 (#628) 3a7eb14 fix grammatical error in command.go (#626) f91529f Fix a couple typos (#621) 0c34d16 cmd: Fix #612 (#614) b95ab73 Remove trailing whitespace in rootcmd (#606) ccaecb1 Ensure that '--version' flag works properly for root command (#595) c156af3 Explain OnInitialize better in the GoDoc (#594) de2d9c4 Add alibaba/pouch in README.md (#593) 3a5f27b doc: Add a necessary blank line after SEE ALSO (#592) 45a52e2 doc: Remove one additional blank line after Synopsis (#591) 8678368 Add documentation for '--version' flag to README (#590) b1ec2ce Add support for --version flag (#584) 1be1d28 Make rootCmd private fb02817 Fix README example to be consistent with others (#585) 19e54c4 Update error message for missing required flags (#580) 34ceca5 Disable flags in UseLine (#552) d6948b7 Fix minor typo (#579) 2da4a54 Improve tests in doc/ d6a4305 Edit ResetFlags and ResetCommands descriptions 65c8acb Improve tests 099c5ae Add dots in comments of args.go 18eefcd Add tests for args.go f634327 Fix typo (#573) b3426bb Remove confusing duplicate Execute from README (#554) 7b2c5ac Create new buffer if not present yet (#549) 7cd9cc6 add test for c.Name() if c.Use gets changed (#548) 40f1880 Delete name field from Command (#547) 845c905 Fix typo 4d6af28 enforce required flags (#502) 5020481 Grammar addition (#543) 83b1f03 Add a TraverseChildren option to allow for flags on each command in the hierarchy (#299) 419e0f8 doc: add ReST doc generation (#537) bc69223 Fix dead link in README for cobra generator e8e7fe0 Shorten README d5bde60 cmd: Fix text of custom license 0dacccf Improve consistency of flags when using SetGlobalNormalizationFunc (#522) e5f66de Support default value of $GOPATH (#532) b787445 Use func (c *Command) consistently (#530) 4de692c adding a GenZshCompletionFile function to mirror bash_completion (#529) 3c0b56b correct spelling mistake (#524) 2df9a53 Fix MinimumArgs cb74738 Retab README.md 1723331 Update documentation 8bcacfe Add more examples of Args field 4a7b7e6 *following cb731b8 Specify that parent's name is a variable for clarity. #514 b26b538 Fix remaining reproducibility in TestGoldenAddCmd 3da102d cmd: Fix golden tests if user has config at $HOME 99838a5 cmd: Small fixes d7ba195 Add basic zsh completion (command hierarchy only) 9e024b6 cmd: Refine formatting of included licenses a1b7d3c cmd: Add a blank line between copyright and license 75c6acf cmd: Add "-u" to output unified diff in golden tests cb9cf94 Restore the use of cobra.OnInitialize in cobra executable d4c40bb travis: Update Go versions 750ba8a Fix reproducibility in TestGolden{Add,Init}Cmd 161584f Fix minor typos: "Know" → "Known" 34594c7 Fix TestGlobalNormFuncPropagation() on gccgo 90fc11b Update README.md f20b4e9 Refactor TakesArgs to use an interface for arg validation. d89c499 Allow commands to explicitly state if they do, or do not take arbitrary arguments 715f41b cmd: Ignore hidden files in isEmpty d994347 Delete tab in the long description of help c46add8 Add ability to disable mousetrap 8c6fa02 Fix InitDefaultHelpCmd when custom help command is set 4d647c8 Print err instead of home 6471e3d Rename main func to initConfig f9d3497 Fix RootCmd var name d638dcb Improve readability of README e458bb7 Reword `become unexpected errors` to `encounter errors` 31694f1 Add missing 'and' in comment 99b5d83 Show messages if deprecated flags are used b4dbd37 cmd: Fix tests defa97f cmd: Fix output root.go of init with --viper=false d7cfb13 Update README.md 99ff933 cmd: Add possibility to specify the target package 84f4716 Make BenchmarkBashCompletion more honest 66da711 __ltrim_colon_completions is not always available on macOS (#459) 8d4ce35 Update README.md e606913 Fix typos 4a1a7b0 cmd: Don't print errors from execute to prevent duplication of errors c446db2 cmd: Delete projectBase flag 7918bf6 Add explanation for viper.BindPflag in README.md ca57f0f doc: Ad help flag and cmd when generating docs 52ae6a1 Make initHelpCmd public (#436) ca5710c Fix link to cobra lib in README.md 4ba54a0 Edit installation command in README.md (#451) fb1f399 Add benchmark for GenBashCompletion de6b168 Simplify bash_completions.go 4cdb38c cmd: Use correct HasPrefix function for paths e9078fc cmd: Make more accurate error when there is no $GOPATH fa9ac85 cmd: Make detailed error when project not in $GOPATH 51b7cf5 Fix tests so they give correct args (#445) b536627 cmd: Fix some gometalinter complaints d941496 cmd: Fix error message from go-homedir a28055b cmd: Fix minor bugs in init command (#446) 90687e7 Update pflag link in README (#444) 7d22e77 Fix incorrect merge of pflag.CommandLine to cmd.Flags() 3454e0e cmd: Fix package name when adding command 4673102 Updating bash_completions to clarify markdown (#442) 1362f95 Clean README.md (#441) 347767f Partial revert of 4d2c4af 'Improve template mechanism' (#439) eceb483 Divide fields of Command for readability 90d2fd8 Group fields of Command 1251aef Rename Docker to Moby in README.md e97db2b cmd: Fix tests 4db577d Fix docs for Command 6bfe2ba doc: Add docs 3dc7f13 cmd: Fix docs d236d29 cmd: Make tmpl local variable c0bd07d Use cobra create instead of cobra init in README.md (#396) 4d2c4af Improve template mechanisms d83a1d7 Add comment for InitDefaultHelpFlag fe69f2e Make initHelpFlag public db6b9a8 cmd: Fix incorrect initialzation by `cobra init .` 7bd35d3 cmd: Fix incorrect cmd dir 7bb5276 cmd: Fix panic if cmd ends on dash or underscore efbe9b0 cmd: Use Fatalf instead of Fatal 76a9a66 cmd: Add tests d20925b cmd: Small correctives 84cba62 cmd: Make detection of $HOME work on all systems 6bcf163 cmd: Validate cmd names 903e5b7 cmd: Fix trimSrcPath doc 66cfd1f cmd: Reuse template in helpers 0dd1c42 cmd: Add more docs 32756eb cmd: Rewrite 4061f41 Use pflag.ShorthandLookup 8f0203b Update README.md 69f86e6 Update README.md 6f647b1 Update .travis.yml bc8a58f docs: Update README.md 7b1b6e8 cmd: Edit license texts e2f2121 cmd: Use 'this program' instead of appName in licenses 3d7bff8 Revert "Get rid of flagErrorBuf (#417)" 6dd9084 doc: Use w.Write instead of fmt in yaml_docs 97af803 doc: Cleanup md_docs de484ee doc: Refactor man docs ea3c5be Add TestHelpFlagInHelp 867d414 Initialize help flag in initHelpCmd 6ed17b5 cmd: Add more possible matches for bsd licenses c68a90d Add built-in licenses info to README 164be37 cmd: Add AGPL license 1efd892 cmd: Add LGPL license 6d4267f cmd: Delete redundant symbols from helpers_test.go and licenses.go 78a8032 cmd: Move some license functions from helpers.go to licenses.go 28fe9aa cmd: Fix GPL 3 License header 47029cc cmd: Delete extra whitespace from GPL 3 License header f4f10f6 Simplify stripFlags 63121c8 Delete Parse from Go projects that uses cobra 9890b7b Simplify stripFlags function aea9481 Fix typo at docstring for HasHelpSubCommands (#309) a4f017e Add rclone to list of users (#334) c4f4d75 Use go get so missing dependencies are fetched (#406) 681a777 Delete checkHelpFunc 10f6b9d Make `go path bin` clearer in README 0a4540b Refactor licenses to many files (#323) f58a8d6 Add TestSortedFlags e135867 Make parentsPflags more flexible 3e61377 Use AddFlagSet instead of self-written function 458d797 Add merging of CommandLine flags to Root command 37a4355 Fix tests 3d89ed4 Add only missing persistent flags of parents in mergePersistentFlags 6202b59 Refactor flags mechanisms a3cd8ab Use os.Getenv("HOME") instead of "$HOME" for windows compatibility (#337) b655df6 Get rid of flagErrorBuf (#417) f95d58b Fix #401 (#402) b6cb395 Fix typo in docstring (#360) 0a0df1e Use valid exit code value in `os.Exit` call (#405) 9350054 Keep only one newline between Aliases and Flags in help (#410) 5deb57b Fixed completion of dash parameters arguments (#415) 7aeaa2c Avoid storing pointer to nil (#411) 6421115 doc: Fix govet complaints (#408) 7be4bed remove help command before adding it (#399) 16c014f Add "docker" to readme 0960ff7 Rename IsHelpCommand to IsAdditionalHelpTopicCommand (#398) 24bb44a Fix SilenceUsage and SilenceErrors in readme (#397) fcd0c5a Some fixes related to help command (#394) 92ea23a Fix subcommand locations with NoOptDefValue flags (#391) ee40558 Update the Travis Go versions b5d8e8f cache command name (#390) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-digest: update to 1.0.0-tipBruce Ashfield2023-04-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the LICENSE file to adjust to: commit b22736afcd4ef34cfbdb8f0009a03566e620d1e4 Author: Ian Campbell <ijc@docker.com> Date: Mon Apr 30 18:26:12 2018 +0100 Rename LICENSE.code → LICENSE This allows automated tooling (such as license compatibilty checkers) to find it. Fixes #37. Signed-off-by: Ian Campbell <ijc@docker.com> Bumping go-digest to version v1.0.0-25-g65fac7b, which comprises the following commits: c014774 Bump actions/setup-go from 3 to 4 c68b67b Bump actions/setup-go from 2 to 3 58786ae Bump actions/checkout from 2 to 3 ad52b00 Add CODEOWNERS, remove .pullapprove.yml e0313d7 build: add latest versions of go to test matrix 084376b make sure the standard algorithms are registered f0839fe chore(ci): setup dependabot for github-actions bf89259 Add blake3 to github actions tests a63e545 Add BLAKE3 support b9e02e0 Implement dynamic hash registration 41930e4 Remove travis.yml ab23730 Add GH Actions fd8c156 TestParseDigest: add tests for some potential corner-cases 43cccb7 Add release notes for v1.0.0 17eb78b Add copyright to digestset files 132fb47 Enable static checks ecd7b3c digestset: refine some words on unit test 5dd3cbe digest: migrate to opencontainers/go-digest e0bfa0f digest: remove stuttering ParseDigest function 1cbb645 Typo fixes in comments 6ac142d Validate digest length on parsing 45599b9 Add remove and list functions to digest set 96bf78c Refactor specification of supported digests 77570c9 Add digest set implementation 45398c0 MAINTAINERS: add 2, remove 5 f65ba7f MAINTAINERS: remove Brandon Philips @philips 264d27f *: add OCI copyright 9d15c98 README: spit paragraphs to new lines 51d31fa Update pull approve configuration ac2cd61 Update Aaron's e-mail address 232efbd travis: update list of go versions ed218d0 add go.mod f35593a MAINTAINERS: fix jonboulle's email be46cde updating CoC link and security link 21d40dc Bump Go versions and use '.x' to always get latest patch versions b22736a Rename LICENSE.code → LICENSE 4ca1301 disallow upper characters (/A-F/) in hex-encoded portion 678a95e digest: allow validation of urlsafe base64 encoding 55f6758 digest: update package methods to reflect changes 5ab10f5 digest: allow separators in algorithm field d1caf20 doc: tweak wording around algorithms b74b840 *: clarify we only deal with hex-encoded digests b6234c3 *: add LICENSE headers to Go files 0c91155 README: update security email Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-compose: update to v2.17.2Bruce Ashfield2023-04-054-156/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping compose to version v2.17.2-8-g02ad467f, which comprises the following commits: a4c324b8 build(deps): bump github.com/docker/cli 087fae98 build(deps): bump github.com/docker/docker c5317496 workaround race condition in ContainerList 72a61c06 add dry-run support to run command b24af42b ci: bump compose-go to v1.13.2 3b85cd2f test: fix e2e commands on Windows 45a852f4 test: generate valid Compose project names from Cucumber specs cd17c8a9 test: update error message 36625ed2 test: fix race in e2e build test a6ffdf61 ci: upgrade to Go 1.20.2 & bump deps 9ab5d8c4 build(deps): bump github.com/moby/buildkit from 0.11.4 to 0.11.5 d637cc3a watch involves up --build after change has been detected 16d5354d watch: add note about goroutine-safety & test 7aaea283 watch: data race / segfault fixes 6bedc196 update -p project name flag documentation a11515e0 introduce `ignore` attribute for watch triggers 6c1f06e4 Run classic builder with BuildConfig, not buildx.Options 88b0d17f use `build` as common API for build scenarios 9e19bc84 use progress to show copy status 105a7c5b watch: add file delete/rename handling f7a13aee build(deps): bump github.com/docker/buildx from 0.10.3 to 0.10.4 bfeb1dc2 Fix concurrent map read/write when recreating containers 0b41df98 build(deps): bump github.com/moby/buildkit from 0.11.3 to 0.11.4 643557d5 build and push binaries images when a PR is merged or a tag pushed 200f47e5 Add support for `additional_contexts` in `build` service config e0aaccf4 introduce dockerfile_inline 754c0688 one off container name use configured Separator for naming e492330d collect built image IDs bbe1b77a progress writer uses dockercli.Err stream fc4d2dfd Remove "-s" from LDFLAGS 85ddfde5 use go 1.20 -cover support 6a0398d7 pad can be negative on small terminal 4434cea5 add dry-run support for push command 3f7d3c26 add dry-run support for pull command 9cc1613b adopt http://no-color.org/ 167c6a89 add dry-run support to restart command 3cfbac66 restart only needed services by checking depends_on relations a3bed265 update compose-go ae26426c Report error if project name is empty after normalization 4ea44797 only consider containers with config_hash labels (i.e, created by compose) 89633748 build(deps): bump github.com/containerd/containerd from 1.6.18 to 1.6.19 33aa6ace build(deps): bump go.opentelemetry.io/otel from 1.13.0 to 1.14.0 e31b95c1 test: tweak pause test to try and prevent failures in Windows CI 7bb60d09 build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 da1ca578 watch: ignore ephemeral files & minor output tweaks 18af72af bump golang/x/net to v0.7.0 (CVE-2022-41723) e831ea82 add support for `restart` for `depends_on` 1edc64ef build(deps): bump github.com/containerd/containerd from 1.6.17 to 1.6.18 f3e543fd apply config options for pseudo-subcommands 9732608e build(deps): bump github.com/docker/buildx from 0.10.2 to 0.10.3 24ff0982 compact TUI to monitor layers download progress 593c4263 ci: bump to Go 1.20.1 and latest deps 313b82e9 ignore services without a build section 5e3e2171 sort service --hash output by service name 9ac0392b introduce --timeout on `up` 0612b34c introduce --no-deps on restart 92e0cd40 also restart dependent services after a service has been restarted 282a29e6 build(deps): bump go.uber.org/goleak from 1.1.12 to 1.2.1 256ec499 exclude unstable labels from config hash 9765f171 store exec details to offer better dry-run status on ExecStart b19df5c9 add support for `excludes` and `rebuild` 7a42ba7e use CGO to enable fsevent on OSX 5b043c4d ci: don't use `-race` on Windows 15f7104c ci: use CGO for tests to enable race detector eb1c7989 support dry-run for rm command 78b94047 support dry-run for stop command 25be264e support dry-run for exec command 7532f769 build(deps): bump go.opentelemetry.io/otel from 1.12.0 to 1.13.0 70ab9f8f bump docker engine and cli version to 23.0.0 with buildkit(v0.11.2) and buildx (v0.10.2) 93bffd9a prevent assignment to entry in nil map 52478f0c wait on service containers as dependencies to be deterministic b5f0a4ee use containers we expect to start for wait condition 0f5b5ccb detect replacement container is created and inform printer so it attach and don't stop a2d36b6c bump golang to 1.20 30772342 ci: Replace deprecated command with environment file fdc17381 add log when copying files/directories between host and containers (both way) 2336d9fe support dry-run for cp command 1640f155 initial support for `sync` e63cbfba use tilt watcher to track filesystem changes 25576289 adjust code and dependencies 7d6ee74e cleanup deprecated ioutil functions (#5919) c08e0771 watch: optimization to help avoid inotify nodes for large file trees (#5769) cf314623 tests: make test fixtures responsible for tearing themselves down (#5512) 1b71e3ef lint: fix local-prefixes for goimports (#5453) 4d822676 ci: add exportloopref linter and upgrade to golangci-lint v1.43.0 (#5281) 6fc0b6ff build: ensure file handles properly closed (#5298) ab84b6ac Fix local go_lintfix errors (#5191) 7161778c watch: use WalkDir to speed up file listing (#4684) 1f5bfe88 test: clean up test loggers a bit (#4580) f79c75ab test: fix lint errors on Darwin (macOS) (#4247) e62993a8 test: enable unused check, remove dead code (#4208) 28251e8b watch: improve error messages when you run out of inotify instances (#3960) c7ba7d9d dockerignore: convert ignore patterns to absolute paths [ch9237] (#3743) 8b393223 watch: fix a dumb errcheck (#3622) b3615d64 watch: increase the windows watch i/o buffer (#3620) 1a1d1707 change org name from windmilleng to tilt-dev (#3346) fd3e0bbe watch: use the recursive watcher on windows (#3306) d2d4d052 Revert "watch: fix inotify tests on windows" (#3147) dda0362b watch: fix inotify tests on windows (#3140) ddc88ec4 circleci: run make shorttest on windows. flag off a large swath of broken tests (#3132) 92c6a65a tilt: enable errcheck on tests (#2877) 00b3caec ci: enable staticcheck, fix problems that were surfaced (#2809) 17087447 logger: move to pkg (#2031) ec781687 watch: add retry counts to fsync (#2023) b22dde9f dockerignore: improve MatchesEntireDir (#1865) a31350ed watch: move more of the directory-skipping logic into the interface (#1864) d744c97f watch: add a simple check when there are no exclusions (#1863) 37647bc6 watch: skip setup if nothing is being watched (#1861) 21e5d564 watch: FileEvents must always be absolute (#1841) 390d5cf1 watch: add tests for ignores and number of watches (#1838) 7f6e189d watch: change the watcher interface to better match how we actually use it (#1835) b5ccea7b watch: record num watches in expvars (#1795) 47551895 makefile: fix goimports -local (#1763) 5e0f1eec watch: fix spurious errors while watching (#1726) f82e2de5 watch: don't watch each individual file (#1613) 9c7f7bc0 live_update: error if syncing from outside of docker context (#1396) 6defe7ca watch: tfw you have a test that asserts broken file-watch behavior :cry: (#1354) 0482f927 watch: add watch function that traverses up directory structure recursively (#1013) e8a34c8d watch: remove inotify-specific bits of watcher_linux (#890) 9e261c18 watch: fix a bug when a file and its ancestor both have direct watches (#863) 1fd7ca54 testing: update internal/watch to use the tempdir fixture (#862) 139edc40 cleanup: wrap errors properly (#772) 38b3f3b6 watch: use `sinceWhen` and `HistoryDone` to avoid spurious events (#557) c5bce8bd watch: fix a spurious error (#344) c8a358a4 watch: try a slightly different ignore strategy (#174) a6701652 watch: fix more data races on darwin (#166) 4562b0bf watch: a new strategy for handling spurious events, hoping to fix race conditions (#163) 4801d2b1 watch: fix a flaky test by ignoring spurious events correctly (#162) 3850a341 watch: fix a segfault on linux (#148) 664e6f6f watch: stop skipping tests (#145) d4f074b3 watch: simplify the fileEvent interface to only contain paths (#144) a3b012d8 add errcheck (#93) a755c84e tilt: copy watch code from tesseract ef34a38a Add remote buildx driver 41e05634 rename `convert` to `config` to align with compose v1 UX c0b4dd86 build(deps): bump go.opentelemetry.io/otel from 1.11.2 to 1.12.0 6754c6b6 add dry-run support of pause and unpause commands 982a8ccb support dry-run for kill command 790712fa update tty and plain text writers to support dry run mode 6fae6a41 Update emacs ignore patterns (#5903) dd5ea044 ignore: add Go umask files to ephemeral set (#5740) 12de97b8 filewatch: use apiserver FileWatch model in EngineState (#4277) 62b5f78f Add .kate-swp files to ignore pattern (#3380) 3f526c5c change org name from windmilleng to tilt-dev (#3346) 12916b75 tilt: ignore a few more vim swap files (#2190) e3948f6b ignore: auto-ignore jetbrains .idea file (#2065) 91a2bdd6 model: move to pkg (#2024) ce61e7bf ignore: improve the ephemeral temp file patterns [ch2663] (#1925) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: update to v23.0.2Bruce Ashfield2023-04-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping docker to version v23.0.2, which comprises the following commits: c6bf3071fe StartWithLogFile: Fix d.cmd race 7f49ca259b TestDaemonRestartKillContainers: Fix loop capture 1363b3e372 ci: disable testing mergeop and diffop with the dockerd worker d43958b50b builder-next: disable mergeop and diffop fd80ca60da Fix pruning anon volume created from image config ae0cc08cab Dockerfile: Update shfmt to 3.6.0 42751cc892 contrib/dockerize-disk.sh: Fix indentation 6c65a9a07f volumes: fix error-handling when removing volumes with swarm enabled e3c642d1ea integration/volumes: TestVolumesRemove: add coverage for force/no-force c48f7fd12c [23.0] update to go1.19.7 f3416271a3 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230309194213-a745a8755ce3 3bd2fc8d62 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230302163403-80a528a86877 a79be4cf31 vendor: github.com/moby/buildkit v0.10.7-0.20230306143919-70f2ad56d3e5 6ac39568ee libnet/ipam: fix racy, flaky unit test 7158f76b8b vendor: github.com/containerd/containerd v1.6.19 67990f983b vendor: github.com/Microsoft/hcsshim v0.9.7 3125aa0aef [23.0] update containerd binary to v1.6.19 b1d9012969 Wait longer for exit events on Windows 2337258d28 libnet/networkdb: fix nil-dereference panic in test Bumping libnetwork to version v0.7.0-dev.3-1861-g25ec449c, which comprises the following commits: 91f0d508 update maintainers 615c9801 libnetwork/overlay:fix join sandbox deadlock 047ac186 Cleanup servicebindings only on Windows 6f36306d Delay network deletion until after lb cleanup a9c349a6 Log HNS policylist removal failures Bumping docker-cli to version v23.0.2, which comprises the following commits: f6643207a don't use null values in the bake definition f381e0842 Dockerfile: align go version d3a36fc38 e2e: update notary certificates 59bb07f2e e2e: increase tests certificates duration (10 years) 80f27987f bake target to generate certs for e2e tets a43c9f344 Don't automatically request size if `--size` was explicitly set to `false` 114e17ac4 cli/command: fix imports formatting e2c402118 cli/command: ElectAuthServer: fix deprecation comment d07453890 Add bash completion for available plugins 90a72a589 Dockerfile: update buildx to v0.10.4 4c63110a9 update to go1.19.7 b61b5a987 stack: Change unexpected environment variable error 84fe451ec stack/loader: Ignore cmd.exe special env variables 95066ff3a Dockerfile: update buildx to v0.10.3 release notes: https://github.com/docker/buildx/releases/tag/v0.10.3 0dbf70fad docs: Deprecate buildkit's build information 5af8077ee formatter: Consider empty RepoTags and RepoDigests as dangling 57a502772 context: avoid corrupt file writes 14ac8db96 test/cli: Use empty array as empty output of images/json 1810e922a docs: drop dated comments about graphdrivers 5051d82a1 update to go1.19.6 7f4e3ead7 changed the container name in docker stats page Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* moby: update to v23.0.2Bruce Ashfield2023-04-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping moby to version v23.0.2, which comprises the following commits: c6bf3071fe StartWithLogFile: Fix d.cmd race 7f49ca259b TestDaemonRestartKillContainers: Fix loop capture 1363b3e372 ci: disable testing mergeop and diffop with the dockerd worker d43958b50b builder-next: disable mergeop and diffop fd80ca60da Fix pruning anon volume created from image config ae0cc08cab Dockerfile: Update shfmt to 3.6.0 42751cc892 contrib/dockerize-disk.sh: Fix indentation 6c65a9a07f volumes: fix error-handling when removing volumes with swarm enabled e3c642d1ea integration/volumes: TestVolumesRemove: add coverage for force/no-force c48f7fd12c [23.0] update to go1.19.7 f3416271a3 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230309194213-a745a8755ce3 3bd2fc8d62 vendor: github.com/moby/swarmkit/v2 v2.0.0-20230302163403-80a528a86877 a79be4cf31 vendor: github.com/moby/buildkit v0.10.7-0.20230306143919-70f2ad56d3e5 6ac39568ee libnet/ipam: fix racy, flaky unit test 7158f76b8b vendor: github.com/containerd/containerd v1.6.19 67990f983b vendor: github.com/Microsoft/hcsshim v0.9.7 3125aa0aef [23.0] update containerd binary to v1.6.19 b1d9012969 Wait longer for exit events on Windows 2337258d28 libnet/networkdb: fix nil-dereference panic in test Bumping libnetwork to version v0.7.0-dev.3-1861-g25ec449c, which comprises the following commits: 91f0d508 update maintainers 615c9801 libnetwork/overlay:fix join sandbox deadlock 047ac186 Cleanup servicebindings only on Windows 6f36306d Delay network deletion until after lb cleanup a9c349a6 Log HNS policylist removal failures docker-moby/cli: update to -tip f6643207a don't use null values in the bake definition f381e0842 Dockerfile: align go version d3a36fc38 e2e: update notary certificates 59bb07f2e e2e: increase tests certificates duration (10 years) 80f27987f bake target to generate certs for e2e tets a43c9f344 Don't automatically request size if `--size` was explicitly set to `false` 114e17ac4 cli/command: fix imports formatting e2c402118 cli/command: ElectAuthServer: fix deprecation comment d07453890 Add bash completion for available plugins 90a72a589 Dockerfile: update buildx to v0.10.4 4c63110a9 update to go1.19.7 b61b5a987 stack: Change unexpected environment variable error 84fe451ec stack/loader: Ignore cmd.exe special env variables 95066ff3a Dockerfile: update buildx to v0.10.3 release notes: https://github.com/docker/buildx/releases/tag/v0.10.3 0dbf70fad docs: Deprecate buildkit's build information 5af8077ee formatter: Consider empty RepoTags and RepoDigests as dangling 57a502772 context: avoid corrupt file writes 14ac8db96 test/cli: Use empty array as empty output of images/json 1810e922a docs: drop dated comments about graphdrivers 5051d82a1 update to go1.19.6 7f4e3ead7 changed the container name in docker stats page Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* crun: update to v1.8.3Bruce Ashfield2023-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping crun to version 1.8.3-5-gd2ff390, which comprises the following commits: 59f2beb NEWS: tag 1.8.3 ae18930 update: initialize the rt_scheduler only on cgroupv1 5855e70 [1.8.2][CentOS 7] Missing `#include <linux/sched.h>` a4393f2 docs: add a tryout example with podman bf70c97 NEWS: tag 1.8.2 ba6c957 cgroup: cgroupfs attempt new sibling cgroup 74dc9b4 cgroup: libcrun_get_current_unified_cgroup can return relative path b7b5265 cgroup: drop duplicated variable 11bdc13 linux: set label for pre-created devices 4b04b01 linux: refactor code in a new function 770ad48 linux: extend fsopen_mount to specify label 7578a1a wasm, wasmedge: add current directory to preopen paths 90dd7b7 test_mount: fix incorrect comment 51aba04 linux: readonlyPaths should inherit flags from parent mount 5ad1507 lua: add Lua bindings 5d54a85 scheduler: use sched_setattr 6a132c3 libcrun_container_create(): fix memory leak 6ba6a00 container: add custom annotation to specify the scheduler 5bdd930 cgroup: systemd initialize rt limits 8b18fc7 cgroup: add new function openat_with_alias e914059 libcrun: add alias argument to function a4aebb9 libcrun: new function write_cgroup_file_or_alias d36c1a2 test: remove irqbalance tests 56a2550 cgroup: fallback to blkio.bfq files 34950dc crio: skip test 710d8dd libcrun: chown tty to the exec user e067714 python: fix create() referencing container_run() 11d1baf build(deps): bump actions/upload-artifact from 2 to 3 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-tools: update to v1.26.1Bruce Ashfield2023-04-051-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We adjust our install routine to find the binaries in architecture and OS target specific directories, but otherwise the build is unchanged. Bumping cri-tools to version v1.26.0-122-g4daea449, which comprises the following commits: 1dbda3f7 Bump github.com/opencontainers/runc from 1.1.4 to 1.1.5 6f1de233 Bump github.com/docker/docker d55f85f2 update release support details in the README 3e40ab7e Bump github.com/onsi/gomega from 1.27.4 to 1.27.5 13c94c7a Update Ubuntu 18.04 to 20.04 8de6b6d7 Bump github.com/urfave/cli/v2 from 2.25.0 to 2.25.1 8db31a76 Bump github.com/onsi/ginkgo/v2 from 2.9.1 to 2.9.2 3c0741e5 Bump github.com/golang/glog from 1.1.0 to 1.1.1 4d45340a feat: add riscv64 53e4c3ba Bump github.com/onsi/gomega from 1.27.3 to 1.27.4 e13ad25e Bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 21e62dde Bump github.com/onsi/gomega from 1.27.2 to 1.27.3 02317f82 Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 9d847e2c Bump golang.org/x/net from 0.7.0 to 0.8.0 bfdb44b5 Bump github.com/urfave/cli/v2 from 2.24.4 to 2.25.0 060929a6 Bump github.com/golang/glog from 1.0.0 to 1.1.0 c020f31f Bump golang.org/x/term from 0.5.0 to 0.6.0 47b33362 Bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 f8cb6925 Bump github.com/onsi/gomega from 1.27.1 to 1.27.2 578b38a1 Bump github.com/onsi/ginkgo/v2 from 2.8.3 to 2.8.4 ce2c55c0 Bump github.com/onsi/gomega from 1.26.0 to 1.27.1 f7333f20 Run GitHub actions by `push` only on `master` and tags 64f3f275 Bump github.com/onsi/ginkgo/v2 from 2.8.1 to 2.8.3 8f27b574 Bump github.com/urfave/cli/v2 from 2.24.3 to 2.24.4 b27232f2 Bump golang.org/x/net from 0.6.0 to 0.7.0 61a85a93 Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.1 c61a79e9 fix crictl config list display error 595572a6 crictl code and args optimization. 85c6f21d Bump github.com/docker/docker 63a1d5a6 crictl config add list flag b4ffa89f Bump golang.org/x/net from 0.5.0 to 0.6.0 3c35861c Bump github.com/opencontainers/selinux from 1.10.2 to 1.11.0 753c9a88 Makefile support cross compilation, build_bin_path optimization fda6d7f8 crictl stats add name row be5f634b Bump golang.org/x/term from 0.4.0 to 0.5.0 82c3e8ae Bump golang.org/x/sys from 0.4.0 to 0.5.0 6fc9e4af Bump github.com/urfave/cli/v2 from 2.24.2 to 2.24.3 01796ae5 Bump github.com/docker/docker dd20ea16 Bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.8.0 ef8a0d68 Bump github.com/urfave/cli/v2 from 2.24.1 to 2.24.2 0b81ff2a Bump github.com/onsi/ginkgo/v2 from 2.7.0 to 2.7.1 a4c976aa Makefile: pass in a custom variable GOARCH f6ec8fec Bump github.com/onsi/gomega from 1.25.0 to 1.26.0 5923662b Bump github.com/urfave/cli/v2 from 2.23.7 to 2.24.1 a8ddf64a Bump github.com/docker/docker 1e27c2c4 Bump github.com/onsi/gomega from 1.24.2 to 1.25.0 edf14e37 Update docs version to match latest release 850c8469 Bump other OTEL deps 6d46b592 Bump go.opentelemetry.io/otel/trace from 1.10.0 to 1.11.2 5364af0f fix: formatting 6f078ed6 fix(docs): add a note about other supported platforms c2573905 Pass `nil` as tracer provider 8ac43a45 fix: add tip on latest version 8dee7ff5 Update ginkgo and gomega 92edf29e Switch to `registry.k8s.io` aa036b5a Increase defualt timeout on Windows 5886c7df Add support for calling Windows pod stats 64e8f6b8 Bump golang.org/x/net from 0.4.0 to 0.5.0 3a981a98 Switch away from Docker Hub to avoid rate limits b3262be7 Bump github.com/docker/docker 5046b65b Add haircommander to reviewers 4e387743 set LTS v1.6.12 into matrix to replace old v1.5 entry baefda37 gh actions: remove dockershim tests 24cc748b plumb context through CRI 86befea9 bump to go 1.19 a7154756 vendor: bump kube to 1.26 f9764647 Bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.7 6220423b Bump golang.org/x/net from 0.3.0 to 0.4.0 d6d8005f Bump golang.org/x/net from 0.2.0 to 0.3.0 f4cf7b6e Bump golang.org/x/term from 0.2.0 to 0.3.0 c37655ee Bump golang.org/x/sys from 0.2.0 to 0.3.0 9962fb03 add missing CPU count 7493f666 Add detach key sequence support ca1571e6 critest: ensure server is running before portforward b6fb4b1d Bump github.com/urfave/cli/v2 from 2.23.4 to 2.23.5 fa370cc5 Bump golang.org/x/net from 0.1.0 to 0.2.0 f1998865 Bump golang.org/x/term from 0.1.0 to 0.2.0 5c48eb26 Bump github.com/urfave/cli/v2 from 2.23.0 to 2.23.4 6b420011 Bump golang.org/x/sys from 0.1.0 to 0.2.0 6f8965f4 Bump github.com/onsi/gomega from 1.23.0 to 1.24.0 913089a4 Bump github.com/urfave/cli/v2 from 2.20.3 to 2.23.0 622b04f1 Bump github.com/onsi/gomega from 1.22.1 to 1.23.0 5acd3285 Bump github.com/docker/docker c4b3e806 Bump github.com/urfave/cli/v2 from 2.20.2 to 2.20.3 0b1abed2 Bump github.com/onsi/ginkgo/v2 from 2.3.1 to 2.4.0 91521036 specify one supplementalGroup instead of two to make test code simpler 2649f53e added a validation test case For SupplementalGroups with the predefined groups in the container image d965134b fix copyright section in image-predefined-group's Dockerfile 59137ff5 images/image-predefined-groups: don't specify group in USER f1cb7aff Bump github.com/docker/docker 72d1ed12 add test image for testing SupplementalGroups with predefined groups in the container image 0fd7a1b4 Bump github.com/urfave/cli/v2 from 2.19.2 to 2.20.2 ac1c0c5b Bump github.com/docker/docker 44965774 Bump github.com/onsi/gomega from 1.21.1 to 1.22.1 78d5c955 Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 11c282fd Bump github.com/onsi/ginkgo/v2 from 2.2.0 to 2.3.0 6e9a4670 Bump github.com/urfave/cli/v2 from 2.17.1 to 2.19.2 93332157 Bump github.com/onsi/gomega from 1.20.2 to 1.21.1 4b984ddc Implement password input on the command line 4507e46c Add recurring working areas to CONTRIBUTING fd4bb370 Bump github.com/urfave/cli/v2 from 2.16.3 to 2.17.1 49249cbc Bump github.com/opencontainers/selinux from 1.10.1 to 1.10.2 adac6827 Cleanup owners eb69454a Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.2.0 373e7090 Bump github.com/urfave/cli/v2 from 2.16.2 to 2.16.3 6f5588ba Bump github.com/docker/docker 30d32dab Bump github.com/urfave/cli/v2 from 2.14.1 to 2.16.2 fd1c34d3 Bump github.com/urfave/cli/v2 from 2.14.0 to 2.14.1 46197a85 Bump github.com/urfave/cli/v2 from 2.11.2 to 2.14.0 a07c04ee Print deleted digest when repo tags empty d3e8a304 Bump github.com/docker/go-units from 0.4.0 to 0.5.0 5bf099af Bump github.com/onsi/gomega from 1.20.1 to 1.20.2 74915650 Bump github.com/onsi/ginkgo/v2 from 2.1.5 to 2.1.6 9bad5cb3 Ensure benchmarks are skipped during validation tests. fd16071d Bump github.com/onsi/ginkgo/v2 from 2.1.4 to 2.1.5 c148f5b2 Bump github.com/onsi/gomega from 1.20.0 to 1.20.1 778b8ed9 vendor: github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae 5168c419 cmd/crictl: replace deprecated pkg/term 0e31acb9 Update version references in docs and go.mod 3efdd0f4 Bump github.com/opencontainers/runc from 1.1.3 to 1.1.4 7abda56b Bump Kubernetes to v1.25.0 1151eb16 Bump github.com/urfave/cli/v2 from 2.11.1 to 2.11.2 a685ed61 No truncate PodID in ps command if --no-trunc exists 7cf65e12 Migrate to native ginkgo v2 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: update to 1.26.2Bruce Ashfield2023-04-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping cri-o to version v1.26.2-10-gc0557b868, which comprises the following commits: 6ee82e547 Update crun to v1.8.3 and runc to v1.5.1 4bea0d45b create the metrics endpoint with correct shutdown logic 778169257 Update CNI plugins to v1.2.0 8f943a9cc Add spdx signature and cert to release notes ab5daed67 Fix release notes build for release-1.26 branch fc032744b version: bump to v1.26.2 141c69ac6 build(deps): bump sigstore/cosign-installer from 2 to 3 46e4d5286 Bump crun to v1.8.1 12cc52830 Pin nix version to fix static builds 2c3c8c7d8 unit-test: call UpdateContainerResources when nri enabled d3504291c nri: add protection against nil dereference 8438fdf40 docs-validation: try String() for struct field values. b997d9a61 internal/oci: don't crash when getting unset Spec. 96c12e147 test: update NRI BATS test. d19c65049 completions, docs: update completions and man pages. 3c1bb518c config,criocli: update NRI deps, configuration. 9831dddef Fix cgroup leak for systemd cgroup driver 0c32aa50d Update to c/image 5.24.2 0015d0477 test/*: add test for checking the /etc folder permission b1113fa78 server: fix the permission issue for `/etc` 7f60e0419 Update github.com/containers/image to v5.24.0 1f0b14da9 Update opencontainers/runtime-tools to a6a073817ab0. 0841fe69a Add container stats to the ListPodSandboxStats response 3facc028e Make storage unmount less strict b93180c99 Inject release-notes branch from GitHub actions 5ce93c60e ci-verify: Run get-scripts only on main branch d8c6707bd version: bump to 1.26.1 741be35fa vendor: bump storage to v1.44.1-0.20230101110555-a747b27fe4ca f49c3b608 Update critest parameters 1b1b95af8 hostport: use generic Set 1e66eb86e server: update streaming interface to take context 2adc326f6 ci: bump cri-o.spec file to 1.26 ae0a0d5f9 static: bump go version 8f8228b77 bump to cri-tools 1.26.0 fff07d82f server: add support for new CRI calls cac6a729e server/streaming: add context to methods ec5beb231 vendor: bump kube to 1.26.0 8ffb14733 mocks: update with new c/storage mocks 48d0bf4ca job get script: fix conflist path 7705f9942 bump to v1.26.0 d06cae7c9 contrib/cni: use cniVersion 0.3.1 for ipv4 only bridge config 5526fae33 bundle: use ipv4 only config because of gh action limitation 1b8b28433 Support evented PLEG in CRI-O 5783c3254 Bump cri-api to support evented pleg 29ce5a7b2 get script: fix conflist path f317b267d Fix-6080: Update the CNI version to 1.0.0 54b7b5fc0 test, Makefile: hook NRI tests into localintegration. ab73c1dcd test/nri: add a test client with basic NRI tests. 36305e7bd server: hook NRI into request processing. 773e6e005 nri: add experimental NRI adaptation interface. 907f4edf5 config,cli: add support for NRI configuration. a6430c8c8 Add test for conmonrs cgroup with no infra container b6f92b04f Add test for default conmon cgroup type f323d022c Fix applying cgroup for conmonrs when pinned 6c62954e8 Remove cri wrapper package 093d680dd server/metrics: Update seccomp notifier metrics to reduce cardinality fe2458341 ci: make golangci-lint happy da96d6be4 Support checkpointing infra less containers 4a541607e build(deps): bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.6.1 ebe73f411 build(deps): bump google.golang.org/grpc from 1.50.1 to 1.51.0 7d8f2328f Merge log and metrics interceptor cb8aa99d7 ResourceStore: delete entries after they're used 1b42a3d4c Use containerd v1.7.0-beta.0 41dca27cb server: fail if HOME variable has a newline c1d7c54fa systemd: use on-failure as restart policy 88782d59c contrib/test/ci: fix SELinux permission issue on RHEL9 8132ef511 ci: update system-packages.yml to install gpgme-devel on fedora ac319a568 OWNERS: move vrothberg to emeritus approvers c095c4781 build(deps): bump github.com/urfave/cli/v2 from 2.23.5 to 2.23.7 7150ba10b contrib/test/ci: fix the when condition for CentOS Stream 9 0ffec79a4 contrib/test/ci: enable crb repo for CentOS Stream 9 905e8485a Update security process 3232ffe2a Downgrade cgroupfs test to Ubuntu 20.04 7d848b3c1 Fix GitHub actions CI b6b4f8235 Add Reddit to ADOPTERS.md 189e9f7eb Disable typecheck linter b9d94374b Bump golang dependencies 5e71e4f9c contrib/test: set env variables for integration tests 22249fcf9 build(deps): bump sigs.k8s.io/bom from 0.3.0 to 0.4.1 a67e7776c Port remaining logrus with internal/log 14547d489 Pass ctx so that more tracing spans could be created 19bc7330f internal/log: add a function to start new tracing span 834b60336 Setup logrus hook to attach logs to traces ef3bed00b Remove CRI v1alpha2 support c9316ec2a Update golangci-lint and config 3b631242b Add seccomp notifier feature e3416bda9 build(deps): bump cachix/cachix-action from 11 to 12 71252c17b Disable checkpoint image check as early as possible 658a11552 Correctly extend $PATH before calling conmon during restore a93201a8e Use correct key for tracing hostname field 923f665ca Add docs that `tracing-sampling-rate-per-million` set to 1000000 refers to always sample 999ba7f59 Fix CI 1e8229d45 build(deps): bump github.com/urfave/cli/v2 from 2.19.2 to 2.20.2 3327991b0 build(deps): bump cachix/cachix-action from 10 to 11 0ce9fb039 build(deps): bump google.golang.org/grpc from 1.50.0 to 1.50.1 1f8221f07 build(deps): bump cachix/install-nix-action from 17 to 18 376f7e9df Update dependencies 316830590 Add logs to OpenTelemetry traces e56855dc7 docs: updated kubernetes tutorial 53e631663 Update conmon-rs to latest `main` 8bf89f341 Minor Checkpoint/Restore improvements 62d77513b Track type of all bind mounts during checkpointing 331f30bfb build(deps): bump google.golang.org/grpc from 1.49.0 to 1.50.0 997032dec .github/CODEOWNERS: drop runcom a7a279c84 build(deps): bump sigs.k8s.io/zeitgeist from 0.3.2 to 0.3.5 fb66985f1 config: avoid segfault when workloads.resources is nil 0244fee08 support checkpointing to oci image ae5d39c74 Fix lint CI on `main` eabfdb404 [#5240] update supported OS versions 26614cad9 build(deps): bump github.com/urfave/cli/v2 from 2.15.0 to 2.17.1 f7c9c2754 build(deps): bump github.com/Microsoft/go-winio from 0.5.2 to 0.6.0 42bb61393 fix: give loopback a name 9ee3457ff test/README: Update url for kata containers f1be99faa images/os/Dockerfile: Delete this, it's dead code 570a4c1b9 config: translate monitor fields when printing config 32e6520ff Update config readme 5d20c76fb Allow complete Runtimes config to change 88cc2f9b9 build(deps): bump k8s.io/klog/v2 from 2.70.1 to 2.80.1 28861ed60 build(deps): bump actions/stale from 5 to 6 88c1f772f build(deps): bump github.com/opencontainers/image-spec b6755fc94 build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc c9ba93e08 build(deps): bump github.com/containers/podman/v4 from 4.2.0 to 4.2.1 2a876f1a7 build(deps): bump github.com/containers/buildah from 1.27.0 to 1.28.0 db20b31e1 Do not use deprecated SetNames 4ea5eeddf build(deps): bump github.com/container-orchestrated-devices/container-device-interface 481683497 config: do not remove runc if different default runtime f24ea6702 workloads: fix whitespace b3f877a64 template: fix whitespace and comments in runtimes table b7b56c202 contrib/test: set LOG_DIR to debug kubernetes issues 0b0e16b1c Update conmon-rs 8e1a561e8 Bump conmon-rs code to latest `main` 506e0cbef contrib/test: drop userns integration tests 9db3e8e64 Add basic integration tests for runtime reload 877b5fbdc Add notes on runtime reload support to documentation a3fb007fb Reload runtime configs on reload 29bff1526 Invert conditional check in ValidateDefaultRuntime 2ba6ee2ed Move default runtime validation to its own function 018657b37 use cri-tools version from dependencies.yaml 406f367cb use AddInheritableCapabilities 9070d982d config: add field AddInheritableCapabilities 9d5fbfd90 resourcestore: add test for stages 40d41e3fb server: update stages according to progress with resource creation bce2bc388 resource store: return stage when a watcher is requested a8e2fc166 resource store: introduce stages 1955be644 Add conmon-rs e2e to ansible playbook 24304da5e server: return already created ID for duplicated requests 6b627cbc0 cli: fix some inconsistencies in the help text 0cdd90155 Update vendored files 14926effc go.mod: update goresctrl to v0.3.0 53182dd9b build(deps): bump github.com/urfave/cli/v2 from 2.11.2 to 2.15.0 3b6b98872 Add scripts to run node e2e tests using custom cri-o builds 6d66ea7e6 Fix integration CI runs 7a0b131f5 build(deps): bump sigs.k8s.io/zeitgeist from 0.3.1 to 0.3.2 388032759 metrics: close listener on shutdown ee5d97254 cgmgr: use NewSystemd from createSandboxCgroup aede1956a contrib/test/ci: add rhel9 variant-specific changes 8ec499266 removes async b2a72cbd8 migrates tests to run on GCP 76ec212ea Update build instructions for RHEL 8 distribution Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containerd: update to 1.7.0Bruce Ashfield2023-04-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping containerd to version v1.7.0-11-g6ea9bc57f, which comprises the following commits: d81fc15af update runc binary to v1.1.5 755efbe64 go.mod: github.com/opencontainers/runc v1.1.5 90591db47 Defer uid lookups on Darwin b7d87b190 Add `WithReadonlyTempMount` to create readonly temporary mounts 1c1b6bcb2 CRI: Don't always close netConfMonitor channel cf2e454bf Sandbox: Correct/add some fields to Status() ce68e8e0d Sandbox: Cleanup shim on Start failure e13a9165e Prepare release notes for v1.7.0 625217d5f RELEASES.md: describe the deprecated config properties 703e2ba4b docs: link docs/managed-opt.md to client.Install f2bb9c9b0 Go 1.20.2 56354c7de Update ttrpc to v1.2.1 5144ba9c4 sandbox: create sandbox with network namespace path dd3eedf3c labels: Add LabelDistributionSource 5c9c630c3 use uppercase letters for flag usage 0efc498d3 Prepare release notes for v1.7.0-rc.3 ff4acdc42 metadata: add comments about Image.CreatedAt 6d46bb410 go.mod: go.opentelemetry.io/otel/* v1.14.0 d26587c72 archive: disable looking up usernames and groupnames on the host 535ef5054 go.mod: github.com/stretchr/testify v1.8.2 2b4f830ed go.mod: github.com/opencontainers/selinux v1.11.0 6bfc82daf go.mod: github.com/opencontainers/runtime-spec v1.1.0-rc.1 7c70185ae go.mod: github.com/klauspost/compress v1.16.0 8e67b2731 go.mod: github.com/imdario/mergo v0.3.13 6afec5558 go.mod: github.com/emicklei/go-restful/v3 v3.10.1 c4f928f88 go.mod: github.com/containerd/ttrpc v1.2.0 5630d6a84 go.mod: github.com/containerd/fifo v1.1.0 6d9513231 go.mod: github.com/containerd/cgroups/v3 v3.0.1 da1ffdd75 go.mod: github.com/Microsoft/hcsshim v0.10.0-rc.7 60738e31d Update imgcrypt to v1.1.7 8a4d409b9 Add release notes for v1.7.0-rc.2 d602c9aec docs: fix typo of shim.RunManager's function comment f70657650 feat: tag image using Transfer api f7eb86ef3 Sandbox: Delete shim+shutdown sandbox on create failure 6b4b6956e Sandbox: Fix/enhance error messages for Create 8ce3e4e15 epoch: fix unit test when SOURCE_DATE_EPOCH is set 32ed559c8 Add Windows Sandbox Stats (sbserver) 08aa576a9 Add Windows Sandbox Stats 8137e41c4 Add ArgsEscaped support for CRI 5946c1051 *: fix code style issue 98cb6d7eb cri/sbserver: ignore the NOT_FOUND error in exec cleanup 01671e9fc cri: add config ut for invalid drain io timeout value 55e25f164 integration: add testcase to drain exec IO in time ffebcb122 cri: disable drain-exec-IO if it is empty timeout 791f137a5 *: update drainExecSyncIO docs and validate the timeout 13bf5565e [transfer] update export to use image store references e2283edef [transfer] update export API types f6491b004 feat: export images using Transfer api b9d7eae1a feat(api): add fields to ImageExportStream 3c18decea *: add DrainExecSyncIOTimeout config and disable as by default a9cbddd65 *: fix typo and skip exec-io-drain-testcase in win b91f42a14 ctr/tasks: support remapped UID/GID 2e96ba95e Create config struct to take user input f25ec98d0 Fix linting error `sets.String is deprecated` 8145b15f0 Bump k8s.io deps 04dfd6275 pkg/cri/sbserver: add timeout to drain exec io 82c0f4ff8 pkg/cri/server: add timeout to drain exec io 43d36a254 Add experimental section to RELEASES.md cd84f752c Prepare release notes for v1.7.0-rc.1 ae42f836f Update mailmap 4522ad886 Update CRI guide link 57fb2d30f Add max shim version environment variable 5c6e9f83d Fix streaming manager deadlock on collection acf6e9411 Update README with location of security audits 30883d831 Increase CI workflow timeout on Windows. af7477e43 docs: fix typos in historical/design/data-flow.md 6b589a89f releases: mark 1.5 as EOL dba6f9db1 Add version to shim protocol 36ae2f6b9 bump go-cni to v1.1.9 cf46d3c6f Treat sandboxes as root gc resources and scan referenced objects 35d42b47f Add Linux arm64 arch to install-protobuf script 727f8530c Prepare release notes for v1.7.0-rc.0 2e9aaf094 docs: update instructions for enabling NRI. 310be5ce6 pkg/nri: update NRI configuration. 8a47c6910 Add a leading space after the comment sign f53417921 Add unit test to getSupportedPlatform a6ad9e04e Rewrite install-protobuf script 3769b4840 Rewrite install-protobuf script 47305392c Add configuration options to local transfer service bd0a2a927 CRI: remove duplicated snapshotters code 49abbe4f2 fix failing TestCDIInjections 30e4a1409 update CDI version to v0.5.4 4728800ab runtime/v2: Get rid of last logrus.Fields usage 4278fbbc7 runtime/v2: Call onCloseWithShimLog for grpc shims 06e085c8b Add Fields type alias to log package 0ecdd341d docs: add more comment to logging.LoggerFunc ea83632a8 docs: Show how to select GRPC for shims 369339897 Migrate from k8s.gcr.io to registry.k8s.io a48dbefc1 Fix concurrent writes for UpdateContainerStats dc27cc0a2 Add macOS build notes 56274749c sandbox: start sandbox with options 2716fd041 dependency: bump go.etcd.io/bbolt to v1.3.7 979a74412 runtime/v2: Log BootstrapParams 4baa1876b contrib/apparmor: remove code related to apparmor_parser version 0ced6ac64 Prepare release notes for v1.7.0-beta.4 90d004ae8 Go 1.20.1 281f89a9d go.mod: go 1.19 d8b68e3cc Stop using math/rand.Read and rand.Seed (deprecated in Go 1.20) a9ac5f9cb lint: remove `//nolint:dupword` that are no longer needed 9b510e9a8 lint: silence "SA1019: tar.TypeRegA has been deprecated... (staticheck)" 8bf975b4f lint: silence "type `HostFileConfig` is unused (unused)" 4b9fd6ba5 golangci-lint v1.51.1 ac31c9a53 Clean up repeated package import 39bac0dbe error strings should not be capitalized 9a9cfe85e Go 1.19.6 0166783c7 cni: pass in the cgroupPath capability argument d14758b60 go.mod: bump to go-cni main e855a5998 cmd/ctr/commands/images: support usage subcommand 9c82e929f release: xx v1.2.1 844252164 Add fallback for windows platforms without osversion 081601f52 Update imagestore interface to support multiple references 646bc3a94 CRI: Create DefaultCRIAnnotations helper 5aab634e1 CRI: Pass sandbox annotations to _other platforms 2b24af8d1 Use options to pass PodSandboxConfig to shims ebbcb57a4 pkg/cri/sbserver: experimental NRI integration for CRI. 8a1dca0f4 pkg/cri: split out NRI API from pkg/cri/server. a8bb1ad2a loadConfig pre-inspection in advance 36e7dbdcb ctr version: add args check, prohibit incoming args 750d18ace Extract CRI instrument package 60d04b0b0 pkg: rename {blockio,rdt}_default.go -> nonlinux.go b61988670 go.mod: github.com/containerd/typeurl/v2 v2.1.0 74b371b98 CRI: Mirror generic toml runtime config under server 8ef298d86 Add transport credentials GRPC opt 77fc0948c Use switch when creating TTRPC/GRPC client a82e37a5a Add shim bootstrap params fc2e761e2 Initial GRPC client support 9e5c207e4 Wire up client bridges 4b1ebef3c Add Sandbox service GRPC bridge 47cb5f64b Add Task Service GRPC bridge 51a8db233 Send container events with nil PodSandboxStatus 27c8f4085 Move PLEG event generation back to sbserver to avoid missing pod sandbox status 7cf556075 test: add hostNetwork tests for both windows and linux d33a43cc2 pkg/apparmor: clarify Godoc a3265102d Revert "Don't check for apparmor_parser to be present" c990e3f2e contrib/apparmor: remove version-dependent rules fe0116ec2 CI: skip some jobs when `repo != containerd/containerd` 3eda46af1 oci: fix additional GIDs ef2560d16 oci: fix loop iterator aliasing 52f82acb7 btrfs: depend on kernel UAPI instead of libbtrfs 62df35df6 *: introduce wrapper pkgs for blockio and rdt 6cdc221f5 'go routine' should be 'goroutine' b0e97c0f9 Use multierror for cleanup error 34314717b Remove sandox store and controller service type a788f6c79 Move local sandbox controller under plugins package 2717685da Refactor sandbox controller interface 0b33a45fa cri: fix Mirrors deprecation comment 5bc3fea62 update fuzz function names in docs with golang naming convention 904a87d26 docs: fix function names in fuzzing test documentation 9e4acc028 importer: stream oci-layout and manifest.json Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to 2.1.3-tipBruce Ashfield2023-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping conmon to version v2.1.3-43-g9a3af8f, which comprises the following commits: 9a3af8f logging: avoid opening /dev/null for each write 813c8d7 oom: restore old OOM score 9d3a955 Update CI VM images b1d7297 Use default umask `0022` 54a0c9c exit: Free allocated string dbade0d version: bump to v2.1.7 1841000 Fix leaking symbolic links in the opt_socket_path directory 5cff0ce cgroup: Stumble on if we can't set up oom handling 5f669ba bump to v2.1.6 3dc09f6 packit: build in dedicated projects fffef27 hack: build ginkgo in GOPATH ef8a9f2 vendor bump ginkgo to v2 b042229 gh actions: bump to go 1.20 c002534 Use --detach instead of -d df277e2 Fix OOM watcher for cgroupv2 `oom_kill` events 4cb1e4d Lint/format fixes for golang 1.19 a10fe91 Update CI VM Images to F36/F37 2d03ad0 ctrl: drop fifo perms to 0660 8c72109 Fix tools/Makefile with GNU make 4.4 6b600ac bump to v2.1.5 28b3bc7 don't leak syslog_identifier f903e20 logging: do not read more that the buf size f4d3beb logging: fix error handling 21f648b cli: Fix conmon-pidfile/container-pidfile description 1df3e90 Makefile: Fix install for FreeBSD cb0c68b signal: Track changes to get_signal_descriptor in the FreeBSD version 1fbfa33 Packit: initial enablement 5e82bb4 bump to 2.1.4 1420874 signal: handle SIGUSR1 with signalfd 636e239 Use /usr/bin/env to locate bash Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-docker: update to 1.1.5Bruce Ashfield2023-04-051-2/+2
| | | | | | | | | | | | | Bumping runc to version v1.1.5-1-g17a2d451, which comprises the following commits: 17a2d451 VERSION: back to development f19387a6 VERSION: release v1.1.5 8ec02ea1 nsexec: retry unshare on EINVAL 0abab45c Prohibit /proc and /sys to be symlinks 0e6b818a rootless: fix /sys/fs/cgroup mounts f6e2cd3b nsexec: Check for errors in write_log() Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-opencontainers: update to 1.1.5Bruce Ashfield2023-04-051-2/+2
| | | | | | | | | | | | | Bumping runc to version v1.1.5-1-g17a2d451, which comprises the following commits: 17a2d451 VERSION: back to development f19387a6 VERSION: release v1.1.5 8ec02ea1 nsexec: retry unshare on EINVAL 0abab45c Prohibit /proc and /sys to be symlinks 0e6b818a rootless: fix /sys/fs/cgroup mounts f6e2cd3b nsexec: Check for errors in write_log() Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: make CC for amd64 match other architecturesChen Qi2023-03-271-9/+16
| | | | | | | | | | | Change 0001-hack-lib-golang.sh-use-CC-from-environment.patch to also remove the 'export CC=xxx' for amd64. The original patch is a little strange, it removes such statements for other archs but leaves amd64 untouched. If we're using CC from our environment, we use it for all targets. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to v1.27.x-rcBruce Ashfield2023-03-272-15/+19
| | | | | | | | | | | Bumping kubernetes to the next release candidate (april 2023). We refresh our $GO patch, drop the need to do release artifacts preparation and add a new INSANE_SKIP for kubelet. But otherwise, the build and content the same or similar. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: update to 4.4.3Bruce Ashfield2023-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping libpod to version v4.4.3-2-g6172f29f9, which comprises the following commits: 2c01aa7e3 Bump to v4.4.4-dev d2f93d621 Bump to v4.4.3 2ae3c4fe9 Release notes for v4.4.3 d6ea3983d compat: /auth: parse server address correctly 0a897f03f vendor github.com/containers/common@v0.51.1 f7fccc87c pkginstaller: bump Qemu to version 7.2.0 53212ea0e podman machine: Adjust Chrony makestep config 06925d554 [v4.4] fix --health-on-failure=restart in transient unit 9c0d2dc2f podman logs passthrough driver support --cgroups=split a0fad9f8c journald logs: simplify entry parsing 54b070ee6 podman logs: read journald with passthrough c5fa9c50f journald: remove initializeJournal() 6b19e1437 netavark: only use aardvark ip as nameserver d737a815a compat API: network create return 409 for duplicate 1a3a5594a fix "podman logs --since --follow" flake bd65bf2ed system service --log-level=trace: support hijack 8ab00424b podman-mac-helper: exit 1 on error badbd8a34 bump golang.org/x/net to v0.8.0 36ab43f77 Fix package restore df0fe4fcc Quadlet - use the default runtime 594d488b8 Bump to v4.4.3-dev 74afe2688 Bump to v4.4.2 87a1c2701 Release notes for v4.4.2 3abff420a Revert "CI: Temporarily disable all AWS EC2-based tasks" 8322cab91 kube play: only enforce passthrough in Quadlet d69512b98 Emergency fix for man pages: check for broken includes 9606d7f99 CI: Temporarily disable all AWS EC2-based tasks ab7a47840 quadlet system tests: add useful defaults, logging 805e94b03 volume,container: chroot to source before exporting content 321d05aa9 install sigproxy before start/attach 84521f52d Update to c/image 5.24.1 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: templates/lxc-busybox.in: if busybox contains init then use itXiangyu Chen2023-03-172-0/+46
| | | | | Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: add -L option for curl in templates-use-curl-instead-of-wget.patchXiangyu Chen2023-03-171-1/+1
| | | | | | | | | | | | | | Add support of redirect option for curl, the linuxcontainers.org sometimes redirect to other mirror site such like us.lxd.images.canonical.com, this would cause the lxc-download script report download failed. Reproduce and verified on following command: lxc-create -t download -n test -- --dist archlinux --release current --arch arm64 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers: use VIRTUAL-RUNTIME variable to allow container runtime flexibilityBruce Ashfield2023-03-083-3/+3
| | | | | | | | | Rather than using virtual-runc (which choses between the old docker and opencontainer variants), use the newly added VIRTUAL-RUNTIME_container-runtime variable, which allows switching betwen runc and crun. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: use VIRTUAL-RUNTIME variable for flexible RDEPENDSBruce Ashfield2023-03-081-1/+1
| | | | | | | | | To make it simpler to vary the container runtime and the networking infrastructure to be used with podman, we use the recently introduced VIRTUAL-RUNTIME variables that control these values. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: update to v23.0.1-tipBruce Ashfield2023-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping docker to version v23.0.1-34-gbfc8e1ae36, which comprises the following commits: 2337258d28 libnet/networkdb: fix nil-dereference panic in test d6d48dd95d Upgrade to golangci-lint v1.51.2 c4b655830d Migrate away from things deprecated in Go 1.20 c6bf777eae d/l/awslogs: fix ineffective Add in test da10937926 daemon: handle EISDIR error from runtime 938ed9a1ed distribution/xfer: make off-by-one error a feature ca712d6947 Fix loop-closure bugs in tests 2c55b264f7 Upgrade containerd/fifo to v1.1.0 8fd038fb71 dependency: bump go.etcd.io/bbolt to v1.3.7 87a1517f8f vendor: golang.org/x/net v0.7.0 d15010643c vendor: golang.org/x/text v0.7.0 0727310950 vendor: golang.org/x/sys v0.5.0 b8c448ef24 Revert "apparmor: Check if apparmor_parser is available" a3f5319563 vendor: github.com/containerd/containerd v1.6.18 52d667794f [23.0] update containerd binary to v1.6.18 11715a05ca update to go1.19.6 962c238c17 libnet/networkdb: use atomics for stats counters 20d05e235e libnetwork/networkdb: make go test -race ./libnetwork/networkdb pass c2d69d06b0 api/s/r/swarm: log backend errors at Debug level 7c09feb58c libnetwork: check DNS loopback with user DNS opts 6c2637be11 Do not log connection info before the connection exists 4002fa877b vendor: update buildkit to latest v0.10 Bumping docker-cli to version v23.0.1-2-g1ab7665be, which comprises the following commits: 1810e922a docs: drop dated comments about graphdrivers 27b19a6ac ci: fix branch filter pattern Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* moby: update to v23.01-tipBruce Ashfield2023-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping moby to version v23.0.1-34-gbfc8e1ae36, which comprises the following commits: 2337258d28 libnet/networkdb: fix nil-dereference panic in test d6d48dd95d Upgrade to golangci-lint v1.51.2 c4b655830d Migrate away from things deprecated in Go 1.20 c6bf777eae d/l/awslogs: fix ineffective Add in test da10937926 daemon: handle EISDIR error from runtime 938ed9a1ed distribution/xfer: make off-by-one error a feature ca712d6947 Fix loop-closure bugs in tests 2c55b264f7 Upgrade containerd/fifo to v1.1.0 8fd038fb71 dependency: bump go.etcd.io/bbolt to v1.3.7 87a1517f8f vendor: golang.org/x/net v0.7.0 d15010643c vendor: golang.org/x/text v0.7.0 0727310950 vendor: golang.org/x/sys v0.5.0 b8c448ef24 Revert "apparmor: Check if apparmor_parser is available" a3f5319563 vendor: github.com/containerd/containerd v1.6.18 52d667794f [23.0] update containerd binary to v1.6.18 11715a05ca update to go1.19.6 962c238c17 libnet/networkdb: use atomics for stats counters 20d05e235e libnetwork/networkdb: make go test -race ./libnetwork/networkdb pass c2d69d06b0 api/s/r/swarm: log backend errors at Debug level 7c09feb58c libnetwork: check DNS loopback with user DNS opts 6c2637be11 Do not log connection info before the connection exists 4002fa877b vendor: update buildkit to latest v0.10 Bumping docker-cli to version v23.0.1-2-g1ab7665be, which comprises the following commits: 1810e922a docs: drop dated comments about graphdrivers 27b19a6ac ci: fix branch filter pattern Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* crun: update to v1.8.1Bruce Ashfield2023-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping crun to version 1.8.1-3-ga09ab72, which comprises the following commits: 11d1baf build(deps): bump actions/upload-artifact from 2 to 3 f8a096b NEWS: tag 1.8.1 4748543 utils: drop magic number 4096 b022227 utils: use mempage size buffer to read /proc/mounts 2da0773 linux: always use direct mapping 6cdf51c container: delete cgroup on errors fba646e cgroup: rmdir the entire systemd scope 3221684 crun.1.md: fix typo 31bcf8f crun.1.md: fix markup 5007784 build: delete .version file on make clean 46fbeee cgroup: reset systemd unit if start fails 7e7a4db cgroup: do not add default dependencies 4bd4c4e test: run codespell on the correct directory 8b46c45 src: run codespell b841b71 Support passing an attribute to change the mount_context_type 2ca4233 test: fix path for crictl ce66b2e Revert "Support passing an attribute to change the mount_context_type" 87b69c3 Support passing an attribute to change the mount_context_type d23a94a krun: create /dev/sev as part of the OCI configuration 84092f6 handlers: add hook for exec 83f3ab2 handlers: rename exec_func to run_func 93a8e2f krun: always allow /dev/kvm 675e87c handlers: update uses modify_oci_configuration 1efd61a update: move json parsing to container c9b230a handlers: provide cleanup function bd22751 handlers: move cookie data under the same struct 71bf884 handlers: add new hook to modify the OCI configuration b3e167d crun: set handler for all commands f0f7b8c handlers: initialize handler in the parent process cfec5ce NEWS: tag 1.8 957796e libcrun: remove unused intprops.h 8363deb linux: move PR_SET_DUMPABLE after userns creation 83de960 dist: do not include binary tests 188e0ce nix: add gcrypt dependency f7c715d nix: remove protobuf dependency 765161c nix: refactor same command line 98898d2 nix: update image to nixos/nix:2.12.0 bcae634 Add support for ppc64le 9b287dd README.md: add CodeQL badge ed7598d README.md: drop lgtm badges 1a61b4d utils: shrink read buffer if necessary 2a5cc1d nix: update packages 7d9fa03 tests, centos8-build: add safe.directory /crun 822ca4a utils: add utils to access /proc/$PID/fd/$FD paths 0554b0a utils: change initial size for buffer 742e8fc utils: reallocate only if needed 4e379c6 cgroup: support cpuset mounted with noprefix 58166e6 linux: set PR_SET_DUMPABLE 908bfc4 linux: mount cgroup ro on /sys bind mount fallback cd1cf0b linux: add two new arguments to get_bind_mount b84bde9 linux: mount the source cgroup if cgroupns=host 03d2969 linux: refactor out helper function 75f5c1a linux: fix error message 234d77c linux: precreate devices on the host f23cd15 utils: add functions to read overflow IDs 85767be linux: remove duplicate slash 1e29136 linux: generalize fsopen_mount a186e8a linux: add dirfd argument to get_bind_mount 7e42a18 linux: add infra to send devices mounts a6c9453 linux: generalize receive_mounts b0fe2e4 linux: refactor code in a separate function 05f1298 contrib, seccomp-notify-plugin: free args on error to prevent leak a34dd94 cri-o,test: skip failing test unrelated to crun 78cf10f crun: fix clang format 278b9b4 src/crun.c: fix build without dlfcn.h 0ebf4e7 build(deps): bump uraimo/run-on-arch-action from 2.3.0 to 2.5.0 4832ca4 Don't clone self from read-only mount 9df7442 tests, wasmedge: copy libraries under /usr/lib64 2044720 tests, wasmedge-build: install which 6f0d03c tests, crio: skip checkpoint/restore tests d406a97 tests, centos9-build: add safe.directory /crun 81b4ba0 tests, cri-o: add criu-libs rpm ca41c80 cloned_binary: use cleanup_close e1c3906 tests, cri-o: update go to 1.19 a83001b cgroups v1: fix legacy mode mount. 26fe138 utils: fix applying AppArmor profile 1cfaf54 tests: disable some CRI-O failing tests 5e3ef32 crun: write setgroups=deny when mapping a single uid/gid da84be0 github: fix cri-o CI on cgroupv2 cdf7864 tests: disable test that requires io.bfq.weight c54fc6f github: fix running on cgroupv2 0356bf4 NEWS: tag 1.7.2 d389308 criu: hardcode to libcriu version 2 3880f04 cgroup: always enable controller 258c237 crun: fix compile time check for CRIU 6ce11e8 copr: enable wasmedge on all active envs ada59b2 tests: fix podman tests d068462 NEWS: tag 1.7.1 9893e99 utils: Improve debug message db08071 linux: include terminal \0 when copying mapping 67f58c6 utils: fix creating default userns 5689bd1 krun: disable libkrun's collection of env vars 6b8da56 krun: copy the OCI configuration file 92db973 configure.ac: do not link libcriu dynamically f6a5109 criu: add check at runtime for the version 8c3fc12 criu: load libcriu dynamically b3189ef src: run make clang-format be6c22c fix timestamp format, tv_usec is microsecond not nanosecond ff95309 copr: enable wasmedge on epel9 40f66c0 seccomp: initialize libgcrypt 9bff00a Add setlinebuf() when --debug and --log=file: are used. cb6ae27 handlers: set selinux/apparmor profile 0efbe56 utils: change AppArmor profile for the current proc f1f286a utils: change SELinux label for the current proc a1cd1a6 handlers: use only the handler name if needed Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns: Add ptest supportVasileios Anagnostopoulos2023-03-082-0/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: Add ptest supportVasileios Anagnostopoulos2023-03-083-0/+51
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* aardvark-dns: add the recipeVasileios Anagnostopoulos2023-03-083-0/+174
| | | | | | | | | The aardvark-dns is an optional runtime dependency of the netavark. This recipe introduces the aardvark-dns, so it can be integrated to netavark. Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: update the netavark versionVasileios Anagnostopoulos2023-03-081-30/+41
| | | | | Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* netavark: add the netavark recipePascal Bach2023-03-082-0/+209
| | | | | | | | | The recipe is generated via cargo-bitbake. Modifications are done in netavark.inc to allow re-genrating the recipe for future updates. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Vasileios Anagnostopoulos <vasileios.anagnostopoulos@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: skip lxc-test-apparmor-mount and lxc-test-get_item in ptestXiangyu Chen2023-03-081-0/+3
| | | | | | | | | lxc-test-apparmor-mount and lxc-test-get_item related to apparmor, since the lxc-test-apparmor has been already skipped, so also skip those two cases. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>