test: Add ostree image installation and upgrade test and add a

new parallel stage for ostree test
This commit is contained in:
Xiaofeng Wang 2020-09-01 11:08:00 +08:00 committed by Tom Gundersen
parent 125fce92db
commit c1b0d348d6
4 changed files with 813 additions and 2 deletions

32
schutzbot/Jenkinsfile vendored
View file

@ -209,7 +209,18 @@ pipeline {
}
}
}
stage('F32 OSTree') {
agent { label "f32cloudbase && psi && x86_64" }
steps {
unstash 'fedora32'
run_tests('ostree')
}
post {
always {
preserve_logs('fedora32-ostree')
}
}
}
stage('EL8 Base') {
agent { label "rhel8cloudbase && x86_64 && aws" }
environment {
@ -317,6 +328,18 @@ pipeline {
}
}
}
stage('EL8.3 OSTree') {
agent { label "rhel83cloudbase && psi && x86_64" }
steps {
unstash 'rhel83'
run_tests('ostree')
}
post {
always {
preserve_logs('rhel83-ostree')
}
}
}
}
}
}
@ -375,6 +398,13 @@ void run_tests(test_type) {
)
}
if (test_type == 'ostree') {
sh (
label: "OSTree tests",
script: "test/image-tests/ostree.sh"
)
}
if (test_type == 'integration') {
// Run the qcow2 test.
sh (