Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ pipeline {
buildStage(
buildFlags: '',
ubuntuSinglePkg: true,
preBuildScriptSudo: false,
overrides: [
'rocky-8': [
buildUser: 'worker',
buildUserCreate: true,
buildFlags: '-d',
preBuildScript: 'dnf install -y gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ git python39',
buildUser: 'yap',
buildFlags: '-d -s',
preBuildScript: 'sudo dnf install -y gcc-toolset-11-gcc gcc-toolset-11-gcc-c++ git python39',
]
]
)
Expand Down
6 changes: 5 additions & 1 deletion envoyproxy/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ build__rocky_8() {
python3 tools/github/write_current_source_version.py
chmod +x ../bazelisk-linux-amd64
source /opt/rh/gcc-toolset-11/enable
../bazelisk-linux-amd64 build envoy
# Bazel reads the host core count, not the cgroup CPU quota, so it would
# otherwise start one compile per host core inside a 4-CPU/10Gi container
# and OOMKill it. Keep this in sync with the yap container cpu limit in
# infra-k3s (argocd-projects/dev-zextras/jenkins/jcasc/kubernetes-cloud.yaml).
../bazelisk-linux-amd64 build --jobs=4 envoy
}

package__rocky_8() {
Expand Down