Compare commits

...

2 Commits

2 changed files with 24 additions and 16 deletions

39
Jenkinsfile vendored
View File

@ -4,24 +4,31 @@ pipeline {
agent any
options { disableConcurrentBuilds() }
stages {
stage('Unit Tests (buster)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn buster'
stage('Unit Tests') {
parallel {
stage('Unit Tests (buster)') {
agent any
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn buster'
}
}
}
}
}
stage('Unit Tests (bullseye)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bullseye'
stage('Unit Tests (bullseye)') {
agent any
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bullseye'
}
}
}
}
}
stage('Unit Tests (bookworm)') {
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
stage('Unit Tests (bookworm)') {
agent any
steps {
catchError(stageResult: 'FAILURE') {
sh 'sudo ./test-nspawn bookworm'
}
}
}
}
}

View File

@ -74,6 +74,7 @@
- name: install psycopg2-binary
pip:
name: psycopg2-binary
version: 2.8.6
virtualenv: "{{venv_py3}}"
- name: install pytest