mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Bump go version
This commit is contained in:
committed by
Dan Christian Bogos
parent
39df92c1b3
commit
b0d8cd3856
2
.github/workflows/integration_tests.yaml
vendored
2
.github/workflows/integration_tests.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user