mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-25 21:57:42 +03:00
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.
This commit is contained in:
parent
21c9840d13
commit
5d7f897908
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user