Commit Graph

14 Commits

Author SHA1 Message Date
Bruce Ashfield
8933a2cf4c cri-tools: update to v1.28.0-tip
Bumping cri-tools to version v1.26.0-353-gf8733ddf, which comprises the following commits:

    f570bc09 Bump golang.org/x/net from 0.16.0 to 0.17.0
    75c136c8 Validate sandbox and container metadata
    4f3475f5 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0
    93bc1bf2 Bump golang.org/x/net from 0.15.0 to 0.16.0
    57d7848c Switch to `github.com/distribution/reference`
    f61309ae Bump github.com/docker/distribution
    6a1c7883 Bump github.com/onsi/gomega from 1.27.10 to 1.28.0
    024268e7 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1
    04fb3af1 Verify required checkpoint parameters are set
    544d4792 Remove duplicated import "k8s.io/cri-api/pkg/apis"
    dbd6c086 Enable staticcheck linter with SA1019 to find deprecated methods
    06bb4c99 Use executor.StreamWithContext instead of deprecated executor.Stream
    092eddc1 Address deprecation of Strings.Title
    9059543c Remove unnecessary rand.Seed
    52fcfd43 Address deprecated io/ioutils
    833ab93c Address deprecated call cli.NewExitError of urfave/cli package
    3e036cfa Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0
    b84b1817 Bump actions/checkout from 3 to 4
    4b5c3fe1 Update version compatibility between Kubernetes and cri-tools
    7458ab35 Bump golang.org/x/net from 0.14.0 to 0.15.0
    aa049113 Bump github.com/docker/docker
    71beb1da Fix containerd tests

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-11-06 16:21:12 +00:00
Bruce Ashfield
d79b200eda cri-tools: update to v1.28.0
Bumping cri-tools to version v1.26.0-318-gd5f3f2df, which comprises the following commits:

    71beb1da Fix containerd tests
    7d7fd9bb add --pinned flag for `crictl images`
    f74240d3 Bump github.com/google/uuid from 1.3.0 to 1.3.1
    25ae10aa `crictl images -v` prints Pinned when image is pinned
    163da8b9 Move events streaming test to own suite with BeforeEach and AfterEach
    5461a963 Validate template
    aa7bd9a9 Fix tests
    88b0bedc Update cmd/crictl/events.go
    3a881ad2 Address review comments
    459ff574 Remove the Kubernetes incubator reference from README.md
    9d084877 Vendor Kubernetes v1.28.0
    b703e6a9 Add crictl events command
    7f5104d9 Bump latest version in README.md
    552f7387 Use previous and latest tag from git in release script
    db0bc1a3 Vendor Kubernetes v1.28.0-rc.1
    2b86addd Bump github.com/opencontainers/runc from 1.1.8 to 1.1.9
    26d35da6 Fix seccomp value in test
    a8a71d9f statsp: enhance description
    e373e4a8 crictl: add metricsp command
    5b337756 Dedup test code and activate linter
    ba784045 Bump golang.org/x/net from 0.12.0 to 0.14.0
    86ca3498 Bump golang.org/x/sys from 0.10.0 to 0.11.0
    306ebdfa crictl: deduplicate display boilerplate
    16975aba Make `haircommander` an approver

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-09-15 17:30:40 +00:00
Bruce Ashfield
08f58c3181 cri-tools: update to v1.27.1
Bumping cri-tools to version v1.26.0-279-gdd51f3b7, which comprises the following commits:

    16975aba Make `haircommander` an approver
    e3cc516b override path defaults for FreeBSD
    f8f05611 Use `UserSpecifiedImage` for seccomp tests
    a4110ef6 Bump github.com/onsi/gomega from 1.27.9 to 1.27.10
    2cffae40 Bump github.com/docker/docker
    2d4e6c27 Bump github.com/onsi/gomega from 1.27.8 to 1.27.9
    4a84e5a3 Bump github.com/opencontainers/runc from 1.1.7 to 1.1.8
    28bbd92a Switch to logrus in favor of glog
    edf8fd39 Update version in README
    dafc2b62 Add `crictl runtime-config` command
    01952e78 Use google/uuid
    183c8fa3 Fix release notes job
    cf42ba9f Drop support for docker log format
    c1e6f2eb Bump Kubernetes to v1.28.0-alpha.4
    fc7c11ed Bump github.com/docker/docker
    fcb21b99 Revert "fix listCoontainerStats not filter"
    ffb1ef1e Bump github.com/docker/docker
    505d5ce7 Bump Kubernetes to v1.27.3
    49cf12cb Bump golang.org/x/net from 0.11.0 to 0.12.0
    0aa3049e Bump golang.org/x/sys from 0.9.0 to 0.10.0
    e6438103 fix listCoontainerStats not filter
    2ee62a09 Typo fix in critest
    5b6b7180 Format print output in imagefsinfo cmd
    b432bc8d Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0
    d901bb43 Bump github.com/urfave/cli/v2 from 2.25.6 to 2.25.7
    acc3f298 Bump golang.org/x/net from 0.10.0 to 0.11.0
    5feab035 Bump github.com/urfave/cli/v2 from 2.25.5 to 2.25.6
    90b22c75 Bump golang.org/x/term from 0.8.0 to 0.9.0
    0b7c24b5 Bump google-github-actions/setup-gcloud from 0 to 1
    5c28a488 Bump actions/upload-artifact from 1 to 3
    c3a28fe2  add dependabot config to update github actions
    806c66f9 update actions using node12
    5e9d1f5d Add image build test to GitHub actions
    b80b9bde Bump github.com/onsi/gomega from 1.27.7 to 1.27.8
    8e03fbd3 Bump github.com/onsi/ginkgo/v2 from 2.9.7 to 2.10.0
    a8ca78a0 Pin `FROM` images to tags
    bde07883 Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3
    5fd98895 Migrate to field based seccomp tests
    5d362aa6 Bump github.com/onsi/ginkgo/v2 from 2.9.6 to 2.9.7
    32ba4251 added testing on 1.7
    b7e85c71 Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.6
    4714253b Update critest from 1.17 to 1.27
    88a2b60b Bump github.com/urfave/cli/v2 from 2.25.3 to 2.25.5
    63e39e26 Bump github.com/docker/docker
    2c0f354e Bump github.com/docker/docker
    aeea5099 Update the incorrect link to release page in crictl.md
    ea559418 Bump github.com/onsi/gomega from 1.27.6 to 1.27.7
    7ed308a3 Bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2
    f0bf767c Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
