From 5fbdb6414abdf9aaa17536a2ac1e9f0cfdda982e Mon Sep 17 00:00:00 2001 From: Kent Rancourt Date: Wed, 30 Mar 2022 18:13:58 -0400 Subject: [PATCH] upgrade go-tools to v0.9.0 (#1897) * upgrade go-tools to v0.9.0 Signed-off-by: Kent Rancourt * release: do not do just-in-time ghr install for publishing brig binaries Signed-off-by: Kent Rancourt --- .brigade/brigade.ts | 2 +- Makefile | 3 +-- v2/apiserver/Dockerfile | 2 +- v2/git-initializer/Dockerfile | 2 +- v2/observer/Dockerfile | 2 +- v2/scheduler/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.brigade/brigade.ts b/.brigade/brigade.ts index 982cd9161..63444ec14 100644 --- a/.brigade/brigade.ts +++ b/.brigade/brigade.ts @@ -1,7 +1,7 @@ import { events, Event, Job, ConcurrentGroup, SerialGroup, Container } from "@brigadecore/brigadier" const azImg = "mcr.microsoft.com/azure-cli" -const goImg = "brigadecore/go-tools:v0.8.0" +const goImg = "brigadecore/go-tools:v0.9.0" const jsImg = "node:16.11.0-bullseye" const dindImg = "docker:20.10.9-dind" const dockerClientImg = "brigadecore/docker-tools:v0.3.0" diff --git a/Makefile b/Makefile index 5f9be58fd..d8285da2e 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ GIT_VERSION = $(shell git describe --always --abbrev=7 --dirty --match=NeVeRmAtC ifneq ($(SKIP_DOCKER),true) PROJECT_ROOT := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) - GO_DEV_IMAGE := brigadecore/go-tools:v0.8.0 + GO_DEV_IMAGE := brigadecore/go-tools:v0.9.0 GO_DOCKER_CMD := docker run \ -it \ @@ -466,7 +466,6 @@ publish-chart: .PHONY: publish-cli publish-cli: build-cli $(GO_DOCKER_CMD) sh -c ' \ - go get github.com/tcnksm/ghr && \ ghr \ -u $(GITHUB_ORG) \ -r $(GITHUB_REPO) \ diff --git a/v2/apiserver/Dockerfile b/v2/apiserver/Dockerfile index 5d336108b..96c7d237d 100644 --- a/v2/apiserver/Dockerfile +++ b/v2/apiserver/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.8.0 as builder +FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.9.0 as builder ARG VERSION ARG COMMIT diff --git a/v2/git-initializer/Dockerfile b/v2/git-initializer/Dockerfile index ec6290d90..b1cfba343 100644 --- a/v2/git-initializer/Dockerfile +++ b/v2/git-initializer/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.8.0 as builder +FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.9.0 as builder ARG VERSION ARG COMMIT diff --git a/v2/observer/Dockerfile b/v2/observer/Dockerfile index b15e5684e..42b36bd6f 100644 --- a/v2/observer/Dockerfile +++ b/v2/observer/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.8.0 as builder +FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.9.0 as builder ARG VERSION ARG COMMIT diff --git a/v2/scheduler/Dockerfile b/v2/scheduler/Dockerfile index c622b8c00..f7cf49717 100644 --- a/v2/scheduler/Dockerfile +++ b/v2/scheduler/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.8.0 as builder +FROM --platform=$BUILDPLATFORM brigadecore/go-tools:v0.9.0 as builder ARG VERSION ARG COMMIT