Skip to content

Commit 96536b0

Browse files
authored
Updated Go to 1.24.2 (#402)
1.24.2 will now be installed by default. Support for the following versions has also been added: * `1.23.8` * `1.23.7`
1 parent e0870e3 commit 96536b0

14 files changed

+37
-7
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ are shown below):
5252

5353
```yaml
5454
# Go language SDK version number
55-
golang_version: '1.23.5'
55+
golang_version: '1.24.2'
5656

5757
# Mirror to download the Go language SDK redistributable package from
5858
golang_mirror: 'https://storage.googleapis.com/golang'
@@ -73,8 +73,11 @@ The following versions of Go language SDK are supported without any additional
7373
configuration (for other versions follow the Advanced Configuration
7474
instructions):
7575
76+
* `1.24.2`
7677
* `1.24.1`
7778
* `1.24.0`
79+
* `1.23.8`
80+
* `1.23.7`
7881
* `1.23.6`
7982
* `1.23.5`
8083
* `1.23.4`

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# code: language=ansible
22
---
33
# Go language SDK version number
4-
golang_version: '1.24.1'
4+
golang_version: '1.24.2'
55

66
# Mirror to download the Go language SDK redistributable package from
77
golang_mirror: 'https://storage.googleapis.com/golang'

molecule/default/tests/test_role.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44

55
@pytest.mark.parametrize('name,pattern', [
6-
('GOROOT', '^/opt/go/1.24.1$'),
6+
('GOROOT', '^/opt/go/1.24.2$'),
77
('GOPATH', '^/root/workspace-go$'),
8-
('PATH', '^(.+:)?/opt/go/1.24.1/bin(:.+)?$'),
8+
('PATH', '^(.+:)?/opt/go/1.24.2/bin(:.+)?$'),
99
('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$')
1010
])
1111
def test_go_env(host, name, pattern):

molecule/ubuntu-max-go-eol/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
roles:
77
- role: ansible-role-golang
8-
golang_version: '1.22.11'
8+
golang_version: '1.23.8'
99
golang_gopath: '$HOME/workspace-go'

molecule/ubuntu-max-go-eol/tests/test_role.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44

55
@pytest.mark.parametrize('name,pattern', [
6-
('GOROOT', '^/opt/go/1.22.11$'),
6+
('GOROOT', '^/opt/go/1.23.8$'),
77
('GOPATH', '^/root/workspace-go$'),
8-
('PATH', '^(.+:)?/opt/go/1.22.11/bin(:.+)?$'),
8+
('PATH', '^(.+:)?/opt/go/1.23.8/bin(:.+)?$'),
99
('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$')
1010
])
1111
def test_go_env(host, name, pattern):

vars/versions/1.23.7-amd64.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '4741525e69841f2e22f9992af25df0c1112b07501f61f741c12c6389fcb119f3'

vars/versions/1.23.7-arm64.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '597acbd0505250d4d98c4c83adf201562a8c812cbcd7b341689a07087a87a541'

vars/versions/1.23.7-armv6l.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: 'c9e9ecd6a8cf1429f1c65d81115c450258258ac65833d95a82d5f4e5ad7d2d7a'

vars/versions/1.23.8-amd64.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '45b87381172a58d62c977f27c4683c8681ef36580abecd14fd124d24ca306d3f'

vars/versions/1.23.8-arm64.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '9d6d938422724a954832d6f806d397cf85ccfde8c581c201673e50e634fdc992'

vars/versions/1.23.8-armv6l.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: 'd14e0bea9fb25344a0460f395880d5589bbcd413ffd5555be48e46c0de084437'

vars/versions/1.24.2-amd64.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '68097bd680839cbc9d464a0edce4f7c333975e27a90246890e9f1078c7e702ad'

vars/versions/1.24.2-arm64.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '756274ea4b68fa5535eb9fe2559889287d725a8da63c6aae4d5f23778c229f4b'

vars/versions/1.24.2-armv6l.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# SHA256 sum for the redistributable package
3+
golang_redis_sha256sum: '438d5d3d7dcb239b58d893a715672eabe670b9730b1fd1c8fc858a46722a598a'

0 commit comments

Comments
 (0)