Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,25 @@ cosaPod {
cp install/usr/bin/coreos-installer /usr/bin/coreos-installer
""")

cosaBuild(overlays: ["install"])
// Don't run tests until all artifacts are built.
stage("Build") {
cosaBuild(skipKola: true, overlays: ["install"])
}

stage("Build metal+live") {
stage("Build artifacts") {
shwrap("cd /srv/coreos && cosa osbuild metal metal4k live")
// Test metal with an uncompressed image and metal4k with a
// compressed one
shwrap("cd /srv/coreos && cosa compress --fast --artifact=metal4k")
}
stage("Test ISO") {

stage("Kola") {
// No need to run the iso-live-login/iso-as-disk scenarios
kolaTestIso(
extraArgs: "--denylist-test iso-as-disk.* --denylist-test iso-live-login.*"
kola(
extraArgs: "--denylist-test iso.iso-as-disk* --denylist-test iso.iso-live-login*"
Comment thread
nikita-dubrovskii marked this conversation as resolved.
)
}

stage("Image tests") {
// Update the perms of the generated ISO so our tests can modify in place.
shwrap("find /srv/coreos/builds/ -name '*.iso' | xargs chmod -v 666")
Expand Down
Loading