Skip to content

Commit

Permalink
Use custom go-build
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiawei committed Oct 20, 2023
1 parent b5973f5 commit 7e3f42d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion calicoctl/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ARG QEMU_IMAGE=calico/go-build:v0.55
ARG QEMU_IMAGE=calico/go-build:latest
ARG UBI_IMAGE

FROM ${QEMU_IMAGE} as qemu
Expand Down
2 changes: 1 addition & 1 deletion felix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endif

FV_ETCDIMAGE?=$(ETCD_IMAGE)
FV_TYPHAIMAGE?=felix-test/typha:latest-$(BUILDARCH)
FV_K8SIMAGE=calico/go-build:$(GO_BUILD_VER)
FV_K8SIMAGE=jha48/go-build:$(GO_BUILD_VER)
FV_FELIXIMAGE?=$(FELIX_IMAGE):latest-$(ARCH)

# Total number of batches to split the tests into. In CI we set this to say 5 batches,
Expand Down
2 changes: 1 addition & 1 deletion lib.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ endif
# For building, we use the go-build image for the *host* architecture, even if the target is different
# the one for the host should contain all the necessary cross-compilation tools
# we do not need to use the arch since go-build:v0.15 now is multi-arch manifest
GO_BUILD_IMAGE ?= calico/go-build
GO_BUILD_IMAGE ?= jha48/go-build
CALICO_BUILD = $(GO_BUILD_IMAGE):$(GO_BUILD_VER)


Expand Down
3 changes: 2 additions & 1 deletion metadata.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#################################################################################################

# The version of github.com/projectcalico/go-build to use.
GO_BUILD_VER = v0.89
GO_BUILD_VER = ubi8

# Env var to ACK Ginkgo deprecation warnings, may need updating with go-build.
ACK_GINKGO=ACK_GINKGO_DEPRECATIONS=1.16.5

Expand Down

0 comments on commit 7e3f42d

Please sign in to comment.