mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2026-07-26 18:39:58 +00:00
Commands run: go get k8s.io/api@v0.36.2 k8s.io/apimachinery@v0.36.2 k8s.io/client-go@v0.36.2 k8s.io/kubelet@v0.36.2 go mod tidy go mod vendor go test ./cmd/cert-approver go test ./pkg/k8sclient go test ./pkg/checkpoint ./pkg/cmdutils ./pkg/logging GOOS=linux make build podman run --rm --privileged -v /Users/misalunk/go/src/github.com/k8snetworkplumbingwg/multus-cni:/workspace:Z -w /workspace -e GO111MODULE=on -e GOFLAGS="-mod=vendor -p=1" -e GOCACHE=/tmp/go-build-cache registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.26-openshift-5.0 bash -lc 'mkdir -p /etc/cni/net.d /var/lib/cni/multus/results && printf "package main\nfunc main(){}\n" > /tmp/true.go && CGO_ENABLED=0 go build -o /tmp/truebin /tmp/true.go && cp /tmp/truebin /usr/bin/true && ./hack/test-go.sh' podman build --platform linux/arm64 --tag localhost/multus-cni:go126-thin --file images/Dockerfile . podman build --platform linux/arm64 --tag localhost/multus-cni:go126-thick --file images/Dockerfile.thick . podman build --platform linux/arm64 --tag localhost/multus-cni:go126-debug --file images/Dockerfile.debug . podman build --platform linux/amd64 --tag localhost/multus-cni:go126-e2e-thin-amd64 --file images/Dockerfile . podman build --platform linux/amd64 --tag localhost/multus-cni:go126-e2e-thick-amd64 --file images/Dockerfile.thick . ruby -e 'require "yaml"; ARGV.each { |file| YAML.parse_file(file); puts "valid YAML: #{file}" }' .github/workflows/test.yml .github/workflows/build.yml .github/workflows/release.yml