From: Dusty Mabe Date: Fri, 16 Jan 2026 02:48:43 +0000 (-0500) Subject: ci: drop running COSA as UID 0 X-Git-Tag: archive/raspbian/2026.2-1+rpi1^2~9^2~1^2~11^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c7265cced3176a239cce2c4ee456ece2797b6500;p=ostree.git ci: drop running COSA as UID 0 With some changes made upstream to COSA [1] and a few fixups here to make sure the directory tree for our built software doesn't have setgid files we shouldn't need to runAsUser: 0 any longer. [1] https://github.com/coreos/coreos-assembler/pull/4410 --- diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile index 1bbe6755..785a9f60 100644 --- a/.cci.jenkinsfile +++ b/.cci.jenkinsfile @@ -49,11 +49,13 @@ stage("Build") { // Build FCOS and run kola tests. // There's some parallelization in testiso up to 8G, add 1G for overhead -cosaPod(runAsUser: 0, memory: "9Gi", cpu: "4") { +cosaPod(memory: "9Gi", cpu: "4") { stage("Build FCOS") { checkout scm unstash 'build' shwrap(""" + # Make sure none of the files in the unstashed build are setgid + chmod -c -R g-s installed/ # Move the bits into the cosa pod (but only if major versions match) buildroot_id=\$(cat installed/buildroot-id) osver=\$(. /usr/lib/os-release && echo \$VERSION_ID)