Commit 56dd4788 authored by godog's avatar godog
Browse files

Add CI

parent be1d237d
stages:
- build_src
- build_pkg
- upload
build:src:
stage: build_src
image: "ai/build:base"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
build:src-stretch:
stage: build_src
image: "ai/build:stretch"
script: "build-dsc"
artifacts:
paths:
- build-deb/
only:
- master
build:pkg:
stage: build_pkg
image: "ai/build:base"
script: "build-deb"
dependencies:
- build:src
artifacts:
paths:
- output-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:jessie:
stage: upload
image: "ai/pkg:base"
script: "upload-packages"
dependencies:
- build:pkg
only:
- master
upload:stretch:
stage: upload
image: "ai/pkg:base"
script: "upload-packages --repository=stretch-ai"
dependencies:
- build:pkg-stretch
only:
- master
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment