ci: run upgrade tests
COSA is where the bits that translate OSTree commits to disk images
live, so it's important that we have upgrade testing happening in CI
here. This will allow us to catch earlier some regressions that break
updates.
While we're there, parallelize things a bit more.
@@ -18,20 +18,25 @@ coreos.pod([image: 'registry.fedoraproject.org/fedora:31', runAsUser: 0, kvm: tr
make unittest
""")
},
- fcos: {
+ build: {
coreos.shwrap("chown builder: /srv")
// just split into separate invocations to make it easier to see where it fails
cosa_cmd("init https://github.com/coreos/fedora-coreos-config")
cosa_cmd("fetch")
cosa_cmd("build")
+ }
+ parallel kola: {
try {
- cosa_cmd("kola run -- --parallel 8")
+ cosa_cmd("kola run --parallel 8")
+ cosa_cmd("kola --upgrades")
} finally {
coreos.shwrap("cd /srv && tar -cf - tmp/kola/ | xz -c9 > ${env.WORKSPACE}/kola.tar.xz")
archiveArtifacts allowEmptyArchive: true, artifacts: 'kola.tar.xz'
}
// sanity check kola actually ran and dumped its output in tmp/
coreos.shwrap("test -d /srv/tmp/kola")
+ },
+ buildextend: {
cosa_cmd("buildextend-metal")
cosa_cmd("buildextend-live")
cosa_cmd("buildextend-openstack")
