Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
47ddf4d6
Commit
47ddf4d6
authored
Feb 05, 2021
by
Jacob Vosmaer
Committed by
Rémy Coutable
Feb 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add workhorse CI jobs
parent
4b76d7e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+1
-0
.gitlab/ci/workhorse.gitlab-ci.yml
.gitlab/ci/workhorse.gitlab-ci.yml
+36
-0
No files found.
.gitlab/ci/rules.gitlab-ci.yml
View file @
47ddf4d6
...
...
@@ -112,6 +112,7 @@
.workhorse-patterns
:
&workhorse-patterns
-
"
GITLAB_WORKHORSE_VERSION"
-
"
workhorse/**/*"
-
"
.gitlab/ci/workhorse.gitlab-ci.yml"
.yaml-lint-patterns
:
&yaml-lint-patterns
-
"
.gitlab-ci.yml"
...
...
.gitlab/ci/workhorse.gitlab-ci.yml
View file @
47ddf4d6
...
...
@@ -8,3 +8,39 @@ workhorse:
-
git checkout .
-
scripts/update-workhorse check
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment