Commit e6019b97 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'jv-workhorse-ci-2' into 'master'

Add workhorse CI jobs

See merge request gitlab-org/gitlab!53355
parents 7f2b4ff1 47ddf4d6
...@@ -112,6 +112,7 @@ ...@@ -112,6 +112,7 @@
.workhorse-patterns: &workhorse-patterns .workhorse-patterns: &workhorse-patterns
- "GITLAB_WORKHORSE_VERSION" - "GITLAB_WORKHORSE_VERSION"
- "workhorse/**/*" - "workhorse/**/*"
- ".gitlab/ci/workhorse.gitlab-ci.yml"
.yaml-lint-patterns: &yaml-lint-patterns .yaml-lint-patterns: &yaml-lint-patterns
- ".gitlab-ci.yml" - ".gitlab-ci.yml"
......
...@@ -8,3 +8,39 @@ workhorse: ...@@ -8,3 +8,39 @@ workhorse:
- git checkout . - git checkout .
- scripts/update-workhorse check - scripts/update-workhorse check
- make -C workhorse - make -C workhorse
workhorse:verify:
extends: .workhorse:rules:workhorse
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.15
stage: test
needs: []
script:
- 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.13:
extends: .workhorse:test
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.13
workhorse:test using go 1.14:
extends: .workhorse:test
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.14
workhorse:test using go 1.15:
extends: .workhorse:test
image: ${GITLAB_DEPENDENCY_PROXY}golang:1.15
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment