chore: bump go to 1.21 (#14946)

This commit is contained in:
Siddarth Kumar 2024-05-30 17:08:31 +05:30 committed by GitHub
parent 1618e6ce0a
commit 9f67616b63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 8 additions and 8 deletions

View File

@ -81,8 +81,8 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1
ENV PATH="/opt/cmake/bin:${PATH}" ENV PATH="/opt/cmake/bin:${PATH}"
# Installing Golang # Installing Golang
RUN GOLANG_SHA256="698ef3243972a51ddb4028e4a1ac63dc6d60821bf18e59a807e051fee0a385bd" \ RUN GOLANG_SHA256="e330e5d977bf4f3bdc157bc46cf41afa5b13d66c914e12fd6b694ccda65fcf92" \
&& GOLANG_TARBALL="go1.20.4.linux-amd64.tar.gz" \ && GOLANG_TARBALL="go1.21.10.linux-amd64.tar.gz" \
&& wget -q "https://dl.google.com/go/${GOLANG_TARBALL}" \ && wget -q "https://dl.google.com/go/${GOLANG_TARBALL}" \
&& echo "${GOLANG_SHA256} ${GOLANG_TARBALL}" | sha256sum -c \ && echo "${GOLANG_SHA256} ${GOLANG_TARBALL}" | sha256sum -c \
&& sudo tar -C /usr/local -xzf "${GOLANG_TARBALL}" \ && sudo tar -C /usr/local -xzf "${GOLANG_TARBALL}" \

View File

@ -9,7 +9,7 @@ pipeline {
/* Necessary image with Ubuntu 20.04 for older Glibc. */ /* Necessary image with Ubuntu 20.04 for older Glibc. */
docker { docker {
label 'linux' label 'linux'
image 'statusteam/nim-status-client-build:1.4.0-qt5.15.2' image 'statusteam/nim-status-client-build:1.4.1-qt5.15.2'
/* allows jenkins use cat and mounts '/dev/fuse' for linuxdeployqt */ /* allows jenkins use cat and mounts '/dev/fuse' for linuxdeployqt */
args '--entrypoint="" --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse' args '--entrypoint="" --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse'
} }

View File

@ -7,7 +7,7 @@ def isPRBuild = utils.isPRBuild()
pipeline { pipeline {
/* This way we run the same Jenkinsfile on different platforms. */ /* This way we run the same Jenkinsfile on different platforms. */
agent { agent {
label "${getAgentLabels().join(' && ')} && qt-5.15 && go-1.20" label "${getAgentLabels().join(' && ')} && qt-5.15 && go-1.21"
} }
parameters { parameters {

View File

@ -5,7 +5,7 @@ library 'status-jenkins-lib@v1.8.13'
def isPRBuild = utils.isPRBuild() def isPRBuild = utils.isPRBuild()
pipeline { pipeline {
agent { label 'windows && x86_64 && qt-5.15.2 && go-1.20' } agent { label 'windows && x86_64 && qt-5.15.2 && go-1.21' }
parameters { parameters {
booleanParam( booleanParam(

View File

@ -18,7 +18,7 @@ function Install-Dependencies {
if (!(scoop bucket list | Where { $_.Name -eq "extras" })) { if (!(scoop bucket list | Where { $_.Name -eq "extras" })) {
scoop bucket add extras scoop bucket add extras
} }
scoop install --global go@1.20.4 scoop install --global go@1.21.10
scoop install --global vcredist2022 scoop install --global vcredist2022
scoop install --global ` scoop install --global `
7zip git dos2unix findutils ` 7zip git dos2unix findutils `

View File

@ -20,7 +20,7 @@ in pkgs.mkShell {
qt5Full qt5Full
bash curl wget git file unzip jq lsb-release bash curl wget git file unzip jq lsb-release
cmake gnumake pkg-config gnugrep qtCustom cmake gnumake pkg-config gnugrep qtCustom
go_1_19 go_1_21
pcre nss pcsclite extra-cmake-modules pcre nss pcsclite extra-cmake-modules
xorg.libxcb xorg.libX11 libxkbcommon xorg.libxcb xorg.libX11 libxkbcommon
] ++ (with gst_all_1; [ ] ++ (with gst_all_1; [

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit e06c490ec870a70ae72ede2b37f1235a3d903ed8 Subproject commit fb88f541f25017bbc78d373543b629aebe4d2e99