bump go version

This commit is contained in:
ionutboangiu
2024-08-19 13:07:25 +03:00
committed by Dan Christian Bogos
parent 9961b7b723
commit fbdc6f015a
12 changed files with 18 additions and 18 deletions

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'

View File

@@ -15,7 +15,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'
@@ -238,4 +238,4 @@
- name: docker_tag is
debug:
msg: "{{ docker_tag }}"
when: docker_tag != ""
when: docker_tag != ""

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'
@@ -289,4 +289,4 @@
- name: Removeing token file
file:
path: "/home/{{ user }}/token.json"
state: absent
state: absent

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'

View File

@@ -1,8 +1,8 @@
---
go_version: "1.21.0"
go_version: "1.23.0"
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: "d0398903a16ba2232b389fb31032ddf57cac34efda306a0eebac34f0965a0742"
go_checksum: "905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e3"
install_go: true

View File

@@ -6,7 +6,7 @@
##################### Golang Vars #############################
###############################################################
# Go language SDK version number
golang_version: '1.18'
golang_version: '1.23'
go_version_target: "go version go{{ golang_version }} linux/amd64"
# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'

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.21.0.linux-amd64.tar.gz" --progress=dot:giga
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.23.0.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

@@ -123,14 +123,14 @@ Install GO Lang
First we have to setup the GO Lang to our OS. Feel free to download
the latest GO binary release from https://golang.org/dl/
In this Tutorial we are going to install Go 1.18
In this Tutorial we are going to install Go 1.23
::
sudo rm -rf /usr/local/go
cd /tmp
wget https://go.dev/dl/go1.18.linux-amd64.tar.gz
sudo tar -xvf go1.18.linux-amd64.tar.gz -C /usr/local/
wget https://go.dev/dl/go1.23.linux-amd64.tar.gz
sudo tar -xvf go1.23.linux-amd64.tar.gz -C /usr/local/
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin

2
go.mod
View File

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