Bump go version

This commit is contained in:
ionutboangiu
2023-10-06 10:30:46 -04:00
committed by Dan Christian Bogos
parent 39df92c1b3
commit b0d8cd3856
6 changed files with 7 additions and 7 deletions

View File

@@ -32,7 +32,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.21.0"
go-version: "1.21.x"
- name: Setup Python
uses: actions/setup-python@v4

View File

@@ -1,5 +1,5 @@
---
go_version: "1.21.0"
go_version: "1.21.2"
go_platform: linux
go_arch: amd64
go_tarball: go{{ go_version }}.{{ go_platform }}-{{ go_arch }}.tar.gz

View File

@@ -76,7 +76,7 @@ RUN apt-get clean && \
RUN touch /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
RUN chmod 777 /logs/mariadb.log /logs/mariadb_script.log /logs/rabbitmq.log
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.21.0.linux-amd64.tar.gz" --progress=dot:giga
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.21.2.linux-amd64.tar.gz" --progress=dot:giga
RUN tar -C /usr/local -xzf go.tgz
RUN rm go.tgz

View File

@@ -112,8 +112,8 @@ To install the latest Go version at the time of writing this documentation, run:
# sudo dnf install -y wget tar for .rpm distros
sudo rm -rf /usr/local/go
cd /tmp
wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz
wget https://go.dev/dl/go1.21.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.21.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
Installation:

View File

@@ -1,6 +1,6 @@
# Define global variables
%global version 0.10.3
%global go_version 1.21.0
%global go_version 1.21.2
# Define system paths
%global _logdir /var/log/%name

View File

@@ -2,7 +2,7 @@
%global version 0.10.3
%global git_commit %(echo $gitLastCommit)
%global releaseTag %(echo $rpmTag)
%global go_version 1.21.0
%global go_version 1.21.2
# Define system paths
%global _logdir /var/log/%name