From 2507b08ffff4d7d8907cc3af0eee30ac1ac4d61e Mon Sep 17 00:00:00 2001 From: Tamas Utasi <3823780+utamas@users.noreply.github.com> Date: Sun, 7 Jul 2024 19:26:57 +0200 Subject: [PATCH] Updated Go to 1.22.4 (#362) 1.22.4 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.22.4-arm64.yml | 3 +++ vars/versions/1.22.4-armv6l.yml | 3 +++ vars/versions/1.22.4.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.22.4-arm64.yml create mode 100644 vars/versions/1.22.4-armv6l.yml create mode 100644 vars/versions/1.22.4.yml diff --git a/README.md b/README.md index 09857aa..b9a8355 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.22.3' +golang_version: '1.22.4' # Mirror to download the Go language SDK redistributable package from golang_mirror: 'https://storage.googleapis.com/golang' @@ -75,6 +75,7 @@ The following versions of Go language SDK are supported without any additional configuration (for other versions follow the Advanced Configuration instructions): +* `1.22.4` * `1.22.3` * `1.22.2` * `1.22.1` diff --git a/defaults/main.yml b/defaults/main.yml index 5c586ea..8d4134d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ # code: language=ansible --- # Go language SDK version number -golang_version: '1.22.3' +golang_version: '1.22.4' # Mirror to download the Go language SDK redistributable package from golang_mirror: 'https://storage.googleapis.com/golang' diff --git a/molecule/default/tests/test_role.py b/molecule/default/tests/test_role.py index f284054..e9dd479 100644 --- a/molecule/default/tests/test_role.py +++ b/molecule/default/tests/test_role.py @@ -3,9 +3,9 @@ @pytest.mark.parametrize('name,pattern', [ - ('GOROOT', '^/opt/go/1.22.3$'), + ('GOROOT', '^/opt/go/1.22.4$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.22.3/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.4/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.4-arm64.yml b/vars/versions/1.22.4-arm64.yml new file mode 100644 index 0000000..904f069 --- /dev/null +++ b/vars/versions/1.22.4-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'a8e177c354d2e4a1b61020aca3562e27ea3e8f8247eca3170e3fa1e0c2f9e771' diff --git a/vars/versions/1.22.4-armv6l.yml b/vars/versions/1.22.4-armv6l.yml new file mode 100644 index 0000000..93da4c8 --- /dev/null +++ b/vars/versions/1.22.4-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'e2b143fbacbc9cbd448e9ef41ac3981f0488ce849af1cf37e2341d09670661de' diff --git a/vars/versions/1.22.4.yml b/vars/versions/1.22.4.yml new file mode 100644 index 0000000..0ab4e3e --- /dev/null +++ b/vars/versions/1.22.4.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'ba79d4526102575196273416239cca418a651e049c2b099f3159db85e7bade7d'