From: Benjamin Gilbert Date: Fri, 31 Jul 2020 10:57:58 +0000 (-0400) Subject: ci: test FCOS PXE and ISO install X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~9^2~14^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5d7f897908dbf7f471ddfdbd6c29a84ac6bc0bda;p=ostree.git ci: test FCOS PXE and ISO install Make sure we don't break the FCOS live image. PXE is probably sufficient, but also test the ISO image for good measure. --- diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile index 2a4c7288..1670ede2 100644 --- a/.cci.jenkinsfile +++ b/.cci.jenkinsfile @@ -77,11 +77,25 @@ parallel fcos: { rmdir insttree coreos-assembler fetch coreos-assembler build + coreos-assembler buildextend-metal + coreos-assembler buildextend-metal4k + coreos-assembler buildextend-live # Install the tests make -C tests/kolainst install """) } - fcosKola(cosaDir: "${env.WORKSPACE}") + stage("Test") { + parallel metal: { + try { + shwrap("cd /srv/fcos && 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") + archiveArtifacts allowEmptyArchive: true, artifacts: 'kola-testiso*.tar.xz' + } + }, kola: { + fcosKola(cosaDir: "${env.WORKSPACE}") + } + } } }, buildopts: {