From f94cc9ca305658e4256fbe499893ef8c43b30750 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 8 Sep 2023 20:40:07 -0400 Subject: [PATCH] ci: Run cosa unprivileged As a workaround for a virtiofs bug: https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/197 xref coreos/coreos-assembler#3428 (comment) Just like in https://github.com/coreos/rpm-ostree/pull/4585. --- .cci.jenkinsfile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile index 82e2d1ac84..ea69a83153 100644 --- a/.cci.jenkinsfile +++ b/.cci.jenkinsfile @@ -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}")