Go Jobs

golang-go

Base job for go operations

Responds to these variables:

go_command
Default: build

Command to pass to go.

go_package_dir

Path to go package to test

go_install_dir
Default: /usr/local/

Path to install go in

go_version
Default: 1.13

The version of go to use.

go_os
Default: {{ ansible_system | lower }}

OS to use when choosing go version.

go_arch
Default: amd64 / 386

Architecture to use when choosing go version

zuul_work_dir
Default: {{ zuul.project.src_dir }}

Path to operate in.

golang-go-test

Base job for go operations

Responds to these variables:

go_command
Default: build

Command to pass to go.

go_package_dir

Path to go package to test

go_install_dir
Default: /usr/local/

Path to install go in

go_version
Default: 1.13

The version of go to use.

go_os
Default: {{ ansible_system | lower }}

OS to use when choosing go version.

go_arch
Default: amd64 / 386

Architecture to use when choosing go version

zuul_work_dir
Default: {{ zuul.project.src_dir }}

Path to operate in.

golangci-lint

Run golangci-lint on a Go project