debian-mirror-gitlab/.gitlab/ci/workhorse.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.2 KiB
YAML
Raw Normal View History

2021-03-11 19:13:27 +05:30
workhorse:verify:
extends: .workhorse:rules:workhorse
2022-11-25 23:54:43 +05:30
image: ${GITLAB_DEPENDENCY_PROXY_ADDRESS}golang:${GO_VERSION}
2021-03-11 19:13:27 +05:30
stage: test
needs: []
script:
2022-11-25 23:54:43 +05:30
- go version
2022-03-02 08:16:31 +05:30
- make -C workhorse # test build
2021-03-11 19:13:27 +05:30
- make -C workhorse verify
.workhorse:test:
extends: .workhorse:rules:workhorse
2022-10-11 01:57:18 +05:30
image: ${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36
2021-03-11 19:13:27 +05:30
variables:
2021-12-11 22:18:48 +05:30
GITALY_ADDRESS: "tcp://127.0.0.1:8075"
2021-03-11 19:13:27 +05:30
stage: test
2021-12-11 22:18:48 +05:30
needs:
- setup-test-env
2022-10-11 01:57:18 +05:30
before_script:
2021-03-11 19:13:27 +05:30
- go version
- apt-get update && apt-get -y install libimage-exiftool-perl
2021-12-11 22:18:48 +05:30
- scripts/gitaly-test-build
2022-10-11 01:57:18 +05:30
script:
2021-03-11 19:13:27 +05:30
- make -C workhorse test
2022-10-11 01:57:18 +05:30
workhorse:test go:
2021-11-11 11:23:49 +05:30
extends: .workhorse:test
2022-10-11 01:57:18 +05:30
parallel:
matrix:
2023-01-13 00:05:48 +05:30
- GO_VERSION: ["1.18", "1.19"]
2022-10-11 01:57:18 +05:30
script:
- make -C workhorse test-coverage
coverage: '/\d+.\d+%/'
artifacts:
paths:
- workhorse/coverage.html
2022-08-13 15:12:31 +05:30
2022-10-11 01:57:18 +05:30
workhorse:test fips:
2022-08-13 15:12:31 +05:30
extends: .workhorse:test
2023-03-17 16:20:25 +05:30
image: registry.gitlab.com/gitlab-org/gitlab-omnibus-builder/ubuntu_20.04_fips:4.0.0
2022-08-13 15:12:31 +05:30
variables:
2023-03-17 16:20:25 +05:30
FIPS_MODE: 1
2022-10-11 01:57:18 +05:30
workhorse:test race:
extends: .workhorse:test
script:
- make -C workhorse test-race