.gitlab-ci.yml 563 Bytes
Newer Older
godog's avatar
Add CI  
godog committed
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
stages:
  - build_src
  - build_pkg
  - upload

build:src-stretch:
  stage: build_src
  image: "ai/build:stretch"
  script: "build-dsc"
  artifacts:
    paths:
      - build-deb/
  only:
    - master

build:pkg-stretch:
  stage: build_pkg
  image: "ai/build:stretch"
  script: "build-deb"
  dependencies:
    - build:src-stretch
  artifacts:
    paths:
      - output-deb/
  only:
    - master

upload:stretch:
  stage: upload
  image: "ai/pkg:base"
  script: "upload-packages --repository=stretch-ai"
  dependencies:
    - build:pkg-stretch
  only:
    - master