Skip to content

Commit

Permalink
[Automation] Bump Golang version to 1.20.3 (#281)
Browse files Browse the repository at this point in the history
* chore: ran shell command ".ci/bump-go-release-version.sh 1.20.2"

Made with ❤️️ by updatecli

* chore: ran shell command ".ci/bump-go-release-version.sh 1.20.3"

Made with ❤️️ by updatecli

---------

Co-authored-by: apmmachine <apmmachine@users.noreply.github.com>
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
  • Loading branch information
3 people authored Apr 19, 2023
1 parent 3f8fa3d commit 8aa69ba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 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.2'
GO_VERSION = '1.20.3'
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.2
VERSION := 1.20.3
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.2
ARG GOLANG_VERSION=1.20.3
ARG GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-arm64.tar.gz
ARG GOLANG_DOWNLOAD_SHA256=78d632915bb75e9a6356a47a42625fd1a785c83a64a643fedd8f61e31b1b3bef
ARG GOLANG_DOWNLOAD_SHA256=eb186529f13f901e7a2c4438a05c2cd90d74706aaa0a888469b2a4a617b6ee54

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

## These variables are automatically bumped.
## If you change their name please change .ci/bump-go-release-version.sh
GOLANG_VERSION=1.20.2
GOLANG_VERSION=1.20.3
GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
GOLANG_DOWNLOAD_SHA256_AMD=4eaea32f59cde4dc635fbc42161031d13e1c780b87097f4b4234cfce671f1768
GOLANG_DOWNLOAD_SHA256_ARM=78d632915bb75e9a6356a47a42625fd1a785c83a64a643fedd8f61e31b1b3bef
GOLANG_DOWNLOAD_SHA256_AMD=979694c2c25c735755bf26f4f45e19e64e4811d661dd07b8c010f7a8e18adfca
GOLANG_DOWNLOAD_SHA256_ARM=eb186529f13f901e7a2c4438a05c2cd90d74706aaa0a888469b2a4a617b6ee54

GO_TAR_FILE=/tmp/golang.tar.gz

Expand Down

0 comments on commit 8aa69ba

Please sign in to comment.