Commit a37987e6 authored by Dominic Hargreaves's avatar Dominic Hargreaves

Attempt to inject some magic into autopkgtest

parent 8dd6099a
Pipeline #50061 failed with stages
in 87 minutes and 14 seconds
---
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
variables:
RELEASE: 'unstable'
build:
extends: .build-package
reprotest:
extends: .test-reprotest
lintian:
extends: .test-lintian
autopkgtest:
extends: .test-autopkgtest
image: registry.salsa.debian.org/salsa-ci-team/images/autopkgtest
script:
- wget --progress=dot:giga https://salsa.debian.org/salsa-ci-team/autopkgtest-lxc/-/jobs/artifacts/master/raw/artifacts/lxc.tar?job=${RELEASE} -O lxc.tar
- mkdir ${SCI_LXC_PATH} && tar xf lxc.tar -C ${SCI_LXC_PATH}
- sed -i "s@salsa-ci-team/autopkgtest-lxc@${CI_PROJECT_PATH}@" ${SCI_LXC_PATH}/autopkgtest-${RELEASE}-amd64/config
- |
cat >/etc/lxc/lxc.conf <<EOT
lxc.lxcpath=${SCI_LXC_PATH}
EOT
- umount -R /sys/fs/cgroup && mount -a
- /etc/init.d/lxc-net start
- /etc/init.d/lxc start
- debci_autopkgtest_args="--setup-commands \"echo 'deb http://perl.debian.net/test-repo/ perl-5.30 main' > /etc/apt/sources.list.d/perl-test.list && curl http://perl.debian.net/test-repo.asc | apt-key add - && apt-get update\"" debci localtest $CI_PROJECT_DIR/debian/output/*.changes --suite ${RELEASE} || [ $? -eq 8 ]
variables:
GIT_STRATEGY: none
SCI_LXC_PATH: ${CI_PROJECT_DIR}/lxc
blhc:
extends: .test-blhc
piuparts:
extends: .test-piuparts
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