Compare commits

...

1 commit
master ... CI

Author SHA1 Message Date
Jan Wagner 717e04087f Adding d/.gitlab-ci.yml 2019-05-12 21:10:01 +02:00

74
debian/.gitlab-ci.yml vendored Normal file
View file

@ -0,0 +1,74 @@
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
variables:
RELEASE: 'stretch-backports'
stages:
- clone
- build
- test
- test-backwards
clone:
stage: clone
image: debian:unstable
before_script:
- echo "I need to skip before_script"
artifacts:
paths:
- repo_test
script:
- apt-get update && apt-get install git -y
- git clone https://gitlab.uncompleted.org/debian/monitoring-plugins-cyconet.git repo_test
before_script:
- cd repo_test
# Backwards compat tests
.dry: &dry
before_script:
- cd repo_test
stage: test-backwards
build-unstable:
extends: .build-unstable
<<: *dry
dependencies:
- clone
build-stretch-backports:
extends: .build-stretch-bpo
<<: *dry
dependencies:
- clone
build-stretch:
extends: .build-stretch
<<: *dry
dependencies:
- clone
build-jessie:
extends: .build-jessie
<<: *dry
dependencies:
- clone
lintian-unstable:
extends: .test-lintian-unstable
<<: *dry
lintian-stretch-backports:
extends: .test-lintian-stretch-backports
<<: *dry
lintian-stretch:
extends: .test-lintian-stretch
<<: *dry
lintian-jessie:
extends: .test-lintian-jessie
<<: *dry