Skip to content

Commit

Permalink
ci: Compress images once, use explicit scenario list
Browse files Browse the repository at this point in the history
This is done in the RHCOS pipeline and will be done soon in FCOS
coreos/fedora-coreos-pipeline#218

Also switch to explicit scenario list as another workaround
for coreos/coreos-assembler#1365
  • Loading branch information
cgwalters committed Apr 17, 2020
1 parent cb23f6f commit 1dd9b0b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ cosaPod(buildroot: true) {
stage("Build metal+live") {
shwrap("cd /srv/fcos && cosa build metal")
shwrap("cd /srv/fcos && cosa buildextend-metal4k")
// Compress once
shwrap("cd /srv/fcos && cosa buildextend-live")
shwrap("cd /srv/fcos && cosa compress --artifact=metal --artifact=metal4k")
}
stage("Test ISO") {
shwrap("cd /srv/fcos && kola testiso -S")
shwrap("cd /srv/fcos && kola testiso -SP --qemu-native-4k")
// No need to run the iso-live-login scenario (in theory, and also right
// now it's buggy)
shwrap("cd /srv/fcos && kola testiso -S --scenarios pxe-install,iso-install")
shwrap("cd /srv/fcos && kola testiso -S --scenarios iso-install --qemu-native-4k")
}
}

0 comments on commit 1dd9b0b

Please sign in to comment.