Merge pull request #2158 from bgilbert/testiso

ci: test FCOS PXE and ISO install
This commit is contained in:
OpenShift Merge Robot authored and GitHub committed 2020-07-31 13:52:59 -04:00
commit 2905de89c6
1 file changed
+14
+14
View File
@@ -77,12 +77,26 @@ parallel fcos: {
rmdir insttree rmdir insttree
coreos-assembler fetch coreos-assembler fetch
coreos-assembler build coreos-assembler build
coreos-assembler buildextend-metal
coreos-assembler buildextend-metal4k
coreos-assembler buildextend-live
# Install the tests # Install the tests
make -C tests/kolainst install make -C tests/kolainst install
""") """)
} }
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}") fcosKola(cosaDir: "${env.WORKSPACE}")
} }
}
}
}, },
buildopts: { buildopts: {
def n = 5 def n = 5