Bruce Ashfield
c772a5c230 cri-tools: update to v1.27.0
We refresh one patch for context, but otherwise no changes.

Bumping cri-tools to version v1.26.0-186-ge73a7139, which comprises the following commits:

    00212a72 Bump github.com/docker/docker
    f0bf767c Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1
    c6ca9164 Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5
    8c87ebfb Bump github.com/docker/distribution
    b4fdcd33 Add validation when container OOMKilled
    43675ad1 Bump github.com/docker/docker
    3a32265d Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4
    dd924127 Bump golang.org/x/net from 0.9.0 to 0.10.0
    557024a5 Fix build flakiness
    b2bee82a Bump github.com/urfave/cli/v2 from 2.25.1 to 2.25.3
    801d6985 Bump golang.org/x/term from 0.7.0 to 0.8.0
    f2e40682 Bump github.com/moby/term
    dadffe3e test rm{,i,p} subcommands help message
    13dbe21f Add CrictlExpect() to test framework
    c714ecd6 Display help when running 'crictl rmi'
    4eb6a64b Do not display help when deleting all pods/containers
    ce6ad257 Bump github.com/opencontainers/runc from 1.1.6 to 1.1.7
    c2c53b77 Bump github.com/docker/docker
    deb3bf67 Download release notes tool binary directly
    ae7a5eb7 Allow setting CGO_ENABLED
    464d6452 Allow overriding GOFLAGS
    e64d6e37 Allow providing (additional) custom GO_LDFLAGS
    664ef74f Allow setting custom version but use git by default
    a2ab0b20 Bump github.com/docker/docker
    80bff8b3 Disable dependency gathering for release notes
    74092cb9 Vendor Kubernetes v1.27.0
    5c6a90bc Update CI badges
    5c9d2ee0 Bump github.com/opencontainers/runc from 1.1.5 to 1.1.6
    c953d28b golangci-lint: bump to 1.52.2 and fix errors
    8d781b8f bump to go 1.20
    554b1637 vendor: bump to kube 1.27.0
    0497653a Improve text formatting
    87cd4d48 Bump golang.org/x/net from 0.8.0 to 0.9.0
    e2dc71a2 Bump golang.org/x/term from 0.6.0 to 0.7.0
    b8009174 Bump github.com/docker/docker
    1f393c4e Bump github.com/onsi/gomega from 1.27.5 to 1.27.6
    1dbda3f7 Bump github.com/opencontainers/runc from 1.1.4 to 1.1.5

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-06-07 16:40:22 -04:00
Bruce Ashfield
ef43344fb3 cri-tools: update to v1.26.1
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>
2023-04-05 16:03:55 -04:00
Bruce Ashfield
2119189361 treewide: bulk update patches with status field
While the insane.bbclass upstream-status check hasn't been made
default, users of meta-virtualization may have it enabled in their
distros .. so the effect is the same. We must have this tracking
tag in out patches.

This is a bulk update to add the tag and silence the QA message.

