From 5a87dca628d75a02e5c819156386ecae55f435bf Mon Sep 17 00:00:00 2001 From: Qiu Yu Date: Fri, 15 Nov 2024 09:46:46 -0800 Subject: [PATCH] Updated Go to 1.22.7 (#375) 1.22.7 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.22.7-arm64.yml | 3 +++ vars/versions/1.22.7-armv6l.yml | 3 +++ vars/versions/1.22.7.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.22.7-arm64.yml create mode 100644 vars/versions/1.22.7-armv6l.yml create mode 100644 vars/versions/1.22.7.yml diff --git a/README.md b/README.md index 4063c68..a21f73c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.22.6' +golang_version: '1.22.7' # Mirror to download the Go language SDK redistributable package from golang_mirror: 'https://storage.googleapis.com/golang' @@ -74,6 +74,7 @@ The following versions of Go language SDK are supported without any additional configuration (for other versions follow the Advanced Configuration instructions): +* `1.22.7` * `1.22.6` * `1.22.5` * `1.22.4` diff --git a/defaults/main.yml b/defaults/main.yml index c8502f4..1f6875b 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.6' +golang_version: '1.22.7' # 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 899af6a..5620adc 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.6$'), + ('GOROOT', '^/opt/go/1.22.7$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.22.6/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.7/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.7-arm64.yml b/vars/versions/1.22.7-arm64.yml new file mode 100644 index 0000000..a8f1f6f --- /dev/null +++ b/vars/versions/1.22.7-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'ed695684438facbd7e0f286c30b7bc2411cfc605516d8127dc25c62fe5b03885' diff --git a/vars/versions/1.22.7-armv6l.yml b/vars/versions/1.22.7-armv6l.yml new file mode 100644 index 0000000..25277ed --- /dev/null +++ b/vars/versions/1.22.7-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '0fd55519819922f51d13503f2c9b1294730be7ffa0ead8dd36c0e540c2a27508' diff --git a/vars/versions/1.22.7.yml b/vars/versions/1.22.7.yml new file mode 100644 index 0000000..c8dcb82 --- /dev/null +++ b/vars/versions/1.22.7.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'fc5d49b7a5035f1f1b265c17aa86e9819e6dc9af8260ad61430ee7fbe27881bb'