From 0b7457c7b25997fd59abd529c820abbea7b1f588 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Tue, 19 Sep 2023 22:37:02 +0100 Subject: [PATCH] Updated Go to 1.21.1 1.21.1 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.21.1-arm64.yml | 3 +++ vars/versions/1.21.1-armv6l.yml | 3 +++ vars/versions/1.21.1.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.21.1-arm64.yml create mode 100644 vars/versions/1.21.1-armv6l.yml create mode 100644 vars/versions/1.21.1.yml diff --git a/README.md b/README.md index e1f530a..19476c7 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.21.0' +golang_version: '1.21.1' # 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.1` * `1.21.0` * `1.20.7` * `1.20.6` diff --git a/defaults/main.yml b/defaults/main.yml index 82dfd67..c05798a 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.0' +golang_version: '1.21.1' # 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 a7b4543..2c26393 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.0$'), + ('GOROOT', '^/opt/go/1.21.1$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.21.0/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.21.1/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.21.1-arm64.yml b/vars/versions/1.21.1-arm64.yml new file mode 100644 index 0000000..ec83e1b --- /dev/null +++ b/vars/versions/1.21.1-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '7da1a3936a928fd0b2602ed4f3ef535b8cd1990f1503b8d3e1acc0fa0759c967' diff --git a/vars/versions/1.21.1-armv6l.yml b/vars/versions/1.21.1-armv6l.yml new file mode 100644 index 0000000..32b88a4 --- /dev/null +++ b/vars/versions/1.21.1-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'f3716a43f59ae69999841d6007b42c9e286e8d8ce470656fb3e70d7be2d7ca85' diff --git a/vars/versions/1.21.1.yml b/vars/versions/1.21.1.yml new file mode 100644 index 0000000..b8a529a --- /dev/null +++ b/vars/versions/1.21.1.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'b3075ae1ce5dab85f89bc7905d1632de23ca196bd8336afd93fa97434cfa55ae'