Update to Go v1.18.6 and v1.19.1

This commit is contained in:
Stan Hu 2022-09-26 17:09:19 +00:00 committed by Balasankar 'Balu' C
parent 7d5f25b97e
commit daa5d8c725
5 changed files with 15 additions and 15 deletions

View file

@ -8,7 +8,7 @@ gitaly:
matrix:
- OS: ['debian:bullseye']
RUBY: ['2.7', '3.0']
GOLANG: ['1.17', '1.18']
GOLANG: ['1.18', '1.19']
GIT: ['2.36']
- OS: ['ubi:8.6']
RUBY: ['2.7']

View file

@ -14,7 +14,7 @@ gitlab:
RUBY: ['2.7.patched', '3.0.patched']
GIT: ['2.36']
POSTGRESQL: ['11', '12', '13']
GOLANG: ['1.17', '1.18']
GOLANG: ['1.18', '1.19']
NODE: ['16.14']
CHROME: ['101', '103']

View file

@ -3,7 +3,7 @@ gitlab-kas:
extends:
- .build_and_push
variables:
GOLANG: '1.16'
GOLANG: '1.19'
LFS: '2.9'
CHROME: '101'
NODE: '14.15'

View file

@ -17,20 +17,20 @@ function print_golang_args() {
declare -A GOLANG_DOWNLOAD_SHA256
case "$1" in
1.16)
1.16) # Only used for gitlab-operator
INSTALL_GOLANG_VERSION=1.16.12
GOLANG_DOWNLOAD_SHA256[amd64]=7d657e86493ac1d5892f340a7d88b862b12edb5ac6e73c099e8e0668a6c916b7
GOLANG_DOWNLOAD_SHA256[arm64]=7dbf50ab2e665ecd6c86a3f1ce8c04f7167f9895b91921e25cf1bdc1cb9b5fd7
;;
1.17)
INSTALL_GOLANG_VERSION=1.17.13
GOLANG_DOWNLOAD_SHA256[amd64]=4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc
GOLANG_DOWNLOAD_SHA256[arm64]=914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d
;;
1.18)
INSTALL_GOLANG_VERSION=1.18.5
GOLANG_DOWNLOAD_SHA256[amd64]=9e5de37f9c49942c601b191ac5fba404b868bfc21d446d6960acc12283d6e5f2
GOLANG_DOWNLOAD_SHA256[arm64]=006f6622718212363fa1ff004a6ab4d87bbbe772ec5631bab7cac10be346e4f1
INSTALL_GOLANG_VERSION=1.18.6
GOLANG_DOWNLOAD_SHA256[amd64]=bb05f179a773fed60c6a454a24141aaa7e71edfd0f2d465ad610a3b8f1dc7fe8
GOLANG_DOWNLOAD_SHA256[arm64]=838ffa94158125f16e4aa667ee4f6b499ea57e3e35a7e2517ad357ea06714691
;;
1.19)
INSTALL_GOLANG_VERSION=1.19.1
GOLANG_DOWNLOAD_SHA256[amd64]=acc512fbab4f716a8f97a8b3fbaa9ddd39606a28be6c2515ef7c6c6311acffde
GOLANG_DOWNLOAD_SHA256[arm64]=49960821948b9c6b14041430890eccee58c76b52e2dbaafce971c3c38d43df9f
;;
*) echo "Unknown golang version $1"; exit 1;
esac

View file

@ -9,11 +9,11 @@ TAG_TOOLS=(BUNDLER RUBYGEMS GIT LFS CHROME YARN GRAPHICSMAGICK BAZELISK DOCKER B
# For example, consider a CI job which specifies the following variables:
# OS: debian:bullseye
# RUBY: 2.7
# GOLANG: 1.16
# GOLANG: 1.19
# GIT: 2.33
# POSTGRESQL: 11
# With the above variables, this function will return
# `debian-bullseye-ruby-2.7-golang-1.16-postgresql-11`
# `debian-bullseye-ruby-2.7-golang-1.19-postgresql-11`
function get_image_path() {
local path
path=""
@ -43,7 +43,7 @@ function get_image_path() {
# For example, consider a CI job which specifies the following variables:
# OS: debian:bullseye
# RUBY: 2.7
# GOLANG: 1.16
# GOLANG: 1.19
# GIT: 2.33
# POSTGRESQL: 11
# For that job, this function will return