Skip to content

Commit

Permalink
ci: Run cosa unprivileged
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Sep 9, 2023
1 parent fc5aef6 commit f94cc9c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,15 @@ cosaPod(runAsUser: 0, memory: "9Gi", cpu: "4") {
rsync -rlv installed/rootfs/ /
fi
rsync -rlv installed/tests/ /
coreos-assembler init --force https://github.com/coreos/fedora-coreos-config
mkdir -p overrides/rootfs
runuser -u builder -- coreos-assembler init --force https://github.com/coreos/fedora-coreos-config
# And override the on-host bits
mv installed/rootfs/* overrides/rootfs/
rm installed -rf
coreos-assembler fetch
coreos-assembler build
coreos-assembler buildextend-metal
coreos-assembler buildextend-metal4k
coreos-assembler buildextend-live --fast

runuser -u builder -- coreos-assembler fetch
runuser -u builder -- coreos-assembler build
runuser -u builder -- coreos-assembler buildextend-metal
runuser -u builder -- coreos-assembler buildextend-metal4k
runuser -u builder -- coreos-assembler buildextend-live --fast
""")
}
kola(cosaDir: "${env.WORKSPACE}")
Expand Down

0 comments on commit f94cc9c

Please sign in to comment.