Compare commits

..

1 Commits

Author SHA1 Message Date
Frédéric Péters 8949854051 ci: test against trixie (#78771)
gitea/publik-devinst/pipeline/head Something is wrong with the build of this commit Details
2023-06-20 15:00:44 +02:00
2 changed files with 8 additions and 8 deletions

14
Jenkinsfile vendored
View File

@ -4,13 +4,6 @@ pipeline {
agent any
options { disableConcurrentBuilds() }
stages {
stage('Unit Tests (bookworm)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
}
}
}
stage('Unit Tests (trixie)') {
steps {
catchError(stageResult: 'FAILURE') {
@ -18,6 +11,13 @@ pipeline {
}
}
}
stage('Unit Tests (bookworm)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
}
}
}
}
post {
always {

View File

@ -6,7 +6,7 @@ then
suite=$1
image=publik-devinst-$suite
fs=/var/lib/machines/$image
if [ $suite = trixie]; suite=testing; fi
if [ $suite = trixie]; then suite=testing; fi
test -d $fs || (cd /var/lib/machines && debootstrap --include=systemd-container $suite $image http://deb.debian.org/debian/)
rsync -a --delete . $fs/opt/publik-devinst
systemd-nspawn -x -D $fs /opt/publik-devinst/test-nspawn run-tests