Skip to content

Commit a980178

Browse files
authored
Updated Go to 1.10 (#31)
1.10 will now be installed by default.
1 parent 7210213 commit a980178

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ are shown below):
4343

4444
```yaml
4545
# Go language SDK version number
46-
golang_version: '1.9.4'
46+
golang_version: '1.10'
4747

4848
# Mirror to download the Go language SDK redistributable package from
4949
golang_mirror: 'https://storage.googleapis.com/golang'
@@ -64,6 +64,7 @@ The following versions of Go language SDK are supported without any additional
6464
configuration (for other versions follow the Advanced Configuration
6565
instructions):
6666
67+
* `1.10`
6768
* `1.9.4`
6869
* `1.9.3`
6970
* `1.9.2`

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Go language SDK version number
3-
golang_version: '1.9.4'
3+
golang_version: '1.10'
44

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

tests/test_role.py

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

88

99
@pytest.mark.parametrize('name,pattern', [
10-
('GOROOT', '^/opt/go/1.9.4$'),
10+
('GOROOT', '^/opt/go/1.10$'),
1111
('GOPATH', '^/root/workspace-go$'),
12-
('PATH', '^(.+:)?/opt/go/1.9.4/bin(:.+)?$'),
12+
('PATH', '^(.+:)?/opt/go/1.10/bin(:.+)?$'),
1313
('PATH', '^(.+:)?/root/workspace-go/bin(:.+)?$')
1414
])
1515
def test_go_env(Command, name, pattern):

vars/versions/1.10.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: 'b5a64335f1490277b585832d1f6c7f8c6c11206cba5cd3f771dcb87b98ad1a33'

0 commit comments

Comments
 (0)