Skip to content

Commit

Permalink
Updated Go to 1.21.2 (#316)
Browse files Browse the repository at this point in the history
1.21.2 will now be installed by default.
  • Loading branch information
freemanjp authored Oct 15, 2023
1 parent 781f268 commit 7627ad2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ are shown below):

```yaml
# Go language SDK version number
golang_version: '1.21.1'
golang_version: '1.21.2'

# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'
Expand All @@ -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.2`
* `1.21.1`
* `1.21.0`
* `1.20.8`
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# code: language=ansible
---
# Go language SDK version number
golang_version: '1.21.1'
golang_version: '1.21.2'

# Mirror to download the Go language SDK redistributable package from
golang_mirror: 'https://storage.googleapis.com/golang'
Expand Down
4 changes: 2 additions & 2 deletions molecule/default/tests/test_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@


@pytest.mark.parametrize('name,pattern', [
('GOROOT', '^/opt/go/1.21.1$'),
('GOROOT', '^/opt/go/1.21.2$'),
('GOPATH', '^/root/workspace-go$'),
('PATH', '^(.+:)?/opt/go/1.21.1/bin(:.+)?$'),
('PATH', '^(.+:)?/opt/go/1.21.2/bin(:.+)?$'),
('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$')
])
def test_go_env(host, name, pattern):
Expand Down
3 changes: 3 additions & 0 deletions vars/versions/1.21.2-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: '23e208ca44a3cb46cd4308e48a27c714ddde9c8c34f2e4211dbca95b6d456554'
3 changes: 3 additions & 0 deletions vars/versions/1.21.2-armv6l.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: '8727d842176a2bfd9edf307ed5411c39a69e2c6a748098987be361e8e0c36b46'
3 changes: 3 additions & 0 deletions vars/versions/1.21.2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# SHA256 sum for the redistributable package
golang_redis_sha256sum: 'f5414a770e5e11c6e9674d4cd4dd1f4f630e176d1828d3427ea8ca4211eee90d'

0 comments on commit 7627ad2

Please sign in to comment.