Skip to content
Snippets Groups Projects
Unverified Commit 42f100b1 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Add a basic test of apertis-pkg-pull-updates functionality


Try to download an update for dash from Buster, given a repository
with a version from Lenny. Don’t try to check when exactly is in the
update, as versions may change, but verify a tarball has been imported.

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 02ea4c05
No related branches found
No related tags found
2 merge requests!167T7556: Add version suffix to newly imported updates,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Pipeline #184241 passed
......@@ -127,6 +127,16 @@ test-package-source-builder:
name: $CI_REGISTRY_IMAGE/${RELEASE}-package-source-builder:${TEST_TAG}
entrypoint: [ "" ]
script:
- git clone https://gitlab.apertis.org/infrastructure/test-data/fixture-dash-non-updated
- ": Verify we can pull updates from Buster"
- cd fixture-dash-non-updated
- apertis-pkg-pull-updates --upstream=buster --mirror https://deb.debian.org/debian
- head -n 10 debian/changelog
- git log --graph --oneline
- pristine-lfs list
- test "$(git tag --list 'debian/*' | wc -l)" = 2
- test "$(pristine-lfs list | wc -l)" = 2
- cd ..
- git clone https://gitlab.apertis.org/infrastructure/test-data/fixture-dash-unmodified
- ": Verify we correctly detect when there are no local changes and use the co0 suffix"
- cd fixture-dash-unmodified
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment