From 89102b4d0ca263d885dcc39868aa0bd13e97b1fb Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 7 Jul 2024 19:09:36 +0100 Subject: [PATCH] Updated Go to 1.22.5 (#365) 1.22.5 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.22.5-arm64.yml | 3 +++ vars/versions/1.22.5-armv6l.yml | 3 +++ vars/versions/1.22.5.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.22.5-arm64.yml create mode 100644 vars/versions/1.22.5-armv6l.yml create mode 100644 vars/versions/1.22.5.yml diff --git a/README.md b/README.md index 87d5bfb..7eb5b87 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.22.4' +golang_version: '1.22.5' # 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.5` * `1.22.4` * `1.22.3` * `1.22.2` diff --git a/defaults/main.yml b/defaults/main.yml index 8d4134d..f11b252 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.4' +golang_version: '1.22.5' # 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 e9dd479..bdd1bf2 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.4$'), + ('GOROOT', '^/opt/go/1.22.5$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.22.4/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.5/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.5-arm64.yml b/vars/versions/1.22.5-arm64.yml new file mode 100644 index 0000000..c2084ea --- /dev/null +++ b/vars/versions/1.22.5-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '8d21325bfcf431be3660527c1a39d3d9ad71535fabdf5041c826e44e31642b5a' diff --git a/vars/versions/1.22.5-armv6l.yml b/vars/versions/1.22.5-armv6l.yml new file mode 100644 index 0000000..8d6cf50 --- /dev/null +++ b/vars/versions/1.22.5-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '8c4587cf3e63c9aefbcafa92818c4d9d51683af93ea687bf6c7508d6fa36f85e' diff --git a/vars/versions/1.22.5.yml b/vars/versions/1.22.5.yml new file mode 100644 index 0000000..80310cc --- /dev/null +++ b/vars/versions/1.22.5.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '904b924d435eaea086515bc63235b192ea441bd8c9b198c507e85009e6e4c7f0'