ci: request 2G of RAM for compilation
I think the `fork` errors CI is hitting might be due to more stringent memory limit enforcements in OCP4. Let's be more explicit and actually request 2G of RAM. We can adjust from there. (One related thing is CPU requests; it's possible we might need to also make that explicit and in turn adjust the `_smp_mflags` RPM macro, since the default is unlikely to be k8s/cgroups-aware.)
This commit is contained in:
parent
2235fb6c5b
commit
89d79f3505
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
parallel rpms: {
|
parallel rpms: {
|
||||||
cosaPod(buildroot: true, runAsUser: 0) {
|
cosaPod(buildroot: true, runAsUser: 0, memory: "2Gi") {
|
||||||
checkout scm
|
checkout scm
|
||||||
shwrap("""
|
shwrap("""
|
||||||
# fetch tags so `git describe` gives a nice NEVRA when building the RPM
|
# fetch tags so `git describe` gives a nice NEVRA when building the RPM
|
||||||
@ -40,7 +40,7 @@ codestyle: {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
rust: {
|
rust: {
|
||||||
cosaPod(buildroot: true, runAsUser: 0) {
|
cosaPod(buildroot: true, runAsUser: 0, memory: "2Gi") {
|
||||||
checkout scm
|
checkout scm
|
||||||
shwrap("ci/msrv.sh")
|
shwrap("ci/msrv.sh")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user