Bump go version (1.22.5 -> 1.23.2)

needed for io.CopyFS function
This commit is contained in:
ionutboangiu
2024-10-16 07:10:03 +03:00
committed by Dan Christian Bogos
parent b05ed15f25
commit ab02a8a8dd
6 changed files with 10 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
---
go_version: 1.22.5
go_version: 1.23.2
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: 904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0
go_checksum: 542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e
install_go: true

View File

@@ -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.5.linux-amd64.tar.gz" --progress=dot:giga
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.23.2.linux-amd64.tar.gz" --progress=dot:giga
RUN tar -C /usr/local -xzf go.tgz
RUN rm go.tgz
@@ -91,4 +91,4 @@ COPY ./conf/rsyslog.d /etc/rsyslog.d
COPY ./conf/redis.conf /etc/redis/redis.conf
COPY ./docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["docker-entrypoint.sh"]

View File

@@ -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.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz
wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
Installation:
@@ -277,4 +277,4 @@ Sample usage for MySQL:
.. code-block:: bash
cgr-migrator -stordb_passwd="CGRateS.org" -exec="*set_versions"
cgr-migrator -stordb_passwd="CGRateS.org" -exec="*set_versions"

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/cgrates/cgrates
go 1.22.5
go 1.23.2
// replace github.com/cgrates/radigo => ../radigo

View File

@@ -1,6 +1,6 @@
# Define global variables
%global version 0.11.0~dev
%global go_version 1.22.5
%global go_version 1.23.2
# Define system paths
%define debug_package %{nil}

View File

@@ -1,6 +1,6 @@
# Define global variables
%global version 0.11.0~dev
%global go_version 1.22.5
%global go_version 1.23.2
%global git_commit %(echo $gitLastCommit)
%global releaseTag %(echo $rpmTag)