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:
1 parent
41b9f8ff97
commit
87cf46bbd9
1 file changed
+3
-3
+3
-3
@@ -3,7 +3,7 @@
|
|||||||
stage("Build") {
|
stage("Build") {
|
||||||
parallel normal: {
|
parallel normal: {
|
||||||
def n = 5
|
def n = 5
|
||||||
buildPod(runAsUser:0, memory: "2Gi", cpu: "${n}") {
|
buildPod(memory: "2Gi", cpu: "${n}") {
|
||||||
checkout scm
|
checkout scm
|
||||||
stage("Core build") {
|
stage("Core build") {
|
||||||
shwrap("""
|
shwrap("""
|
||||||
@@ -39,7 +39,7 @@ parallel normal: {
|
|||||||
},
|
},
|
||||||
// A minimal build, helps test our build options
|
// A minimal build, helps test our build options
|
||||||
minimal: {
|
minimal: {
|
||||||
buildPod(runAsUser:0) {
|
buildPod() {
|
||||||
checkout scm
|
checkout scm
|
||||||
shwrap("""
|
shwrap("""
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
@@ -54,7 +54,7 @@ minimal: {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
codestyle: {
|
codestyle: {
|
||||||
buildPod(runAsUser:0) {
|
buildPod() {
|
||||||
checkout scm
|
checkout scm
|
||||||
shwrap("""
|
shwrap("""
|
||||||
# Jenkins by default only fetches the branch it's testing. Explicitly fetch main
|
# Jenkins by default only fetches the branch it's testing. Explicitly fetch main
|
||||||
|
|||||||
Reference in new issue
Block a user