Adding d/.gitlab-ci.yml
This commit is contained in:
parent
e7b9753fa7
commit
717e04087f
74
debian/.gitlab-ci.yml
vendored
Normal file
74
debian/.gitlab-ci.yml
vendored
Normal 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
|
Loading…
Reference in a new issue