From 75421a617d6cd07ca3dbc7d61bd6db13265582b5 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sun, 7 Jul 2024 18:13:47 +0000 Subject: [PATCH] Added support for Go 1.21.12 Go 1.22.5 remains the default version installed. --- README.md | 1 + molecule/ubuntu-max-go-eol/converge.yml | 2 +- molecule/ubuntu-max-go-eol/tests/test_role.py | 4 ++-- vars/versions/1.21.12-arm64.yml | 3 +++ vars/versions/1.21.12-armv6l.yml | 3 +++ vars/versions/1.21.12.yml | 3 +++ 6 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 vars/versions/1.21.12-arm64.yml create mode 100644 vars/versions/1.21.12-armv6l.yml create mode 100644 vars/versions/1.21.12.yml diff --git a/README.md b/README.md index 7eb5b87..23f0543 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ instructions): * `1.22.2` * `1.22.1` * `1.22.0` +* `1.21.12` * `1.21.11` * `1.21.10` * `1.21.9` diff --git a/molecule/ubuntu-max-go-eol/converge.yml b/molecule/ubuntu-max-go-eol/converge.yml index 54bf6e5..d758cc7 100644 --- a/molecule/ubuntu-max-go-eol/converge.yml +++ b/molecule/ubuntu-max-go-eol/converge.yml @@ -5,5 +5,5 @@ roles: - role: ansible-role-golang - golang_version: '1.21.11' + golang_version: '1.21.12' golang_gopath: '$HOME/workspace-go' diff --git a/molecule/ubuntu-max-go-eol/tests/test_role.py b/molecule/ubuntu-max-go-eol/tests/test_role.py index 989b194..f83e40d 100644 --- a/molecule/ubuntu-max-go-eol/tests/test_role.py +++ b/molecule/ubuntu-max-go-eol/tests/test_role.py @@ -3,9 +3,9 @@ @pytest.mark.parametrize('name,pattern', [ - ('GOROOT', '^/opt/go/1.21.11$'), + ('GOROOT', '^/opt/go/1.21.12$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.21.11/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.21.12/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.21.12-arm64.yml b/vars/versions/1.21.12-arm64.yml new file mode 100644 index 0000000..d7d438a --- /dev/null +++ b/vars/versions/1.21.12-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '94cb3ec4a1e08a00da55c33e63f725be91f10ba743907b5615ef34e54675ba2e' diff --git a/vars/versions/1.21.12-armv6l.yml b/vars/versions/1.21.12-armv6l.yml new file mode 100644 index 0000000..f5152da --- /dev/null +++ b/vars/versions/1.21.12-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '04148803fdee283c0259bc971eddefa4134dc2695a3de01aebe17787bf4705b6' diff --git a/vars/versions/1.21.12.yml b/vars/versions/1.21.12.yml new file mode 100644 index 0000000..7fa82c7 --- /dev/null +++ b/vars/versions/1.21.12.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '121ab58632787e18ae0caa8ae285b581f9470d0f6b3defde9e1600e211f583c5'