From 87cf46bbd92f9d4b7159b4baed247d3bef548384 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 16 May 2022 12:37:15 -0400 Subject: [PATCH] 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. --- .cci.jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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