From: Colin Walters Date: Mon, 16 May 2022 16:37:15 +0000 (-0400) Subject: ci: Drop all `runAsUser: 0` in builds X-Git-Tag: archive/raspbian/2022.4-1+rpi1^2~9^2^2~17^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=87cf46bbd92f9d4b7159b4baed247d3bef548384;p=ostree.git ci: Drop all `runAsUser: 0` in builds This triggers the new git warning; I think this is only here because long ago we used coreos-assembler as a buildroot, but that's long since fixed. --- diff --git a/.cci.jenkinsfile b/.cci.jenkinsfile index 213d23c9..2a64109a 100644 --- a/.cci.jenkinsfile +++ b/.cci.jenkinsfile @@ -3,7 +3,7 @@ stage("Build") { parallel normal: { def n = 5 - buildPod(runAsUser:0, memory: "2Gi", cpu: "${n}") { + buildPod(memory: "2Gi", cpu: "${n}") { checkout scm stage("Core build") { shwrap(""" @@ -39,7 +39,7 @@ parallel normal: { }, // A minimal build, helps test our build options minimal: { - buildPod(runAsUser:0) { + buildPod() { checkout scm shwrap(""" git submodule update --init @@ -54,7 +54,7 @@ minimal: { } }, codestyle: { - buildPod(runAsUser:0) { + buildPod() { checkout scm shwrap(""" # Jenkins by default only fetches the branch it's testing. Explicitly fetch main