Skip to content

Commit

Permalink
[Automation] Bump Golang version to 1.20.9 (#323)
Browse files Browse the repository at this point in the history
Co-authored-by: apmmachine <apmmachine@users.noreply.github.com>
  • Loading branch information
apmmachine and apmmachine authored Oct 7, 2023
1 parent 3bf9dbb commit eb78f42
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.8'
GO_VERSION = '1.20.9'
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.8
VERSION := 1.20.9
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.8
ARG GOLANG_VERSION=1.20.9
ARG GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-arm64.tar.gz
ARG GOLANG_DOWNLOAD_SHA256=15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e
ARG GOLANG_DOWNLOAD_SHA256=da7fca78f85b90b495382cd74b2d0a1c0b6aaa200e7feb27ae7198352b2317fa

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.8
GOLANG_VERSION=1.20.9
GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
GOLANG_DOWNLOAD_SHA256_AMD=cc97c28d9c252fbf28f91950d830201aa403836cbed702a05932e63f7f0c7bc4
GOLANG_DOWNLOAD_SHA256_ARM=15ab379c6a2b0d086fe3e74be4599420e66549edf7426a300ee0f3809500f89e
GOLANG_DOWNLOAD_SHA256_AMD=8921369701afa749b07232d2c34d514510c32dbfd79c65adb379451b5f0d7216
GOLANG_DOWNLOAD_SHA256_ARM=da7fca78f85b90b495382cd74b2d0a1c0b6aaa200e7feb27ae7198352b2317fa

GO_TAR_FILE=/tmp/golang.tar.gz

Expand Down

0 comments on commit eb78f42

Please sign in to comment.