From 65effac7616470bfb262257ef82e4df834736069 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 11 Feb 2024 14:55:21 +0000 Subject: [PATCH] Updated Go to 1.22.0 1.22.0 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.22.0-arm64.yml | 3 +++ vars/versions/1.22.0-armv6l.yml | 3 +++ vars/versions/1.22.0.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.22.0-arm64.yml create mode 100644 vars/versions/1.22.0-armv6l.yml create mode 100644 vars/versions/1.22.0.yml diff --git a/README.md b/README.md index f991b8f..666001b 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.21.6' +golang_version: '1.22.0' # 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.0` * `1.21.6` * `1.21.5` * `1.21.4` diff --git a/defaults/main.yml b/defaults/main.yml index e75e726..ad2cc38 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ # code: language=ansible --- # Go language SDK version number -golang_version: '1.21.6' +golang_version: '1.22.0' # 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 d5836e0..1f8ebaa 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.21.6$'), + ('GOROOT', '^/opt/go/1.22.0$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.21.6/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.0/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.0-arm64.yml b/vars/versions/1.22.0-arm64.yml new file mode 100644 index 0000000..2bcc3b4 --- /dev/null +++ b/vars/versions/1.22.0-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '6a63fef0e050146f275bf02a0896badfe77c11b6f05499bb647e7bd613a45a10' diff --git a/vars/versions/1.22.0-armv6l.yml b/vars/versions/1.22.0-armv6l.yml new file mode 100644 index 0000000..0fed5a3 --- /dev/null +++ b/vars/versions/1.22.0-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '0525f92f79df7ed5877147bce7b955f159f3962711b69faac66bc7121d36dcc4' diff --git a/vars/versions/1.22.0.yml b/vars/versions/1.22.0.yml new file mode 100644 index 0000000..5b86bc0 --- /dev/null +++ b/vars/versions/1.22.0.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'f6c8a87aa03b92c4b0bf3d558e28ea03006eb29db78917daec5cfb6ec1046265'