mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Sync (and update) go version
go.mod had a later version than the one used inside the role, which caused the deb packaging to fail. Updated all of them to latest.
This commit is contained in:
committed by
Dan Christian Bogos
parent
520451be7e
commit
da4bf0d783
@@ -1,8 +1,8 @@
|
||||
---
|
||||
go_version: 1.22.3
|
||||
go_version: 1.22.5
|
||||
go_platform: linux
|
||||
go_arch: amd64
|
||||
go_tarball: go{{ go_version }}.{{ go_platform }}-{{ go_arch }}.tar.gz
|
||||
go_download_url: https://dl.google.com/go/{{ go_tarball }}
|
||||
go_checksum: 8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36
|
||||
go_checksum: 904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0
|
||||
install_go: true
|
||||
|
||||
@@ -74,7 +74,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.22.3.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.22.5.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN tar -C /usr/local -xzf go.tgz
|
||||
RUN rm go.tgz
|
||||
|
||||
|
||||
@@ -145,8 +145,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.22.3.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz
|
||||
wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
Installation:
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
||||
module github.com/cgrates/cgrates
|
||||
|
||||
go 1.22.4
|
||||
go 1.22.5
|
||||
|
||||
// replace github.com/cgrates/radigo => ../radigo
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Define global variables
|
||||
%global version 0.11.0~dev
|
||||
%global go_version 1.22.3
|
||||
%global go_version 1.22.5
|
||||
|
||||
# Define system paths
|
||||
%define debug_package %{nil}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Define global variables
|
||||
%global version 0.11.0~dev
|
||||
%global go_version 1.22.3
|
||||
%global go_version 1.22.5
|
||||
%global git_commit %(echo $gitLastCommit)
|
||||
%global releaseTag %(echo $rpmTag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user