From 87b81aa6c4ffe3fcd2bc2e19424d5b78b47475cd Mon Sep 17 00:00:00 2001 From: John Freeman Date: Tue, 28 May 2024 20:54:22 +0100 Subject: [PATCH] Added support for Go 1.21.10 (#360) Go 1.22.3 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.10-arm64.yml | 3 +++ vars/versions/1.21.10-armv6l.yml | 3 +++ vars/versions/1.21.10.yml | 3 +++ 6 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 vars/versions/1.21.10-arm64.yml create mode 100644 vars/versions/1.21.10-armv6l.yml create mode 100644 vars/versions/1.21.10.yml diff --git a/README.md b/README.md index d53672f..09857aa 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ instructions): * `1.22.2` * `1.22.1` * `1.22.0` +* `1.21.10` * `1.21.9` * `1.21.8` * `1.21.7` diff --git a/molecule/ubuntu-max-go-eol/converge.yml b/molecule/ubuntu-max-go-eol/converge.yml index 98606c3..c921b22 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.9' + golang_version: '1.21.10' 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 778d1f3..a49e918 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.9$'), + ('GOROOT', '^/opt/go/1.21.10$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.21.9/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.21.10/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.21.10-arm64.yml b/vars/versions/1.21.10-arm64.yml new file mode 100644 index 0000000..47e76e4 --- /dev/null +++ b/vars/versions/1.21.10-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '428e0b9ecab5762b7c2be000ad1be6f432dccfcd99bb8b8aeeb757d987bfda9d' diff --git a/vars/versions/1.21.10-armv6l.yml b/vars/versions/1.21.10-armv6l.yml new file mode 100644 index 0000000..d4c3704 --- /dev/null +++ b/vars/versions/1.21.10-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '15af2bcf7c916895f3e4bc16fb94d4ddfbe9ec6ba2b3e096679f4837dd6a72ae' diff --git a/vars/versions/1.21.10.yml b/vars/versions/1.21.10.yml new file mode 100644 index 0000000..b6e8251 --- /dev/null +++ b/vars/versions/1.21.10.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'e330e5d977bf4f3bdc157bc46cf41afa5b13d66c914e12fd6b694ccda65fcf92'