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.
This commit is contained in:
Colin Walters 2022-05-16 12:37:15 -04:00
parent 41b9f8ff97
commit 87cf46bbd9

View File

@ -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