Skip to content

Commit

Permalink
[Automation] Bump Golang version to 1.20.4 (#290)
Browse files Browse the repository at this point in the history
Co-authored-by: apmmachine <apmmachine@users.noreply.github.com>
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
  • Loading branch information
3 people authored May 4, 2023
1 parent bf078cc commit 30b8ae9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pipeline {
DOCKER_REGISTRY_SECRET = 'secret/observability-team/ci/docker-registry/prod'
DOCKER_REGISTRY = 'docker.elastic.co'
STAGING_IMAGE = "${env.DOCKER_REGISTRY}/observability-ci"
GO_VERSION = '1.20.3'
GO_VERSION = '1.20.4'
BUILDX = "1"
}
options {
Expand Down
2 changes: 1 addition & 1 deletion go/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(SELF_DIR)/../Makefile.common

NAME := golang-crossbuild
VERSION := 1.20.3
VERSION := 1.20.4
DEBIAN_VERSION ?= 9
SUFFIX := -$(shell basename $(CURDIR))
TAG_EXTENSION ?=
Expand Down
4 changes: 2 additions & 2 deletions go/base-arm/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ RUN \
libsqlite3-0 \
&& rm -rf /var/lib/apt/lists/*

ARG GOLANG_VERSION=1.20.3
ARG GOLANG_VERSION=1.20.4
ARG GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-arm64.tar.gz
ARG GOLANG_DOWNLOAD_SHA256=eb186529f13f901e7a2c4438a05c2cd90d74706aaa0a888469b2a4a617b6ee54
ARG GOLANG_DOWNLOAD_SHA256=105889992ee4b1d40c7c108555222ca70ae43fccb42e20fbf1eebb822f5e72c6

RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
Expand Down
6 changes: 3 additions & 3 deletions go/base/install-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This script install the Go version correct for each architecture.
set -e

GOLANG_VERSION=1.20.3
GOLANG_VERSION=1.20.4
GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
GOLANG_DOWNLOAD_SHA256_AMD=979694c2c25c735755bf26f4f45e19e64e4811d661dd07b8c010f7a8e18adfca
GOLANG_DOWNLOAD_SHA256_ARM=eb186529f13f901e7a2c4438a05c2cd90d74706aaa0a888469b2a4a617b6ee54
GOLANG_DOWNLOAD_SHA256_AMD=698ef3243972a51ddb4028e4a1ac63dc6d60821bf18e59a807e051fee0a385bd
GOLANG_DOWNLOAD_SHA256_ARM=105889992ee4b1d40c7c108555222ca70ae43fccb42e20fbf1eebb822f5e72c6

GO_TAR_FILE=/tmp/golang.tar.gz

Expand Down

0 comments on commit 30b8ae9

Please sign in to comment.