2021-02-05 07:09:31 -05:00
|
|
|
workhorse:verify:
|
|
|
|
extends: .workhorse:rules:workhorse
|
2021-04-14 11:09:04 -04:00
|
|
|
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.16
|
2021-02-05 07:09:31 -05:00
|
|
|
stage: test
|
|
|
|
needs: []
|
|
|
|
script:
|
2021-03-11 13:09:23 -05:00
|
|
|
- make -C workhorse # test build
|
2021-02-05 07:09:31 -05:00
|
|
|
- make -C workhorse verify
|
|
|
|
|
|
|
|
.workhorse:test:
|
|
|
|
extends: .workhorse:rules:workhorse
|
|
|
|
services:
|
|
|
|
- name: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
|
|
|
|
# Disable the hooks so we don't have to stub the GitLab API
|
|
|
|
command: ["/usr/bin/env", "GITALY_TESTING_NO_GIT_HOOKS=1", "/scripts/process-wrapper"]
|
|
|
|
alias: gitaly
|
|
|
|
variables:
|
|
|
|
GITALY_ADDRESS: "tcp://gitaly:8075"
|
|
|
|
stage: test
|
|
|
|
needs: []
|
|
|
|
script:
|
|
|
|
- go version
|
|
|
|
- apt-get update && apt-get -y install libimage-exiftool-perl
|
|
|
|
- make -C workhorse test
|
|
|
|
|
|
|
|
workhorse:test using go 1.15:
|
|
|
|
extends: .workhorse:test
|
|
|
|
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.15
|
2021-04-14 11:09:04 -04:00
|
|
|
|
|
|
|
workhorse:test using go 1.16:
|
|
|
|
extends: .workhorse:test
|
|
|
|
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.16
|