ci: Update to use new buildroot pod

Matching https://github.com/coreos/ignition/pull/1182
and discussion in https://github.com/coreos/fedora-coreos-tracker/issues/764
This commit is contained in:
Colin Walters 2021-03-25 17:21:22 +00:00
parent a1197d8d93
commit ffd9e8fc9f

View File

@ -3,7 +3,7 @@
stage("Build") {
parallel rpms: {
def n = 5
cosaPod(buildroot: true, runAsUser: 0, memory: "2Gi", cpu: "${n}") {
buildPod(memory: "2Gi", cpu: "${n}") {
checkout scm
// 2:1 job to CPU at most should keep us from getting kicked out
shwrap("""RPM_BUILD_NCPUS=${n} CARGO_BUILD_JOBS=${n} ./ci/coreosci-rpmbuild.sh
@ -15,7 +15,7 @@ parallel rpms: {
}
},
codestyle: {
cosaPod(buildroot: true) {
buildPod {
checkout scm
shwrap("""
# Ensures that we get refs to aid `git describe`