aboutsummaryrefslogtreecommitdiffstats
path: root/.pipeline/config.yaml
blob: 2a83c02196cb783acef5ff9ff8b5ca5a755b4185 (plain) (blame)
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
33
34
35
36
pipelines:
  publish:
    blubberfile: blubber.yaml
    stages:
      - name: dev
        build: dev
        publish:
          image:
            tags: [dev]
  wmf-publish:
    blubberfile: blubber.yaml
    fetch:
      shallow: true
      depth: 50
      submodules: true
    stages:
      - name: build
        build:
          variant: production
          excludes:
            - .git
            - node_modules

      - name: publish
        publish:
          image:
            id: "${build.imageID}"
            name: mediawiki
            tags: [ "${setup.branch}" ]

      - name: update-train-versions
        trigger:
          name: update-train-versions
          parameters:
            TRAIN_VERSION: "${setup.branch}"
            IMAGE_TAG: "${publish.imageTag}"