As packages get updated, the normal/routine process of checking
the patches will continue, and the status fields may (or may not)
get more useful.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-01-27 10:32:06 -05:00
Bruce Ashfield
d1aece6d43 cri-tools: update to v1.24.2
Bumping cri-tools to version v1.24.2-35-g77d02a03, which comprises the following commits:

    a685ed61 No truncate PodID in ps command if --no-trunc exists
    90214b0c Bump version in install section to 1.24.2 on README
    acf387b3 Update crictl pods to show pod name
    e7c20ee1 Switch to golang native error wrapping
    cee70655 Bump github.com/urfave/cli/v2 from 2.11.0 to 2.11.1
    e8133ffb Bump github.com/onsi/gomega from 1.19.0 to 1.20.0
    b8543347 Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
    57da46e7 Add documentation about 'statsp' command
    6182e3ce Implement checkpoint command
    8152f295 Bump github.com/urfave/cli/v2 from 2.10.3 to 2.11.0
    a0a19a36 Bump github.com/urfave/cli/v2 from 2.10.2 to 2.10.3
    4bb67144 Validate container status in volume mount tests
    4da8fc8d Switch to go 1.18 for GitHub actions
    1f6b4299 Bump github.com/urfave/cli/v2 from 2.10.1 to 2.10.2
    99b030fe Switch to go 1.18 as requirement
    55020abc Bump github.com/urfave/cli/v2 from 2.8.1 to 2.10.1
    1e69ea9c Bump github.com/opencontainers/runc from 1.1.2 to 1.1.3
    b9de22b0 Bump github.com/docker/docker
    d7fb1f5b Fix timeout for exec sync
    ecb5c7f8 Fix cri-dockerd build
    d2da6561 Bump github.com/urfave/cli/v2 from 2.8.0 to 2.8.1
    ce68c70c skip tests for dockershim
    4f533d58 add-list-stat-test: add tests for list stats
    db554dad Bump github.com/urfave/cli/v2 from 2.6.0 to 2.8.0
    d000ae7a docs: update the version to the latest
    acf82056 Bump github.com/docker/docker
    a7df3acb Bump github.com/onsi/ginkgo/v2 from 2.1.3 to 2.1.4
    603495f3 Bump github.com/opencontainers/runc from 1.1.1 to 1.1.2
    8c659770 Remove selinux build tag
    d4fe3e7a cmd/critest: fix empty ginkgo flag's value issue
    4ee0c367 Add lifecycle index in benchmark update messages.
    8ba9205d Skip benchmarks if associated resource number is not set.
    2ba1d0e3 Standardize image lifecycle and listing benchmarks.
    64263891 Parametrize benchmarking-related timeouts.
    4355d842 Pass verbose flag when querying Container/Pod statuses.
    b40d492e Formalize mechanism for recording/managing benchmark results.
    2dd37ab8 Parametrize benchmark settings.
    52e0c3dc Rewrite pod.go
    f0f71212 Vendor onsi/gomega/gmeasure
    21aebcad Bump github.com/docker/docker
    81036863 Bump github.com/urfave/cli/v2 from 2.5.1 to 2.6.0
    f9710f79 Vendor Kubernetes v1.24.0
    3ceb4eee Fixes the incubator project reference
    1a168cb6 update containerd socket in windows
    54148d3d Bump github.com/opencontainers/runc from 1.1.0 to 1.1.1
    ce9a5aec Switch to ginkgo/v2
    9e9d83d6 Bump github.com/urfave/cli/v2 from 2.4.0 to 2.5.1
    a156899c Bump github.com/opencontainers/selinux from 1.10.0 to 1.10.1
    4291d65c Bump github.com/docker/docker
    5fe1f012 Bump github.com/onsi/gomega from 1.18.1 to 1.19.0
    dd6467a3 install CNI on linux
    abeab06b Fix setup-gcloud action by referencing `v0`
    69579189 Fix CRI-O tests
    511767e5 Add CRICTL_AUTH env var option to crictl pull
    1616f258 Make RPCs CRI v1 and v1alpha2 compatible
    769acd39 Bump github.com/urfave/cli/v2 from 2.3.0 to 2.4.0
    e5877df5 Bump github.com/docker/docker
    6a2a5284 Bump google.golang.org/grpc from 1.44.0 to 1.45.0
    e27bb02f Bump github.com/docker/distribution
    3e01b9f2 fix seccomp test case for arm64
    c6d3e52e Add `crictl statsp` command

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-25 22:55:48 -04:00
Bruce Ashfield
7f84d5bc0d cri-tools: update to v1.23.0
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>
2022-03-21 17:31:28 -04:00
Bruce Ashfield
b7efc7bce2 cri-tools: update to v1.22.0
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-22 11:00:24 -05:00
Bruce Ashfield
0a7ae8bc50 global: convert github SRC_URIs to use https protocol
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-11-02 09:57:03 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
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-08-02 17:17:53 -04:00
Bruce Ashfield
f964aeb898 cri-tools: update to 1.21 release
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-06-04 08:43:06 -04:00
Bruce Ashfield
4e01d2ded2 cri-tools: update to 1.21
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-04-16 10:21:12 -04:00
Bruce Ashfield
2a919ae202 cri: introduce cri-tools
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>
2021-02-10 10:09:25 -05:00