Commit 945ad0ce authored by Iñaki Malerba's avatar Iñaki Malerba

Add backwards compatible jobs

parent 5f67329a
......@@ -7,6 +7,7 @@ stages:
- clone
- build
- test
- test-backwards
clone:
stage: clone
......@@ -43,3 +44,50 @@ blhc:
piuparts:
extends: .test-piuparts
# 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
......@@ -107,3 +107,70 @@ stages:
- piuparts --scriptsdir /etc/piuparts/scripts --allow-database --warn-on-leftovers-after-purge --hard-link -e ${CHROOT_PATH} ${WORKING_DIR}/*.deb
variables:
GIT_STRATEGY: none
# Backwards compatibility stuff
#
.deprecation-warning: &deprecation-warning
before_script:
- |
echo "--------------------------------------";
echo "------------- Deprecated -------------";
echo "--------------------------------------";
echo;
echo "Please use the new jobs.";
echo "More info on salsa-ci-team/pipeline";
echo "This job will be removed soon";
echo;
echo "--------------------------------------";
echo "------------- Deprecated -------------";
echo "--------------------------------------";
.build-jessie: &build-jessie
extends: .build-package
<<: *deprecation-warning
variables:
RELEASE: 'jessie'
.build-stretch: &build-stretch
extends: .build-package
<<: *deprecation-warning
variables:
RELEASE: 'stretch'
.build-stretch-bpo: &build-stretch-bpo
extends: .build-package
<<: *deprecation-warning
variables:
RELEASE: 'stretch-backports'
.build-unstable: &build-unstable
extends: .build-package
<<: *deprecation-warning
variables:
RELEASE: 'unstable'
.test-lintian-jessie: &test-lintian-jessie
extends: .test-lintian
<<: *deprecation-warning
variables:
RELEASE: 'jessie'
.test-lintian-stretch: &test-lintian-stretch
extends: .test-lintian
<<: *deprecation-warning
variables:
RELEASE: 'stretch'
.test-lintian-stretch-backports: &test-lintian-stretch-backports
extends: .test-lintian
<<: *deprecation-warning
variables:
RELEASE: 'stretch-backports'
.test-lintian-unstable: &test-lintian-unstable
extends: .test-lintian
<<: *deprecation-warning
variables:
RELEASE: 'unstable'
Markdown is supported
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