Skip to content

Commit 4566f5e

Browse files
authored
[ci] Upgrade buildbuddy executors (#2187)
Summary: This upgrades the executors and the image used for the executors. Relevant Issues: N/A Type of change: /kind infra Test Plan: CI run on this PR should pass. Signed-off-by: Vihang Mehta <vihang@px.dev>
1 parent 920baba commit 4566f5e

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

bazel/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ platform(
122122
],
123123
exec_properties = {
124124
"OSFamily": "Linux",
125-
"Pool": "202305312341",
125+
"Pool": "202504142133",
126126
},
127127
)
128128

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
Install buildbuddy executor to a k8s cluster:
2-
- `helm repo add buildbuddy https://helm.buildbuddy.io`
3-
- (For now not all changes to buildbuddy-executor have landed in the helm repo, so you should use my fork [here](https://github.com/JamesMBartlett/buildbuddy-helm/tree/all_changes_for_pixie) and replace any references to `buildbuddy/buildbuddy-executor` with `/path/to/checkout-of-fork/charts/buildbuddy-executor`)
4-
- From the workspace root run:
5-
```
1+
Bazel RBE with Buildbuddy
2+
=========================
3+
4+
To install buildbuddy executor to a k8s cluster, run the following from the workspace root.
5+
6+
```bash
7+
helm repo add buildbuddy https://helm.buildbuddy.io
8+
69
BB_EXECUTOR_API_KEY=<api_key> \
710
IMAGE_TAG="$(grep DOCKER_IMAGE_TAG "docker.properties" | cut -d= -f2)" \
811
envsubst < k8s/devinfra/buildbuddy-executor/values.yaml | \
9-
helm upgrade --install -f - buildbuddy buildbuddy/buildbuddy-executor --create-namespace -n buildbuddy
12+
helm upgrade --install -f - buildbuddy buildbuddy/buildbuddy-executor --create-namespace -n pixie-executors
1013
```

k8s/devinfra/buildbuddy-executor/values.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
replicas: 48
2+
replicas: 32
3+
34
resources:
45
limits:
56
memory: 8Gi
@@ -10,7 +11,10 @@ config:
1011
executor:
1112
app_target: "grpcs://remote.buildbuddy.io:443"
1213
api_key: $BB_EXECUTOR_API_KEY
14+
default_isolation_type: none
1315
docker_socket: ""
16+
enable_podman: false
17+
enable_oci: false
1418
enable_bare_runner: true
1519
local_cache_size_bytes: 375000000000 # 375GB
1620
millicpu: 4000
@@ -21,23 +25,23 @@ extraInitContainers:
2125
image: ghcr.io/pixie-io/pixie-oss-pixie-dev-public-curl:multiarch-7.87.0@sha256:f7f265d5c64eb4463a43a99b6bf773f9e61a50aaa7cefaf564f43e42549a01dd
2226
# yamllint disable rule:line-length
2327
command: ['sh', '-c', 'set -e;
24-
curl -fsSL https://github.com/buildbuddy-io/buildbuddy/releases/download/v2.12.42/executor-enterprise-linux-amd64 > /bb-executor/executor;
25-
chmod +x /bb-executor/executor']
28+
curl -fsSL https://github.com/buildbuddy-io/buildbuddy/releases/download/v2.154.0/executor-enterprise-linux-amd64 > /bb-executor/executor;
29+
chmod +x /bb-executor/executor'
30+
]
2631
# yamllint enable rule:line-length
2732
volumeMounts:
2833
- name: bb-executor
2934
mountPath: /bb-executor
3035

3136
image:
32-
repository: gcr.io/pixie-oss/pixie-dev-public/dev_image
37+
repository: ghcr.io/pixie-io/dev_image
3338
tag: '$IMAGE_TAG'
3439

3540
# Some clusters don't have ipv6 enabled, but we need it for some tests.
3641
customExecutorCommand:
3742
- /bin/sh
3843
- -c
39-
- 'sysctl -w net.ipv6.conf.lo.disable_ipv6=0 &&
40-
/bb-executor/executor --server_type=buildbuddy-executor'
44+
- 'sysctl -w net.ipv6.conf.lo.disable_ipv6=0 && /bb-executor/executor --server_type=buildbuddy-executor'
4145

4246
poolName: '"$IMAGE_TAG"'
4347

0 commit comments

Comments
 (0)