test/ostree: add a second ostree test to test new features
We are gaining new ostree features that overlap to a great deal with the current ones. We still need to keep the current features for backwards compatibility, so add another test run that does the same but using new API. For now this simply uses the `url` parameter rather than `parent` to build update commits. Further changes will be made in follow-up commits. Use `curl` rather than `composer-cli` as we have a chicken-and-egg problem where we can't land this feature without tests, but `composer-cli` can't add support for it without having it first in `composer`.
This commit is contained in:
parent
687ac7f615
commit
e77483f007
2 changed files with 546 additions and 0 deletions
69
schutzbot/Jenkinsfile
vendored
69
schutzbot/Jenkinsfile
vendored
|
|
@ -301,6 +301,23 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('F32 New OSTree') {
|
||||
when {
|
||||
expression {
|
||||
return env.BUILD_CAUSE != 'cron';
|
||||
}
|
||||
}
|
||||
|
||||
agent { label "f32cloudbase && psi && x86_64" }
|
||||
steps {
|
||||
run_tests('ostree-ng')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('fedora32-ostree-ng')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('F32: koji-osbuild') {
|
||||
when {
|
||||
expression {
|
||||
|
|
@ -406,6 +423,23 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('F33 New OSTree') {
|
||||
when {
|
||||
expression {
|
||||
return env.BUILD_CAUSE != 'cron';
|
||||
}
|
||||
}
|
||||
|
||||
agent { label "f33cloudbase && psi && x86_64" }
|
||||
steps {
|
||||
run_tests('ostree-ng')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('fedora33-ostree-ng')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('F33 aarch64 Base') {
|
||||
when {
|
||||
expression {
|
||||
|
|
@ -547,6 +581,23 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('EL8 New OSTree') {
|
||||
when {
|
||||
expression {
|
||||
return env.BUILD_CAUSE != 'cron';
|
||||
}
|
||||
}
|
||||
|
||||
agent { label "rhel8cloudbase && psi && x86_64" }
|
||||
steps {
|
||||
run_tests('ostree-ng')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('rhel8-ostree-ng')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('EL8: koji-osbuild') {
|
||||
when {
|
||||
expression {
|
||||
|
|
@ -631,6 +682,17 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('EL8.4 New OSTree') {
|
||||
agent { label "rhel84cloudbase && psi && x86_64" }
|
||||
steps {
|
||||
run_tests('ostree-ng')
|
||||
}
|
||||
post {
|
||||
always {
|
||||
preserve_logs('rhel84-ostree-ng')
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('CS8 Base') {
|
||||
when {
|
||||
expression {
|
||||
|
|
@ -792,6 +854,13 @@ void run_tests(test_type) {
|
|||
)
|
||||
}
|
||||
|
||||
if (test_type == 'ostree-ng') {
|
||||
sh (
|
||||
label: "New OSTree tests",
|
||||
script: "/usr/libexec/tests/osbuild-composer/ostree-ng.sh"
|
||||
)
|
||||
}
|
||||
|
||||
if (test_type == 'integration') {
|
||||
// Run Koji tests.
|
||||
sh (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue