ci: Fix ISO testing
authorColin Walters <walters@verbum.org>
Sat, 1 Aug 2020 18:14:30 +0000 (18:14 +0000)
committerColin Walters <walters@verbum.org>
Sun, 2 Aug 2020 12:55:35 +0000 (12:55 +0000)
Regression from
https://github.com/ostreedev/ostree/pull/2158/commits/5d7f897908dbf7f471ddfdbd6c29a84ac6bc0bda

I'm not sure how (or if) this passed before, the job logs have
been GC'd.

This is a bit confusing but basically right now ostree/rpm-ostree's
CI jobs don't use `/srv/fcos` - it might make sense to port
these to `fcosBuild` but that needs investigation.

.cci.jenkinsfile

index 1670ede295001ff7dbf34aa2146aa1193f0b9467..79425a494a36125f8fdc369de35ea22cdb2cf5e1 100644 (file)
@@ -79,7 +79,7 @@ parallel fcos: {
         coreos-assembler build
         coreos-assembler buildextend-metal
         coreos-assembler buildextend-metal4k
-        coreos-assembler buildextend-live
+        coreos-assembler buildextend-live --fast
         # Install the tests
         make -C tests/kolainst install
       """)
@@ -87,9 +87,9 @@ parallel fcos: {
     stage("Test") {
       parallel metal: {
         try {
-          shwrap("cd /srv/fcos && kola testiso -S --scenarios pxe-install,iso-offline-install --output-dir tmp/kola-testiso-metal")
+          shwrap("kola testiso -S --scenarios pxe-install,iso-offline-install --output-dir tmp/kola-testiso-metal")
         } finally {
-          shwrap("cd /srv/fcos && tar -cf - tmp/kola-testiso-metal/ | xz -c9 > ${env.WORKSPACE}/kola-testiso-metal.tar.xz")
+          shwrap("tar -cf - tmp/kola-testiso-metal/ | xz -c9 > ${env.WORKSPACE}/kola-testiso-metal.tar.xz")
           archiveArtifacts allowEmptyArchive: true, artifacts: 'kola-testiso*.tar.xz'
         }
       }, kola: {