diff options
author | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2022-10-01 21:18:24 +0200 |
---|---|---|
committer | Andrej Shadura <andrew.shadura@collabora.co.uk> | 2022-10-01 23:22:12 +0200 |
commit | 76339df99dcd8196ca14ac36b40a129c950b1172 (patch) | |
tree | 3f4e6a412ec1ce6080650986613250af77900573 /debian/gitlab-ci.yml | |
parent | b5c6a65490f2dcb560bcf935a654dd1c89eee465 (diff) |
Test that a package can be upgraded from old pkgconf and pkg-config
Gbp-Dch: ignore
Diffstat (limited to 'debian/gitlab-ci.yml')
-rw-r--r-- | debian/gitlab-ci.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000..435d88f --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,42 @@ +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 + +.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 + - ( cd pkgconf; debsnap -v --binary pkgconf 1.8.0-1 -d . -a amd64 ) + - ( cd pkgconf; debsnap -v --binary libpkgconf3 1.8.0-1 -d . -a amd64 ) + after_script: + - ls -l /usr/bin/*pkg*conf* + variables: + GIT_STRATEGY: none + needs: + - job: build + artifacts: true + +test-gradual-upgrade: + extends: .test-upgrade + script: + - apt-get install -qy ./pkg-config/*.deb + - apt-get install -qy ./pkgconf/*.deb + - apt-get install -qy ${WORKING_DIR}/*.deb + +test-direct-upgrade: + extends: .test-upgrade + script: + - apt-get install -qy ./pkg-config/*.deb + - apt-get install -qy ${WORKING_DIR}/*.deb + +test-pkgconf-upgrade: + extends: .test-upgrade + script: + - apt-get install -qy ./pkgconf/*.deb + - apt-get install -qy ${WORKING_DIR}/*.deb |