summaryrefslogtreecommitdiff
path: root/.pipeline/blubber.yaml
blob: ebf374dbfa188dd43137280c64a2e41ff16784aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: v3
base: docker-registry.wikimedia.org/wikimedia-stretch:latest
lives:
  in: /go/src/gerrit.wikimedia.org/r/blubber

variants:
  build:
    base: golang:1.10-stretch
  test:
    includes: [build]
    runs: { insecurely: true }
    builder:
      command: [go, get, -u, golang.org/x/lint/golint]
    entrypoint: [make, test]
  prep:
    includes: [build]
    builder:
      command: [make, blubberoid]
      requirements: [.]
  production:
    copies: prep
    entrypoint: [./blubberoid]