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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
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
# debsums fails to understand remove-on-upgrade, see https://bugs.debian.org/993714
piuparts:
allow_failure: true
.test-upgrade:
stage: test
image: $SALSA_CI_IMAGES_GENERIC_TESTS
before_script:
- apt-get install -qy devscripts
- dpkg --add-architecture i386
- dpkg --add-architecture arm64
- mkdir -p pkg-config
- ( cd pkg-config; debsnap -v --binary pkg-config 0.29.2-1 -d . -a amd64 )
- mkdir -p pkgconf
- test -z "$PKGCONF_VERSION" || (
cd pkgconf;
debsnap -v --binary pkgconf $PKGCONF_VERSION -d . -a amd64;
debsnap -v --binary libpkgconf3 $PKGCONF_VERSION -d . -a amd64
)
after_script:
- ls -l /usr/bin/*pkg*conf*
variables:
GIT_STRATEGY: none
needs:
- job: build
artifacts: true
test-direct-upgrade:
extends: .test-upgrade
script:
- apt-get install -qy ./pkg-config/*.deb
- apt-get install -qy ${WORKING_DIR}/*.deb
test-gradual-upgrade:
extends: .test-upgrade
parallel:
matrix:
- PKGCONF_VERSION:
- 1.7.4~git20210206+dcf529b-3
- 1.8.0-1
script:
- apt-get install -qy ./pkg-config/*.deb
- apt-get install -qy ./pkgconf/*.deb
- apt-get install -qy ${WORKING_DIR}/*.deb
test-pkgconf-upgrade:
extends: .test-upgrade
parallel:
matrix:
- PKGCONF_VERSION:
- 1.7.4~git20210206+dcf529b-3
- 1.8.0-1
script:
- apt-get install -qy ./pkgconf/*.deb
- apt-get install -qy ${WORKING_DIR}/*.deb
|