From 05b5b883cc649aa2b6b36c5569c22d5e4150e780 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sat, 16 Nov 2024 10:55:55 +0000 Subject: [PATCH] Updated Go to 1.23.3 (#392) 1.23.3 will now be installed by default. Support for the following versions has also been added: * `1.23.2` * `1.23.1` * `1.23.0` * `1.22.9` * `1.22.8` --- README.md | 9 ++++++++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- molecule/ubuntu-max-go-eol/converge.yml | 2 +- molecule/ubuntu-max-go-eol/tests/test_role.py | 4 ++-- vars/versions/1.22.8-amd64.yml | 3 +++ vars/versions/1.22.8-arm64.yml | 3 +++ vars/versions/1.22.8-armv6l.yml | 3 +++ vars/versions/1.22.9-amd64.yml | 3 +++ vars/versions/1.22.9-arm64.yml | 3 +++ vars/versions/1.22.9-armv6l.yml | 3 +++ vars/versions/1.23.0-amd64.yml | 3 +++ vars/versions/1.23.0-arm64.yml | 3 +++ vars/versions/1.23.0-armv6l.yml | 3 +++ vars/versions/1.23.1-amd64.yml | 3 +++ vars/versions/1.23.1-arm64.yml | 3 +++ vars/versions/1.23.1-armv6l.yml | 3 +++ vars/versions/1.23.2-amd64.yml | 3 +++ vars/versions/1.23.2-arm64.yml | 3 +++ vars/versions/1.23.2-armv6l.yml | 3 +++ vars/versions/1.23.3-amd64.yml | 3 +++ vars/versions/1.23.3-arm64.yml | 3 +++ vars/versions/1.23.3-armv6l.yml | 3 +++ 23 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 vars/versions/1.22.8-amd64.yml create mode 100644 vars/versions/1.22.8-arm64.yml create mode 100644 vars/versions/1.22.8-armv6l.yml create mode 100644 vars/versions/1.22.9-amd64.yml create mode 100644 vars/versions/1.22.9-arm64.yml create mode 100644 vars/versions/1.22.9-armv6l.yml create mode 100644 vars/versions/1.23.0-amd64.yml create mode 100644 vars/versions/1.23.0-arm64.yml create mode 100644 vars/versions/1.23.0-armv6l.yml create mode 100644 vars/versions/1.23.1-amd64.yml create mode 100644 vars/versions/1.23.1-arm64.yml create mode 100644 vars/versions/1.23.1-armv6l.yml create mode 100644 vars/versions/1.23.2-amd64.yml create mode 100644 vars/versions/1.23.2-arm64.yml create mode 100644 vars/versions/1.23.2-armv6l.yml create mode 100644 vars/versions/1.23.3-amd64.yml create mode 100644 vars/versions/1.23.3-arm64.yml create mode 100644 vars/versions/1.23.3-armv6l.yml diff --git a/README.md b/README.md index 90ca7ff..03883e1 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.22.7' +golang_version: '1.23.3' # Mirror to download the Go language SDK redistributable package from golang_mirror: 'https://storage.googleapis.com/golang' @@ -73,6 +73,12 @@ The following versions of Go language SDK are supported without any additional configuration (for other versions follow the Advanced Configuration instructions): +* `1.23.3` +* `1.23.2` +* `1.23.1` +* `1.23.0` +* `1.22.9` +* `1.22.8` * `1.22.7` * `1.22.6` * `1.22.5` @@ -252,6 +258,7 @@ instructions): * `1.10.2` * `1.10.1` * `1.10` +* `1.9.7` * `1.9.6` * `1.9.5` * `1.9.4` diff --git a/defaults/main.yml b/defaults/main.yml index 1f6875b..144ccd0 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,7 +1,7 @@ # code: language=ansible --- # Go language SDK version number -golang_version: '1.22.7' +golang_version: '1.23.3' # 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 5620adc..234e994 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.22.7$'), + ('GOROOT', '^/opt/go/1.23.3$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.22.7/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.23.3/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/molecule/ubuntu-max-go-eol/converge.yml b/molecule/ubuntu-max-go-eol/converge.yml index 94b75f2..92ae90b 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.13' + golang_version: '1.22.9' 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 3ab7c37..fbabe37 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.13$'), + ('GOROOT', '^/opt/go/1.22.9$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.21.13/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.9/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.8-amd64.yml b/vars/versions/1.22.8-amd64.yml new file mode 100644 index 0000000..5b122d8 --- /dev/null +++ b/vars/versions/1.22.8-amd64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f' diff --git a/vars/versions/1.22.8-arm64.yml b/vars/versions/1.22.8-arm64.yml new file mode 100644 index 0000000..bb49722 --- /dev/null +++ b/vars/versions/1.22.8-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a' diff --git a/vars/versions/1.22.8-armv6l.yml b/vars/versions/1.22.8-armv6l.yml new file mode 100644 index 0000000..d0d35d3 --- /dev/null +++ b/vars/versions/1.22.8-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '5191e87a51a85d88edddc028ab30dfbfa2d7c37cf35d536655e7a063bfb2c9d2' diff --git a/vars/versions/1.22.9-amd64.yml b/vars/versions/1.22.9-amd64.yml new file mode 100644 index 0000000..96f81f7 --- /dev/null +++ b/vars/versions/1.22.9-amd64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '84a8f05b7b969d8acfcaf194ce9298ad5d3ddbfc7034930c280006b5c85a574c' diff --git a/vars/versions/1.22.9-arm64.yml b/vars/versions/1.22.9-arm64.yml new file mode 100644 index 0000000..6fec45f --- /dev/null +++ b/vars/versions/1.22.9-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '5beec5ef9f019e1779727ef0d9643fa8bf2495e7222014d2fc4fbfce5999bf01' diff --git a/vars/versions/1.22.9-armv6l.yml b/vars/versions/1.22.9-armv6l.yml new file mode 100644 index 0000000..40b8d04 --- /dev/null +++ b/vars/versions/1.22.9-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'ae3651ba40b3b1ec615b01ff9091734b25f7ff3dc9c5b9fb0a261d7a33e00215' diff --git a/vars/versions/1.23.0-amd64.yml b/vars/versions/1.23.0-amd64.yml new file mode 100644 index 0000000..7f46b45 --- /dev/null +++ b/vars/versions/1.23.0-amd64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '905a297f19ead44780548933e0ff1a1b86e8327bb459e92f9c0012569f76f5e3' diff --git a/vars/versions/1.23.0-arm64.yml b/vars/versions/1.23.0-arm64.yml new file mode 100644 index 0000000..26088e7 --- /dev/null +++ b/vars/versions/1.23.0-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '62788056693009bcf7020eedc778cdd1781941c6145eab7688bd087bce0f8659' diff --git a/vars/versions/1.23.0-armv6l.yml b/vars/versions/1.23.0-armv6l.yml new file mode 100644 index 0000000..4f9be16 --- /dev/null +++ b/vars/versions/1.23.0-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '0efa1338e644d7f74064fa7f1016b5da7872b2df0070ea3b56e4fef63192e35b' diff --git a/vars/versions/1.23.1-amd64.yml b/vars/versions/1.23.1-amd64.yml new file mode 100644 index 0000000..0e2c957 --- /dev/null +++ b/vars/versions/1.23.1-amd64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '49bbb517cfa9eee677e1e7897f7cf9cfdbcf49e05f61984a2789136de359f9bd' diff --git a/vars/versions/1.23.1-arm64.yml b/vars/versions/1.23.1-arm64.yml new file mode 100644 index 0000000..29051ac --- /dev/null +++ b/vars/versions/1.23.1-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'faec7f7f8ae53fda0f3d408f52182d942cc89ef5b7d3d9f23ff117437d4b2d2f' diff --git a/vars/versions/1.23.1-armv6l.yml b/vars/versions/1.23.1-armv6l.yml new file mode 100644 index 0000000..d932580 --- /dev/null +++ b/vars/versions/1.23.1-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '6c7832c7dcd8fb6d4eb308f672a725393403c74ee7be1aeccd8a443015df99de' diff --git a/vars/versions/1.23.2-amd64.yml b/vars/versions/1.23.2-amd64.yml new file mode 100644 index 0000000..e64758a --- /dev/null +++ b/vars/versions/1.23.2-amd64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '542d3c1705f1c6a1c5a80d5dc62e2e45171af291e755d591c5e6531ef63b454e' diff --git a/vars/versions/1.23.2-arm64.yml b/vars/versions/1.23.2-arm64.yml new file mode 100644 index 0000000..8a1cca8 --- /dev/null +++ b/vars/versions/1.23.2-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'f626cdd92fc21a88b31c1251f419c17782933a42903db87a174ce74eeecc66a9' diff --git a/vars/versions/1.23.2-armv6l.yml b/vars/versions/1.23.2-armv6l.yml new file mode 100644 index 0000000..b85e15d --- /dev/null +++ b/vars/versions/1.23.2-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'e3286bdde186077e65e961cbe18874d42a461e5b9c472c26572b8d4a98d15c40' diff --git a/vars/versions/1.23.3-amd64.yml b/vars/versions/1.23.3-amd64.yml new file mode 100644 index 0000000..f02cbfe --- /dev/null +++ b/vars/versions/1.23.3-amd64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'a0afb9744c00648bafb1b90b4aba5bdb86f424f02f9275399ce0c20b93a2c3a8' diff --git a/vars/versions/1.23.3-arm64.yml b/vars/versions/1.23.3-arm64.yml new file mode 100644 index 0000000..e658f2b --- /dev/null +++ b/vars/versions/1.23.3-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '1f7cbd7f668ea32a107ecd41b6488aaee1f5d77a66efd885b175494439d4e1ce' diff --git a/vars/versions/1.23.3-armv6l.yml b/vars/versions/1.23.3-armv6l.yml new file mode 100644 index 0000000..2396dee --- /dev/null +++ b/vars/versions/1.23.3-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '5f0332754beffc65af65a7b2da76e9dd997567d0d81b6f4f71d3588dc7b4cb00'