Welcome to mirror list, hosted at ThFree Co, Russian Federation.

workhorse.gitlab-ci.yml « ci « .gitlab - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba4523f3bf75cd8b39d08552a736681bc8cd38b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
workhorse:verify:
  extends: .workhorse:rules:workhorse
  image: ${GITLAB_DEPENDENCY_PROXY}golang:1.16
  stage: test
  needs: []
  script:
    - make -C workhorse # test build
    - 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

workhorse:test using go 1.16:
  extends: .workhorse:test
  image: ${GITLAB_DEPENDENCY_PROXY}golang:1.16