From 0bd0bb5b8ae6517b4bf316c4af3f375b4bac8def Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 11 Aug 2024 16:56:14 +0000 Subject: [PATCH] Updated Go to 1.22.6 1.22.6 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.22.6-arm64.yml | 3 +++ vars/versions/1.22.6-armv6l.yml | 3 +++ vars/versions/1.22.6.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.22.6-arm64.yml create mode 100644 vars/versions/1.22.6-armv6l.yml create mode 100644 vars/versions/1.22.6.yml diff --git a/README.md b/README.md index 23f0543..e6e4bf9 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.22.5' +golang_version: '1.22.6' # 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.6` * `1.22.5` * `1.22.4` * `1.22.3` diff --git a/defaults/main.yml b/defaults/main.yml index f11b252..c8502f4 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.5' +golang_version: '1.22.6' # 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 bdd1bf2..899af6a 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.5$'), + ('GOROOT', '^/opt/go/1.22.6$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.22.5/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.6/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.6-arm64.yml b/vars/versions/1.22.6-arm64.yml new file mode 100644 index 0000000..fe56832 --- /dev/null +++ b/vars/versions/1.22.6-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'c15fa895341b8eaf7f219fada25c36a610eb042985dc1a912410c1c90098eaf2' diff --git a/vars/versions/1.22.6-armv6l.yml b/vars/versions/1.22.6-armv6l.yml new file mode 100644 index 0000000..c8c94ae --- /dev/null +++ b/vars/versions/1.22.6-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'b566484fe89a54c525dd1a4cbfec903c1f6e8f0b7b3dbaf94c79bc9145391083' diff --git a/vars/versions/1.22.6.yml b/vars/versions/1.22.6.yml new file mode 100644 index 0000000..d25fa47 --- /dev/null +++ b/vars/versions/1.22.6.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '999805bed7d9039ec3da1a53bfbcafc13e367da52aa823cb60b68ba22d44c616'