summaryrefslogtreecommitdiffstats
path: root/recipes-containers
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* buildah: update to 1.29.xBruce Ashfield2023-02-272-56/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We drop our backported patch, since it is now part of the upstream project. We also drop {LINKSHARED} from the build, as with the updated buildah and golang version bumps in oe-core, we get the following build error: | # github.com/containers/buildah/cmd/buildah | type:*crypto/elliptic.nistCurve[*crypto/internal/nistec.P384Point]: unreachable sym in relocation: crypto/elliptic.(*nistCurve[*crypto/internal/nistec.P384Point]).Add | type:*crypto/elliptic.nistCurve[*crypto/internal/nistec.P384Point]: unreachable sym in relocation: crypto/elliptic.(*nistCurve[*crypto/internal/nistec.P384Point]).Add It is unclear what the linked shared flag was providing in our build, and we are generally ok with statically linked go applications. So we drop the flag until a compelling reason exists to debug the linking failure. Bumping buildah to version v1.29.1-1-g7fa17a842, which comprises the following commits: faf0d4fcb [release-1.29] Bump to Buildah v1.29.1 7d5ff3012 Update to c/image 5.24.1 94b723cb5 Bump to v1.29.0 c9cbc6d7d tests: improve build-with-network-test 5e3f26de2 Bump c/storagev1.45.3, c/imagev5.24.0, c/commonv0.51.0 b70fb1765 build(deps): bump github.com/onsi/gomega from 1.25.0 to 1.26.0 fe0256d38 Flake 3710 has been closed. Reenable the test. f9ef51cbb [CI:DOCS] Fix two diversity issues in a tutorial 3ef898e41 build(deps): bump github.com/fsouza/go-dockerclient from 1.9.2 to 1.9.3 0d87e38b6 vendor in latests containers/(storage, common, image) 15bdd2aad fix bud-multiple-platform-with-base-as-default-arg flake ac7458e70 stage_executor: while mounting stages use freshly built stage e1cfcb240 build(deps): bump github.com/fsouza/go-dockerclient from 1.9.0 to 1.9.2 d1c82c29a build(deps): bump github.com/onsi/gomega from 1.24.2 to 1.25.0 4dec25346 vendor in latests containers/(storage, common, image, ocicyrpt) c0f6c6b7a [Itests: change the runtime-flag test for crun 186b30168 [CI:DOCS] README: drop sudo 1950ab687 Fix multi-arch manifest-list build timeouts d106e425a Cirrus: Update VM Images 67ab55bbb bud: Consolidate multiple synthetic LABEL instructions 9fced965e build, secret: allow realtive mountpoints wrt to work dir 938c03556 fixed squash documentation 59da1a7f7 build(deps): bump github.com/containerd/containerd from 1.6.14 to 1.6.15 4952862a2 Correct minor comment 820fafc88 Vendor in latest containers/(common, image, storage) a75b263f7 system tests: remove unhelpful assertions 356668389 buildah: add prune command and expose CleanCacheMount API a5e177586 vendor: bump c/storage to a747b27 60be7f250 Add support for --group-add to buildah from 00d8d94cb build(deps): bump actions/stale from 6 to 7 e33bb8678 Add documentation for buildah build --pull=missing 5828918bc build(deps): bump github.com/containerd/containerd from 1.6.12 to 1.6.14 4aa28f6a7 build(deps): bump github.com/docker/docker 7a4702ae2 parse: default ignorefile must not point to symlink outside context 67c2e4de5 buildah: wrap network setup errors d9578d32c build, mount: allow realtive mountpoints wrt to work dir 57a77073a Update to F37 CI VM Images, re-enable prior-fedora 798a250d4 Update vendor or containers/(image, storage, common) ca96c3678 build(deps): bump golang.org/x/crypto from 0.3.0 to 0.4.0 e0054a03d Update contact information e5cc78c43 build(deps): bump golang.org/x/term from 0.2.0 to 0.3.0 46eea3158 Replace io/ioutil calls with os calls 0183471b9 [skip-ci] GHA/Cirrus-cron: Fix execution order 8428bc87b Vendor in containers/common e60c4d7e5 build(deps): bump golang.org/x/sys from 0.2.0 to 0.3.0 ffed85036 remote-cache: support multiple sources and destinations a1698cde6 Update c/storage after https://github.com/containers/storage/pull/1436 025a8df51 util.SortMounts(): make the returned order more stable 5e792e97b version: Bump to 1.29.0-dev 498b45770 [CI:BUILD] Cirrus: Migrate OSX task to M1 94560581d Update vendor of containers/(common, storage, image) e6eb05f75 mount=type=cache: seperate cache parent on host for each user 20dd347b9 Fix installation instructions for Gentoo Linux e162302df build(deps): bump github.com/containerd/containerd from 1.6.9 to 1.6.10 1cfb5eafb GHA: Reuse both cirrus rerun and check workflows 5bd5a4f9d Vendor in latest containers/(common,image,storage) 8e4979e81 build(deps): bump github.com/onsi/gomega from 1.24.0 to 1.24.1 3d755b5eb copier.Put(): clear up os/syscall mode bit confusion 1a18ab341 build(deps): bump golang.org/x/sys from 0.1.0 to 0.2.0 646c28290 Use TypeBind consistently to name bind/nullfs mounts d4c661a77 Add no-new-privileges flag 1f372c08a Update vendor of containers/(common, image, storage) b2054360a imagebuildah:build with --all-platforms must honor args for base images a17238891 codespell code 217b2d524 Expand args and env when using --all-platforms c554e5330 build(deps): bump github.com/onsi/gomega from 1.23.0 to 1.24.0 ed3707765 GHA: Simplify Cirrus-Cron check slightly 1091222b2 Stop using ubi8 cec864147 remove unnecessary (hence misleading) rmi ffb00243f chroot: fix mounting of ro bind mounts a237085fe executor: honor default ARG value while eval base name 481b3cc95 userns: add arbitrary steps/stage to --userns=auto test dc733f1d2 Don't set allow.mount in the vnet jail on Freebsd e867db39b copier: Preserve file flags when copying archives on FreeBSD bf4420f25 Remove quiet flag, so that it works in podman-remote 8b1a490bd test: fix preserve rootfs with --mount for podman-remote b24449990 test: fix prune logic for cache-from after adding content summary 4290ab5af vendor in latest containers/(storage, common, image) 1d0dd78c3 Fix RUN --mount=type=bind,from=<stage> not preserving rootfs of stage 7aa34b86f Define and use a safe, reliable test image 87e379d5b Fix word missing in Container Tools Guide 57f370d9d Makefile: Use $(MAKE) to start sub-makes in install.tools 3223610ff imagebuildah: pull cache from remote repo after adding content summary f9693d0a5 Makefile: Fix install on FreeBSD 835668715 Ensure the cache volume locks are unlocked on all paths 0d7414703 Vendor in latest containers/(common,storage) 60382209e Simplify the interface of GetCacheMount and getCacheMount 8f955f801 Fix cache locks with multiple mounts bdd62ef87 Remove calls to Lockfile.Locked() cfa10d16c Maintain cache mount locks as lock objects instead of paths ffb2f27a8 test: cleaning cache must not clean lockfiles 6838cbc81 run: honor lockfiles for multiple --mount instruction f2e0af5c4 mount,cache: lockfiles must not be part of users cache content 6fa774ddc Update vendor containers/(common,image,storage) bdb549478 [CI:BUILD] copr: buildah rpm should depend on containers-common-extra eb9f3648b pr-should-include-tests: allow specfile, golangci da214d6d4 build(deps): bump dawidd6/action-send-mail from 3.7.0 to 3.7.1 5baed90cd build(deps): bump github.com/docker/docker 82431441a build(deps): bump github.com/fsouza/go-dockerclient from 1.8.3 to 1.9.0 9226bd312 Update vendor containers/(common,image,storage) 26a29674a build(deps): bump actions/upload-artifact from 2 to 3 cadd801fc build(deps): bump actions/checkout from 2 to 3 8ec69a9ad build(deps): bump actions/stale from 1 to 6 356ab96d7 build(deps): bump dawidd6/action-send-mail from 2.2.2 to 3.7.0 27032ea0f build(deps): bump tim-actions/get-pr-commits from 1.1.0 to 1.2.0 5038a0dae sshagent: LockOSThread before setting SocketLabel 4f272ee49 Update tests for error message changes 788fddb1d Update c/image after https://github.com/containers/image/pull/1299 f232da006 Fix ident for dependabot gha block acc230dc3 build(deps): bump github.com/containers/ocicrypt from 1.1.5 to 1.1.6 dc81652ff Fix man pages to match latest cobra settings 7260a4b0d build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 fba8daf13 build(deps): bump github.com/onsi/gomega from 1.20.2 to 1.22.1 df8f0fa88 test: retrofit 'bud with undefined build arg directory' 9d43eb95e imagebuildah: warnOnUnsetBuildArgs while processing stages from executor 1a2af6864 Update contrib/buildahimage/Containerfile e1c7a5df1 Cirrus CI add flavor parameter b5c86a8e0 Correction - `FLAVOR` not `FLAVOUR` f5fc96e79 Changed build argument from `RELEASE` to `FLAVOUR` 36afa3530 Combine buildahimage Containerfiles 472c46f98 bud.bats refactoring: $TEST_SCRATCH_DIR, part 2 of 2 ca65736da bud.bats refactoring: $TEST_SCRATCH_DIR, part 1 of 2 2adbe2a58 System test cleanup: document, clarify, fix bf0a6e073 test: removing unneeded/expensive COPY 94ea37767 test: warning behaviour for unset/set TARGETOS,TARGETARCH,TARGETPLATFORM eae3415b1 Bump to v1.28.1-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* container-host-config: extend to native and nativesdkChen Qi2023-02-211-0/+2
| | | | | | | | skopeo rdepends on it, and skopeo has been extended to native and nativesdk, so container-host-config needs also be extended. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* container-host-config: provide /etc/containers/policy.jsonChen Qi2023-02-214-1/+10
| | | | | | | | | | | | The /etc/containers/policy.json[1] file is used to specify verification policy. For now, we can see it's used by both cri-o and skopeo. To avoid conflict, we use container-host-config to provide this file and make both skopeo and cri-o depend on it. [1] https://github.com/containers/image/blob/main/docs/containers-policy.json.5.md Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-*: prevent -march being exported in arm buildsMartin Jansa2023-02-213-11/+97
| | | | | | | | | | | | | | * don't export CGO_CFLAGS/CGO_CXXFLAGS like the previous version didn't before: https://git.yoctoproject.org/meta-virtualization/commit/?id=aceed7bf95cc8a42c8f470d8edf3c6f03d49da00 * both docker-moby and docker-ce have the same issue as shown with qemuarm build: docker-moby: http://errors.yoctoproject.org/Errors/Details/690021/ docker-ce: http://errors.yoctoproject.org/Errors/Details/690020/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: update crio.conf to match the current versionChen Qi2023-02-171-98/+525
| | | | | | | | | | | | | | | | | | The old crio.conf file can cause cri-o start failure. The error message is as below. validating runtime config: runtime validation: failed to \ translate monitor fields for runtime runc: cgroupfs manager \ conmon cgroup should be 'pod' or empty Use new crio.conf file to solve this issue. The file is generated by 'crio --config="" config --default' command, as indicated in the old crio.conf file. With this config file update, the crio.service can now start correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: create /var/lib/crioChen Qi2023-02-171-0/+2
| | | | | | | | | | | | | | crio.service now reports the following error messages: level=error msg="Writing clean shutdown supported file: \ open /var/lib/crio/clean.shutdown.supported: no such file or directory" level=error msg="Failed to sync parent directory of clean \ shutdown file: open /var/lib/crio: no such file or directory" Create /var/lib/crio to avoid such error message. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: use PACKAGECONFIG to handle selinuxChen Qi2023-02-171-2/+2
| | | | | | | | | | For cri-o, libselinux is optional, this can be seen from its Makefile. So let's make selinux optional by using PACKAGECONFIG, whose default value is determined by the DISTRO_FEATURES. In this way, meta-selinux dependency is not necessary. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: remove meta-security checkChen Qi2023-02-171-1/+1
| | | | | | | | libseccomp is not in oe-core. There's no need to check meta-security any more. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: use container-host bbclass to provide configurationBruce Ashfield2023-02-173-225/+2
| | | | | | | | | | | Instead of providing storage and registries configuration files in this package, we inherit container-host which will provide a common definition of these configs. This allows multiple packages to ensure that the configuration files are present, and not conflict in their installation. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containers: add container-host-config recipeBruce Ashfield2023-02-173-0/+238
| | | | | | | | | | | | | | | | This is a configuration only recipe that produces a package which installs some common configuration files. In this introduction we have both registries.conf and storage.conf. Packages that require these files should RDEPEND on this package (or inherit container-host.bbclass) and the files will be installed. If conflicting requirements for these global configuration files arise, they can be resolved through additions to this recipe, or by providing a higher priority version of the .conf files. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: update to 1.25.2Bruce Ashfield2023-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping cri-o to version v1.25.2-11-g1a6bb9c9b, which comprises the following commits: 32d1cb665 mocks: update with new c/storage mocks fb2753ee2 bump c/storage to fix map leak 3a9449924 Make storage unmount less strict 63f413530 Inject release-notes branch from GitHub actions 7037d1568 ResourceStore: delete entries after they're used dfff7e6b4 ci-verify: Run get-scripts only on main branch 51d3621c2 Fix GitHub actions CI aba30569c version: bump to 1.25.2 2845bb5f5 Update c/storage to v1.44.0 c431b53ca Use containerd v1.7.0-beta.0 36c4d1bc2 Bump conmon-rs to v0.4.0 dc9a6b1a8 version: bump to 1.25.1 2863b7d6e Fix lint CI on `main` e7e849359 config: translate monitor fields when printing config 9edf0c5c7 workloads: fix whitespace bea0f973d template: fix whitespace and comments in runtimes table aa329a1e3 Update config README 556d85231 Allow complete Runtimes config to change 9dc1a70b4 Add basic integration tests for runtime reload 7fcef1dbd Add notes on runtime reload support to documentation d51a01ad3 Reload runtime configs on reload f06c01231 Invert conditional check in ValidateDefaultRuntime 7ef8fac1a Move default runtime validation to its own function 23081649b config: do not remove runc if different default runtime b6b835512 use AddInheritableCapabilities 4e4749a27 config: add field AddInheritableCapabilities 24feb7778 server: return already created ID for duplicated requests e2cce29fc resourcestore: add test for stages 7e7a8d923 server: update stages according to progress with resource creation b15581620 resource store: return stage when a watcher is requested 398964d9e resource store: introduce stages 706f920f9 cli: fix some inconsistencies in the help text ebc644a68 Update runc to v1.1.4 a05ddfb4a Fix lint CI f253c4b7c test: add checkpoint/restore tests b033570b3 test: do not hard code CNI location 15ec8f36c Provide support for checkpoint and restore f06e5c8d5 vendor: bump conmon-rs to latest main 7076f72ab oci: add --systemd-cgroup to all runtime commands f09c1d31b oci: refactor runtime command handling 08ce6edce oci: take ExecCmd 4f5ca801b Update golangci-lint, config and timeout db3b399a8 server: add container GID to additional groups b3f970d0f build(deps): bump google.golang.org/grpc from 1.48.0 to 1.49.0 f68121a5b build(deps): bump github.com/containers/kubensmnt from 1.1.3 to 1.2.0 cd90ce156 Bump Kubernetes to v1.25.0 3ba908fdd build(deps): bump github.com/containers/kubensmnt from 1.1.2 to 1.1.3 b241c32d8 Adding annotations for image and sandbox name. 9ef68e8e7 Fix bundle e2e tests 45966c89c build(deps): bump github.com/container-orchestrated-devices/container-device-interface 4b6936f8f bump cri-api to k8s 1.25 rc0 e27f28868 build(deps): bump github.com/urfave/cli/v2 from 2.11.1 to 2.11.2 1ecd63643 build(deps): bump github.com/containers/podman/v4 10069a178 build(deps): bump github.com/containerd/containerd from 1.6.6 to 1.6.8 4b10ed79f build(deps): bump github.com/prometheus/client_golang Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skopeo: update to 1.11.0Bruce Ashfield2023-02-172-41/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We drop a patch that is now part of the release. Bumping skopeo to version v1.11.0-39-g95680f3c, which comprises the following commits: 643a2359 Update c/image after https://github.com/containers/image/pull/1816 2c6e15b5 Run codespell on codebase df708d16 [CI:DOCS] Disable dependabot 2acac8a6 Update module golang.org/x/term to v0.5.0 f9e2c676 Update golang.org/x/exp digest to 46f607a 47c7902e Remove unnecessary blank lines c1a57ca1 Pre-allocate an array 2a7b1327 Simplify a condition e7ab33e6 Rename a variable to avoid an underscore e90c381a Add missing comment punctuation 70c06b4a Fix, or remove, comments using lint syntax 9137ac56 Simplify an increment efc6e837 Reformat import statements a8b9e4e3 Use %w when wrapping errors 99215e40 Remove a duplicate word afa031e8 Use net/netip.Addr instead of net.IP 891ba3d4 s/interface{}/any/g f2b3a9c0 Use golang.org/x/exp f1a6d427 Use strings.Cut 22955d05 go mod tidy -go=1.18 007f01c6 [CI:BUILD] enable debuginfo for el8 copr builds 036bf598 [CI:BUILD] copr: fix el8 build and enable debuginfo f9406bb0 Cirrus: Use human-readable CI VM Images b41b85ab Update module gopkg.in/yaml.v2 to v3 d2fbec35 Add unit tests for tlsVerifyConfig's yaml.Unmarshaler 9e24a195 [CI:DOCS] Fix up language in README cc958d3e Move to v1.11.1-dev 9d036f30 Bump to v1.11.0 83bcd136 [CI:DOCS] Format manual page documents afbdaf8e Update module github.com/containers/common to v0.51.0 c9114248 Update module github.com/containers/image/v5 to v5.24.0 0fad1193 Add (skopeo generate-sigstore-key) 48b9d94c Update c/image after https://github.com/containers/image/pull/1810 80e3fd10 Touch up conscious language issues 9f04dfde Partially fix removal of temporary data in (make test-system) 36c480f6 Don't affect $XDG_RUNTIME_DIR of Podman starting the registry 850bc49d Update module github.com/containers/storage to v1.45.3 a98c1372 Fix storage.conf setup in test-system 19815502 Fix (test-integration), in a container without CI 67a8bef6 Cirrus: Fix c/image CI testing 63da8390 Bump github.com/containers/ocicrypt from 1.1.6 to 1.1.7 1fac61ef Cirrus: Add a common intra-test reset function 292962d3 Fix unnecessary use of podman in CI test e239f32a Cirrus: Update to F37 CI VM Images ee804858 Cirrus: Remove redundant package install attempt 0698e82b fix(deps): update module github.com/containers/storage to v1.45.1 bb1ac893 Add support for Fulcio and Rekor, and --sign-by-sigstore=param-file 03b5bdec Update c/image after https://github.com/containers/image/pull/1787 1133a2a3 fix(deps): update module github.com/containers/storage to v1.45.0 d0cf39d8 Cirrus: Skip OSX CI on release-branches f17eafe8 Correctly use the stdout parameter in some places 58bccf38 fix(deps): update module golang.org/x/term to v0.4.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-docker: update to 1.1.0-tipBruce Ashfield2023-02-171-1/+1
| | | | | | | | | | | | | | | Bumping runc to version v1.1.4-20-gc6781d10, which comprises the following commits: f6e2cd3b nsexec: Check for errors in write_log() 9233b3d0 tests/int: test for /dev/null owner regression fa722c1d libcontainer: skip chown of /dev/null caused by fd redirection 53ceeeab Explicitly pin busybox and debian downloads 3b6625c6 tests/integration/get-images.sh: fix busybox.tar.xz URL b8ebeece tests: replace local hello world bundle with busybox bundle e9f8fd32 [1.1] Vagrantfile.fedora: upgrade Fedora to 37 e6a8287c ci: shellcheck: update to 0.8.0, fix/suppress new warnings Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>