From 3f0dd1f15f18919b46ee2d98503a6a02e8c24889 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Tue, 28 May 2024 20:41:45 +0100 Subject: [PATCH] Updated Go to 1.22.3 (#359) 1.22.3 will now be installed by default. --- README.md | 3 ++- defaults/main.yml | 2 +- molecule/default/tests/test_role.py | 4 ++-- vars/versions/1.22.3-arm64.yml | 3 +++ vars/versions/1.22.3-armv6l.yml | 3 +++ vars/versions/1.22.3.yml | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 vars/versions/1.22.3-arm64.yml create mode 100644 vars/versions/1.22.3-armv6l.yml create mode 100644 vars/versions/1.22.3.yml diff --git a/README.md b/README.md index e3ca1ef..d53672f 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ are shown below): ```yaml # Go language SDK version number -golang_version: '1.22.2' +golang_version: '1.22.3' # Mirror to download the Go language SDK redistributable package from golang_mirror: 'https://storage.googleapis.com/golang' @@ -75,6 +75,7 @@ The following versions of Go language SDK are supported without any additional configuration (for other versions follow the Advanced Configuration instructions): +* `1.22.3` * `1.22.2` * `1.22.1` * `1.22.0` diff --git a/defaults/main.yml b/defaults/main.yml index 9793acd..5c586ea 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.2' +golang_version: '1.22.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 c7342c6..f284054 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.2$'), + ('GOROOT', '^/opt/go/1.22.3$'), ('GOPATH', '^/root/workspace-go$'), - ('PATH', '^(.+:)?/opt/go/1.22.2/bin(:.+)?$'), + ('PATH', '^(.+:)?/opt/go/1.22.3/bin(:.+)?$'), ('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$') ]) def test_go_env(host, name, pattern): diff --git a/vars/versions/1.22.3-arm64.yml b/vars/versions/1.22.3-arm64.yml new file mode 100644 index 0000000..053a968 --- /dev/null +++ b/vars/versions/1.22.3-arm64.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '6c33e52a5b26e7aa021b94475587fce80043a727a54ceb0eee2f9fc160646434' diff --git a/vars/versions/1.22.3-armv6l.yml b/vars/versions/1.22.3-armv6l.yml new file mode 100644 index 0000000..c11bf95 --- /dev/null +++ b/vars/versions/1.22.3-armv6l.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: 'f2bacad20cd2b96f23a86d4826525d42b229fd431cc6d0dec61ff3bc448ef46e' diff --git a/vars/versions/1.22.3.yml b/vars/versions/1.22.3.yml new file mode 100644 index 0000000..06c9035 --- /dev/null +++ b/vars/versions/1.22.3.yml @@ -0,0 +1,3 @@ +--- +# SHA256 sum for the redistributable package +golang_redis_sha256sum: '8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36'