aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/cri-tools
AgeCommit message (Collapse)Author
2022-03-21cri-tools: update to v1.23.0Bruce Ashfield
Bumping cri-tools to version v1.23.0-26-g23f44eaa, which comprises the following commits: e396a77d fix security test case for hostpid 670f1e50 fix log info for mount test case 3e01b9f2 fix seccomp test case for arm64 715ec019 Type cast error messages to `string` f89ab075 add annotation for pull ce8cbc3f Bump github.com/docker/distribution cd38481e Update crictl ps to show pod name and image path d5943543 Bump github.com/onsi/gomega from 1.18.0 to 1.18.1 e514433f Add backwards compatiblity to `Version` and `ListContainerStats` RPCs 9001d78a Switch to CRI v1 API 2694dc34 Bump google.golang.org/grpc from 1.43.0 to 1.44.0 4a54a037 Bump github.com/onsi/gomega from 1.17.0 to 1.18.0 5d213e82 Bump github.com/opencontainers/runc from 1.0.3 to 1.1.0 5828782d Bump docs to v1.23.0 c688ed1d Bump github.com/opencontainers/selinux from 1.9.1 to 1.10.0 b93abd15 Bump github.com/opencontainers/runc from 1.0.2 to 1.0.3 5092844d Bump github.com/docker/docker 2816d415 Bump google.golang.org/grpc from 1.42.0 to 1.43.0 c15dbbc6 1.5.9 5a87849f Use same grpc max message size as Kubelet 1a64648a Add support for cri-dockerd 7bbcf895 Add support for specifying custom test container images. f2091fc3 Fix cri-dockerd CI runs 61ba8b97 Fix Containerd main branch CI for Windows e3e5375f fix ci for dockershim-critest 4611ba31 Update Windows images for ltsc2022 1a255046 images: use k8s-staging-test-infra/gcb-docker-gcloud 0f2d4138 Refactor fish completion c52d97b1 Rename bash and zsh completion functions cad0736a Add zsh compinit tag Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-22cri-tools: update to v1.22.0Bruce Ashfield
Bumping cri-tools to version v1.22.0-64-ga9898388, which comprises the following commits: 794d57a4 Bump github.com/onsi/gomega from 1.16.0 to 1.17.0 0f2d4138 Refactor fish completion c52d97b1 Rename bash and zsh completion functions cad0736a Add zsh compinit tag 569d1769 Bump google.golang.org/grpc from 1.41.0 to 1.42.0 082da7c6 Bump github.com/docker/docker 0aade2a4 Bump github.com/onsi/ginkgo from 1.16.4 to 1.16.5 4e03be78 Add release publishing workflow 5c0c14e2 Bump github.com/opencontainers/selinux from 1.8.5 to 1.9.1 b4e1615c Add SHA512 sum for release files 22bdc0b9 Bump github.com/docker/docker 06422104 Bump google.golang.org/grpc from 1.40.0 to 1.41.0 b153327c Bump sigs.k8s.io/yaml from 1.2.0 to 1.3.0 c5fac65f Bump k8s.io/api from 0.22.1 to 0.22.2 36c9ae70 Bump k8s.io/cri-api from 0.22.1 to 0.22.2 c104c3a7 Bump k8s.io/apimachinery from 0.22.1 to 0.22.2 65509de9 Bump k8s.io/client-go from 0.22.1 to 0.22.2 59cf0fb9 Bump k8s.io/kubectl from 0.22.1 to 0.22.2 8d019343 Updates E2E test images registry 6824a581 Bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5 057a0a48 Switch to go1.17 for CI d9fe19b8 Bump github.com/opencontainers/runc from 1.0.1 to 1.0.2 56a2c456 Added dropping/adding `ALL` capabilities case to critest 1817da64 Bump github.com/onsi/gomega from 1.15.0 to 1.16.0 9c01f4d5 Bump k8s.io/cri-api from 0.22.0 to 0.22.1 e3ca48ad Bump k8s.io/client-go from 0.22.0 to 0.22.1 1e108dfb Bump k8s.io/api from 0.22.0 to 0.22.1 79ff09e9 Bump k8s.io/apimachinery from 0.22.0 to 0.22.1 f3863189 Bump k8s.io/kubectl from 0.22.0 to 0.22.1 32d96cbe Bump google.golang.org/grpc from 1.39.1 to 1.40.0 de44545a Bump github.com/onsi/gomega from 1.14.0 to 1.15.0 44385679 Bump github.com/opencontainers/selinux from 1.8.3 to 1.8.4 dd011a46 Bump google.golang.org/grpc from 1.39.0 to 1.39.1 3db8a88c Bump Kubernetes to v1.22.0 231cf44f Bump k8s.io/api from 0.21.3 to 0.22.0 032832ec Bump k8s.io/cri-api from 0.21.3 to 0.22.0 64e1ad02 Bump k8s.io/kubectl from 0.21.3 to 0.22.0 918e5c77 Bump k8s.io/apimachinery from 0.21.3 to 0.22.0 6ccbb79b Bump github.com/docker/docker a2e29a4c Bump github.com/opencontainers/selinux from 1.8.2 to 1.8.3 0cfc8b32 crictl: Adds support for updating resource limits for Windows Containers d6c95411 Bump k8s.io/api from 0.21.2 to 0.21.3 a9dc7558 Bump k8s.io/kubectl from 0.21.2 to 0.21.3 88e4d31b Bump k8s.io/apimachinery from 0.21.2 to 0.21.3 d7f79299 Bump k8s.io/cri-api from 0.21.2 to 0.21.3 5a43f6cd Bump github.com/onsi/gomega from 1.13.0 to 1.14.0 e89ffa50 Update GitHub actions to go 1.16 and remove .travis.yml e5045b08 Bump google.golang.org/grpc from 1.38.0 to 1.39.0 31e70ff9 Update critest Windows tests. 03fa217f chore: switch containerd branch to main aef70e40 Bump k8s.io/cri-api from 0.21.1 to 0.21.2 f6f6a393 Bump k8s.io/api from 0.21.1 to 0.21.2 b90eefd5 Bump k8s.io/kubectl from 0.21.1 to 0.21.2 85fa1307 Bump k8s.io/apimachinery from 0.21.1 to 0.21.2 bb845cfd rm_force_while_container_running_fix e866f8ff Bump github.com/opencontainers/selinux from 1.8.1 to 1.8.2 a8e055d2 Bump github.com/onsi/ginkgo from 1.16.3 to 1.16.4 9de2a5e4 Bump github.com/docker/docker c83bed06 Bump github.com/onsi/ginkgo from 1.16.2 to 1.16.3 c9cb3790 Bump github.com/onsi/gomega from 1.12.0 to 1.13.0 1d34ea0c Add global handler for Interrupt signal Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-02global: convert github SRC_URIs to use https protocolBruce Ashfield
github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02global: overrides syntax conversionBruce Ashfield
OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-06-04cri-tools: update to 1.21 releaseBruce Ashfield
We update to the latest 1.21 commits, and we refresh our patch for context changes. eb0faebe Bump google.golang.org/grpc from 1.37.1 to 1.38.0 1d34ea0c Add global handler for Interrupt signal d2c028aa Bump k8s.io/cri-api from 0.21.0 to 0.21.1 cac74d4f Bump k8s.io/apimachinery from 0.21.0 to 0.21.1 0e4c365c Bump k8s.io/api from 0.21.0 to 0.21.1 4b956efa Bump k8s.io/kubectl from 0.21.0 to 0.21.1 b3bc7d45 Update golangci-lint to v1.40.1 and fix lints a72896da Bump google.golang.org/grpc from 1.37.0 to 1.37.1 09df93a2 Bump github.com/opencontainers/selinux from 1.8.0 to 1.8.1 8a28583f Clone cri-dockerd from permanent repo 29c6b21e Bump github.com/onsi/gomega from 1.11.0 to 1.12.0 50a297dc Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2 15eee85f Mention deb/rpm packages hosted on OBS in README 6ead47bd Trim build paths for binaries Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-16cri-tools: update to 1.21Bruce Ashfield
Updating cri-tools. We refresh a patch, and change the recipe to capture the binary from build/bin versus _output dir. The following commits are part of this bump: e0b90a7f Increase image build timeout 8f0434e8 Add image-test builds to main cloudbuild script b796452d Add windows images to build script e1e9f853 Bump github.com/docker/docker 0cd06f41 Add hostnet-nginx image build to main script 74ccfeaf Bump k8s.io/api from 0.0.0 to 0.21.0 c98b734a Bump k8s.io/kubernetes from 0.0.0 to 0.21.4 109fb62d Bump k8s.io/kubectl from 0.0.0 to 0.21.0 534d9f03 Bump k8s.io/apimachinery from 0.0.0 to 0.21.0 8c5599a6 Bump k8s.io/cri-api from 0.0.0 to 0.21.0 8694106a Bump README versions to v1.21.0 b953f776 Update dependencies ef872c25 Add dependabot config file eaf18dae Simplify test image build process for user images afb5b62c Move from gcr.io/cri-tools to gcr.io/k8s-staging-cri-tools 1b32fe8d Fix UID/GID and username values for test images f749fc76 Bump gcb-docker-gcloud image to v20210331-c732583 916fae03 add docker.io/ prefix to image:busybox in docs/examples/ a0d17c4a Fix CRI-O master installation in GitHub actions 791ddab1 fix StartedAt and FinishedAt of the container status 2d5c2872 Fix CRI-O master installation in GitHub actions 44fd67ce Makefile: avoid rebuilding binaries 14485a8c support mips64le architecture. c8c1ebae Modify hack/release.sh script to include sha256 sum files ec31d9a2 Trigger prow job 3e939cf7 Update CRI-O to v1.20.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-02-10cri: introduce cri-toolsBruce Ashfield
Based on the original recipe from Tim Orling, we introduce a recipe for critools so we can interact diretly with cri based runtimes. We do the normal go manipulations to get this cross building, with the following specific tweak/patch: The build system already knows whether or not we want to use CGO, so we remove the hardcoded variant so our exported environment variable will control the enablement. Since our oe-core go infrastructure insists on both -pie and static builds (for the most part), and that is not recommended by many packages, we end up with errors like: 1.20.0+gitec9e336fd8c21c4bab89a6aed2c4a138c8cfae75/src/import/_output/crictl \ -ldflags '-X github.com/kubernetes-sigs/cri-tools/pkg/version.Version=1.20.0' \ -tags '' \ github.com/kubernetes-sigs/cri-tools/cmd/crictl # github.com/kubernetes-sigs/cri-tools/cmd/crictl cannot find package runtime/cgo (using -importcfg) /work/cortexa72-poky-linux/cri-tools/1.20.0+gitec9e336fd8c21c4bab89a6aed2c4a138c8cfae75-r0/recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: cannot open file : open : no such file or directory In a similar manner to: https://www.yoctoproject.org/pipermail/meta-virtualization/2019-March/004084.html We introduce '-a -pkgdir dontusecurrentpkgs' to mask/fix the problem, and continue to work towards non-static builds. % root@qemux86-64:~# crictl --version crictl version 1.20.0-dirty Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>