Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/upgrade buildbarn components 2024 03 20 #135

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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ at the top right in the GitHub Actions page.

| Repository | Container images and binaries |
| ---------- | ----------------------------- |
| [bb-browser](https://github.com/buildbarn/bb-browser) [`ab65d55144`](https://github.com/buildbarn/bb-browser/commits/ab65d55144ae43445d3149865ef6e69fd35e3d34)<br/>2023-09-17 04:20:39 UTC | [ghcr.io/buildbarn/bb-browser:20240228T152807Z-ab65d55](https://ghcr.io/buildbarn/bb-browser:20240228T152807Z-ab65d55)<br/>[CI artifacts](https://github.com/buildbarn/bb-browser/actions/runs/8082889844) |
| [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) [`9791c09e5e`](https://github.com/buildbarn/bb-remote-execution/commits/9791c09e5e223bae00477438dd05d1d816835e8c)<br/>2023-10-04 10:23:25 UTC | [ghcr.io/buildbarn/bb-runner-installer:20240303T174236Z-9791c09](https://ghcr.io/buildbarn/bb-runner-installer:20240303T174236Z-9791c09)<br/>[ghcr.io/buildbarn/bb-scheduler:20240303T174236Z-9791c09](https://ghcr.io/buildbarn/bb-scheduler:20240303T174236Z-9791c09)<br/>[ghcr.io/buildbarn/bb-worker:20240303T174236Z-9791c09](https://ghcr.io/buildbarn/bb-worker:20240303T174236Z-9791c09)<br/>[CI artifacts](https://github.com/buildbarn/bb-remote-execution/actions/runs/8131961322) |
| [bb-storage](https://github.com/buildbarn/bb-storage) [`0aa40dfdbe`](https://github.com/buildbarn/bb-storage/commits/0aa40dfdbeadc66f8f930e6daad853a452cb1bd8)<br/>2023-10-08 11:11:12 UTC | [ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df](https://ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df)<br/>[CI artifacts](https://github.com/buildbarn/bb-storage/actions/runs/8062892865) |
| [bb-browser](https://github.com/buildbarn/bb-browser) [`10b339da63`](https://github.com/buildbarn/bb-browser/commits/10b339da6324b00efb3e8a7cfb95f2f3790bed7f)<br/>2023-09-17 04:20:39 UTC | [ghcr.io/buildbarn/bb-browser:20240310T094611Z-10b339d](https://ghcr.io/buildbarn/bb-browser:20240310T094611Z-10b339d)<br/>[CI artifacts](https://github.com/buildbarn/bb-browser/actions/runs/8222809916) |
| [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) [`28dbdbb0a6`](https://github.com/buildbarn/bb-remote-execution/commits/28dbdbb0a6b077cb7f987393ce537b603da3d045)<br/>2023-10-04 10:23:25 UTC | [ghcr.io/buildbarn/bb-runner-installer:20240310T090416Z-28dbdbb](https://ghcr.io/buildbarn/bb-runner-installer:20240310T090416Z-28dbdbb)<br/>[ghcr.io/buildbarn/bb-scheduler:20240310T090416Z-28dbdbb](https://ghcr.io/buildbarn/bb-scheduler:20240310T090416Z-28dbdbb)<br/>[ghcr.io/buildbarn/bb-worker:20240310T090416Z-28dbdbb](https://ghcr.io/buildbarn/bb-worker:20240310T090416Z-28dbdbb)<br/>[CI artifacts](https://github.com/buildbarn/bb-remote-execution/actions/runs/8220869957) |
| [bb-storage](https://github.com/buildbarn/bb-storage) [`4bb23aaa40`](https://github.com/buildbarn/bb-storage/commits/4bb23aaa40ae67adc57ea0b4662f8bfb6d747410)<br/>2023-10-08 11:11:12 UTC | [ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa](https://ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa)<br/>[CI artifacts](https://github.com/buildbarn/bb-storage/actions/runs/8356874426) |

## Changelog

Expand Down
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 2024-03-20

* Rewrite Remote Output Service on top of Google's protocol
* Using macOS Sonoma 14.4 or later is recommended for NFSv4.0
* Remove support for FUSE mounts on macOS
Use NFS instead.

# 2024-02-28

* Integrate kuberesolver into Buildbarn binaries
Expand Down
16 changes: 8 additions & 8 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
frontend:
image: ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df
image: ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa
command:
- /config/frontend.jsonnet
expose:
Expand All @@ -12,7 +12,7 @@ services:
- ./config:/config

storage-0:
image: ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df
image: ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa
command:
- /config/storage.jsonnet
expose:
Expand All @@ -24,7 +24,7 @@ services:
- ./volumes/storage-cas-0:/storage-cas

storage-1:
image: ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df
image: ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa
command:
- /config/storage.jsonnet
expose:
Expand All @@ -36,7 +36,7 @@ services:
- ./volumes/storage-cas-1:/storage-cas

scheduler:
image: ghcr.io/buildbarn/bb-scheduler:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-scheduler:20240310T090416Z-28dbdbb
command:
- /config/scheduler.jsonnet
expose:
Expand All @@ -52,7 +52,7 @@ services:
- ./config:/config

browser:
image: ghcr.io/buildbarn/bb-browser:20240228T152807Z-ab65d55
image: ghcr.io/buildbarn/bb-browser:20240310T094611Z-10b339d
command:
- /config/browser.jsonnet
expose:
Expand All @@ -63,13 +63,13 @@ services:
- ./config:/config

runner-installer:
image: ghcr.io/buildbarn/bb-runner-installer:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-runner-installer:20240310T090416Z-28dbdbb
volumes:
- ./volumes/bb:/bb

# The FUSE worker is the most efficient configuration.
worker-fuse-ubuntu22-04:
image: ghcr.io/buildbarn/bb-worker:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-worker:20240310T090416Z-28dbdbb
command:
- /config/worker-fuse-ubuntu22-04.jsonnet
# Need to be privileged for the FUSE mounting to work.
Expand Down Expand Up @@ -105,7 +105,7 @@ services:
# For situations where the more efficient FUSE worker is not supported,
# the classic hardlinking example is shown here.
worker-hardlinking-ubuntu22-04:
image: ghcr.io/buildbarn/bb-worker:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-worker:20240310T090416Z-28dbdbb
command:
- /config/worker-hardlinking-ubuntu22-04.jsonnet
privileged: false
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ replace golang.org/x/tools => golang.org/x/tools v0.8.0

require (
github.com/bazelbuild/rules_go v0.43.0
github.com/buildbarn/bb-browser v0.0.0-20240228152807-ab65d55144ae
github.com/buildbarn/bb-remote-execution v0.0.0-20240303174236-9791c09e5e22
github.com/buildbarn/bb-storage v0.0.0-20240227100204-0aa40dfdbead
github.com/buildbarn/bb-browser v0.0.0-20240310094611-10b339da6324
github.com/buildbarn/bb-remote-execution v0.0.0-20240310090416-28dbdbb0a6b0
github.com/buildbarn/bb-storage v0.0.0-20240320095126-4bb23aaa40ae
mvdan.cc/gofumpt v0.6.0
)

Expand Down Expand Up @@ -101,7 +101,7 @@ require (
golang.org/x/net v0.20.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.17.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ github.com/bazelbuild/rules_go v0.43.0/go.mod h1:TFLfii8e49kTgn329knh1lsJFKdxyp/
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/buildbarn/bb-browser v0.0.0-20240228152807-ab65d55144ae h1:TFrbPxBWXCwVPIu9oIbmmJPGCjc7X+UfuYIt2As/veM=
github.com/buildbarn/bb-browser v0.0.0-20240228152807-ab65d55144ae/go.mod h1:nn+BHWIXHxO8Mgc4shlEWNJ46s1ayR6ByBTw5GjEHkM=
github.com/buildbarn/bb-remote-execution v0.0.0-20240303174236-9791c09e5e22 h1:ziHMEhNit+rCTGk05+D9PfWbmVfFN+A/NTynkR2Nnm0=
github.com/buildbarn/bb-remote-execution v0.0.0-20240303174236-9791c09e5e22/go.mod h1:qwNvc1PxPWzRzcKiQ/Hq1MQmxB8fjWQ+Lv0h9r8aysU=
github.com/buildbarn/bb-storage v0.0.0-20240227100204-0aa40dfdbead h1:fHapKnQQLgJaMxGiBAUCPVHNfD5vV1LDfXqmyClJ6Lc=
github.com/buildbarn/bb-storage v0.0.0-20240227100204-0aa40dfdbead/go.mod h1:gHT0PInDFOV/JZjeeNwvqmn33MKHHyk3V18e4/Cs/jM=
github.com/buildbarn/bb-browser v0.0.0-20240310094611-10b339da6324 h1:CHnjjCXTIZjs91YjRMlwJv44nckJQOujHNZnWra95vg=
github.com/buildbarn/bb-browser v0.0.0-20240310094611-10b339da6324/go.mod h1:fi1gR5MKF7joIEJwa3sZp6g5QE83Cc3a2paAy2WO7ds=
github.com/buildbarn/bb-remote-execution v0.0.0-20240310090416-28dbdbb0a6b0 h1:wcGel3yU3FAENqRLzgZkg7xzuwlaY9H+Lphd46u5tyI=
github.com/buildbarn/bb-remote-execution v0.0.0-20240310090416-28dbdbb0a6b0/go.mod h1:q3TGK8PD/HoADYpaOU0lup48IOusUuCoP0ilLi+BX7A=
github.com/buildbarn/bb-storage v0.0.0-20240320095126-4bb23aaa40ae h1:e71ZYLQ4QDIVgs/zRX8hNt57d7WomniH2DYZCv8thJ8=
github.com/buildbarn/bb-storage v0.0.0-20240320095126-4bb23aaa40ae/go.mod h1:0uISGKJD6Owt29w2sUlK0TeLtYdLWtBiC43yVHdgMAY=
github.com/buildbarn/go-xdr v0.0.0-20231115101217-a9e2aa4cf64b h1:/sKWC0Fs5fXNo/t72BRZRLERg4v2gFoEeg2Mk+a8xak=
github.com/buildbarn/go-xdr v0.0.0-20231115101217-a9e2aa4cf64b/go.mod h1:VwInghBSUyPtNBhl7o2oCUnxOCTGgySJnRTO1Kh7XuI=
github.com/buildkite/terminal-to-html v3.2.0+incompatible h1:WdXzl7ZmYzCAz4pElZosPaUlRTW+qwVx/SkQSCa1jXs=
Expand Down Expand Up @@ -315,8 +315,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down
17 changes: 8 additions & 9 deletions go_dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -209,20 +209,20 @@ def go_dependencies():
go_repository(
name = "com_github_buildbarn_bb_browser",
importpath = "github.com/buildbarn/bb-browser",
sum = "h1:TFrbPxBWXCwVPIu9oIbmmJPGCjc7X+UfuYIt2As/veM=",
version = "v0.0.0-20240228152807-ab65d55144ae",
sum = "h1:CHnjjCXTIZjs91YjRMlwJv44nckJQOujHNZnWra95vg=",
version = "v0.0.0-20240310094611-10b339da6324",
)
go_repository(
name = "com_github_buildbarn_bb_remote_execution",
importpath = "github.com/buildbarn/bb-remote-execution",
sum = "h1:ziHMEhNit+rCTGk05+D9PfWbmVfFN+A/NTynkR2Nnm0=",
version = "v0.0.0-20240303174236-9791c09e5e22",
sum = "h1:wcGel3yU3FAENqRLzgZkg7xzuwlaY9H+Lphd46u5tyI=",
version = "v0.0.0-20240310090416-28dbdbb0a6b0",
)
go_repository(
name = "com_github_buildbarn_bb_storage",
importpath = "github.com/buildbarn/bb-storage",
sum = "h1:fHapKnQQLgJaMxGiBAUCPVHNfD5vV1LDfXqmyClJ6Lc=",
version = "v0.0.0-20240227100204-0aa40dfdbead",
sum = "h1:e71ZYLQ4QDIVgs/zRX8hNt57d7WomniH2DYZCv8thJ8=",
version = "v0.0.0-20240320095126-4bb23aaa40ae",
)
go_repository(
name = "com_github_buildbarn_go_xdr",
Expand Down Expand Up @@ -1762,9 +1762,8 @@ def go_dependencies():
go_repository(
name = "org_golang_x_sys",
importpath = "golang.org/x/sys",
patches = ["@com_github_buildbarn_bb_storage//:patches/org_golang_x_sys/golang-issue-59357.diff"],
sum = "h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=",
version = "v0.17.0",
sum = "h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=",
version = "v0.18.0",
)
go_repository(
name = "org_golang_x_term",
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/browser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
app: browser
spec:
containers:
- image: ghcr.io/buildbarn/bb-browser:20240228T152807Z-ab65d55
- image: ghcr.io/buildbarn/bb-browser:20240310T094611Z-10b339d
args:
- /config/browser.jsonnet
name: browser
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- args:
- /config/frontend.jsonnet
image: ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df
image: ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa
name: storage
ports:
- containerPort: 8980
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
containers:
- args:
- /config/scheduler.jsonnet
image: ghcr.io/buildbarn/bb-scheduler:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-scheduler:20240310T090416Z-28dbdbb
name: scheduler
ports:
- containerPort: 8982
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
containers:
- args:
- /config/storage.jsonnet
image: ghcr.io/buildbarn/bb-storage:20240227T100204Z-0aa40df
image: ghcr.io/buildbarn/bb-storage:20240320T095126Z-4bb23aa
name: storage
ports:
- containerPort: 8981
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/worker-ubuntu22-04.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
containers:
- args:
- /config/worker-ubuntu22-04.jsonnet
image: ghcr.io/buildbarn/bb-worker:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-worker:20240310T090416Z-28dbdbb
name: worker
volumeMounts:
- mountPath: /config/
Expand Down Expand Up @@ -55,7 +55,7 @@ spec:
readOnly: true
initContainers:
- name: bb-runner-installer
image: ghcr.io/buildbarn/bb-runner-installer:20240303T174236Z-9791c09
image: ghcr.io/buildbarn/bb-runner-installer:20240310T090416Z-28dbdbb
volumeMounts:
- mountPath: /bb/
name: empty
Expand Down
Loading