Merge pull request #17010 from openshift-cherrypick-robot/cherry-pick-16577-to-v4.2.0-rhel

[v4.2.0-rhel] [CI:DOCS] Migrate OSX Cross to M1
This commit is contained in:
OpenShift Merge Robot
2023-01-05 10:43:59 -05:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@ -368,7 +368,7 @@ osx_alt_build_task:
TEST_FLAVOR: "altbuild"
ALT_NAME: 'OSX Cross'
osx_instance:
image: 'big-sur-base'
image: ghcr.io/cirruslabs/macos-ventura-base:latest
setup_script:
- brew install go
- brew install go-md2man

View File

@ -256,8 +256,10 @@ volume-plugin-test-img:
test/goecho/goecho: $(wildcard test/goecho/*.go)
$(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/goecho
# The ./test/version/version binary is executed in other make steps
# so we have to make sure the version binary is built for NATIVE_GOARCH.
test/version/version: version/version.go
$(GO) build -o $@ ./test/version/
GOARCH=$(NATIVE_GOARCH) $(GO) build -o $@ ./test/version/
.PHONY: codespell
codespell: