mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update Go version to 1.24.2 and revise deb_package script
This commit is contained in:
committed by
Dan Christian Bogos
parent
5463eb61c6
commit
cba94d3efe
@@ -325,14 +325,9 @@
|
||||
with_items: "{{ distributions }}"
|
||||
when: cgrates_branch == 'master' or hostvars['apt']['git_tag_result'].stdout_lines | length > 0
|
||||
|
||||
- name: Move the new .orig.tar.gz to /var/packages/deb
|
||||
become: true
|
||||
ansible.builtin.shell: "mv /tmp/cgrates*.orig*.tar.* /var/packages/deb/{{ cgrates_branch }}/"
|
||||
when: cgrates_branch == 'master' or hostvars['apt']['git_tag_result'].stdout_lines | length > 0
|
||||
|
||||
- name: Move the new package to /var/packages/deb
|
||||
become: true
|
||||
ansible.builtin.shell: "mv /tmp/cgrates*~deb{{ item.version }}u1* /var/packages/deb/{{ cgrates_branch }}/{{ item.codename }}/"
|
||||
ansible.builtin.shell: "mv /tmp/cgrates_*~deb{{ item.version }}u1*.deb /var/packages/deb/{{ cgrates_branch }}/{{ item.codename }}/"
|
||||
with_items: "{{ distributions }}"
|
||||
when: cgrates_branch == 'master' or hostvars['apt']['git_tag_result'].stdout_lines | length > 0
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
go_version: 1.24.1
|
||||
go_version: 1.24.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: dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858
|
||||
go_checksum: 68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad
|
||||
install_go: true
|
||||
|
||||
# Cleaning caches assumes go is available (either installed by the role or pre-existing)
|
||||
|
||||
@@ -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.24.1.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN wget -O go.tgz "https://storage.googleapis.com/golang/go1.24.2.linux-amd64.tar.gz" --progress=dot:giga
|
||||
RUN tar -C /usr/local -xzf go.tgz
|
||||
RUN rm go.tgz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user