Compare commits
1 Commits
8bd3b52b51
...
8949854051
Author | SHA1 | Date |
---|---|---|
Frédéric Péters | 8949854051 |
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue