summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-09-24 19:39:33 +0200
committerHelmut Grohne <helmut@subdivi.de>2023-09-24 21:45:13 +0200
commitc63eb6291986dd813a74e76fdccf06900669c957 (patch)
treec98832fe621676c27f3c3174e415ca1f130ea47d /.gitlab-ci.yml
parent4252a8c46af88baf8949da84ab21e8f79585a2f4 (diff)
downloaddebvm-c63eb6291986dd813a74e76fdccf06900669c957.tar.gz
make autopkgtest non-flaky
When passing an empty release to ./tests/create-and-run.sh, we now use the host's apt sources and pinning. This is an additional gitlab-ci test and replaces the previous autopkgtest involving unstable, which thus becomes non-flaky.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec5bc48..188d919 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,13 @@ release_test:
- apt-get --no-install-recommends --yes install curl e2fsprogs genext2fs mmdebstrap openssh-client qemu-kvm dpkg-dev
- PATH=$(pwd)/bin:$PATH ./tests/create-and-run.sh $(dpkg --print-architecture) "$RELEASE"
+debci_test:
+ script:
+ - apt-get update
+ - apt-get dist-upgrade --yes
+ - apt-get --no-install-recommends --yes install e2fsprogs genext2fs mmdebstrap openssh-client qemu-kvm dpkg-dev
+ - PATH=$(pwd)/bin:$PATH ./tests/create-and-run.sh $(dpkg --print-architecture) ""
+
arch_test:
parallel:
matrix: