From 9ed107152d9f6d22c7c38ca49b8415b964e41f3a Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 28 Jan 2024 10:32:16 +0000 Subject: [PATCH] Updated Go to 1.21.6 1.21.6 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.21.6-arm64.yml | 3 +++ vars/versions/1.21.6-armv6l.yml | 3 +++ vars/versions/1.21.6.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.21.6-arm64.yml create mode 100644 vars/versions/1.21.6-armv6l.yml create mode 100644 vars/versions/1.21.6.yml diff --git a/README.md b/README.md index b366976..041cf10 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.21.5' +golang_version: '1.21.6' # 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.21.6` * `1.21.5` * `1.21.4` * `1.21.3` diff --git a/defaults/main.yml b/defaults/main.yml index 3e38da7..e75e726 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.5' +golang_version: '1.21.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 4170951..d5836e0 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.5$'), + ('GOROOT', '^/opt/go/1.21.6$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.21.5/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.21.6/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.21.6-arm64.yml b/vars/versions/1.21.6-arm64.yml new file mode 100644 index 0000000..7f9b99f --- /dev/null +++ b/vars/versions/1.21.6-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'e2e8aa88e1b5170a0d495d7d9c766af2b2b6c6925a8f8956d834ad6b4cacbd9a' diff --git a/vars/versions/1.21.6-armv6l.yml b/vars/versions/1.21.6-armv6l.yml new file mode 100644 index 0000000..02a9bd5 --- /dev/null +++ b/vars/versions/1.21.6-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '6a8eda6cc6a799ff25e74ce0c13fdc1a76c0983a0bb07c789a2a3454bf6ec9b2' diff --git a/vars/versions/1.21.6.yml b/vars/versions/1.21.6.yml new file mode 100644 index 0000000..9a0ba4c --- /dev/null +++ b/vars/versions/1.21.6.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4'