Skip to content

Commit

Permalink
ci: Run cosa unprivileged
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Sep 8, 2023
1 parent 66f4050 commit 464ba4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ cosaPod(runAsUser: 0, memory: "${mem}Mi", cpu: "${nhosts}") {
}
stage("Build FCOS") {
shwrap("""
coreos-assembler init --force https://github.com/coreos/fedora-coreos-config
chown -R -h builder: .
runuser -u builder -- coreos-assembler init --force https://github.com/coreos/fedora-coreos-config
# include our built rpm-ostree in the image
mkdir -p overrides/rpm
mv *.rpm overrides/rpm
coreos-assembler fetch
coreos-assembler build
runuser -u builder -- coreos-assembler fetch
runuser -u builder -- coreos-assembler build
${env.WORKSPACE}/ci/composepost-checks.sh
""")
}
Expand Down

0 comments on commit 464ba4b

Please sign in to comment.