0ee411860a
Adds jobs to test and build go packages. Adds a role to download and install go from the official download page (https://golang.org/dl/). Adds a role to run commands with go e.g build, test, run. Change-Id: Iad2d877fffa2530e9fdeec648a60755a80cf01f4
18 lines
289 B
ReStructuredText
18 lines
289 B
ReStructuredText
Install go
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: go_install_dir
|
|
:default: /usr/local/
|
|
|
|
Directory to install go in.
|
|
|
|
.. zuul:rolevar:: go_version
|
|
:default: 1.13
|
|
|
|
.. zuul:rolevar:: go_os
|
|
:default: {{ ansible_system | lower }}
|
|
|
|
.. zuul:rolevar:: go_arch
|
|
:default: amd64 / 386
|