Comments (6)
Just adding my +1 for a Windows worker/runner. Scheduler, storage etc. is planned to run on Linux, so in my case I don't need that working on Windows (also working on getting a Linux system working, then will try Mac)
from bb-remote-execution.
Hi Marka,
Getting Buildbarn to work on Windows is something that I haven't experimented with. I think it would be better to first start out getting bb-storage to build and work on Windows, as the other bb-* repositories depend on it. Doing the build on Windows itself is something that will likely break, but you can just run the following on Linux/macOS:
bazel build --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/bb_storage
The build currently breaks, because this specific source file has absolutely not been written with Windows in mind:
https://github.com/buildbarn/bb-storage/blob/master/pkg/filesystem/local_directory.go
We should likely rename it to local_directory_unix.go
and provide a separate implementation for Windows. Is this something you'd be interested in working on?
from bb-remote-execution.
Hi,
Thanks for your quick reply.
My idea is to build a cluster to build Linux/Windows code (because of c++). Your current approach packages everything into docker images (which is a great idea, it simplifies the basic setup). In the end I want to have a machine providing a remote cache and different workers for remote execution to build Linux/Windows. (means bb_storage always runs on a Linux machine while workers run on Windows/Linux and connect to the same storage). If this is possible I am interested in, at least running runner/worker/scheduler on a windows machine.
from bb-remote-execution.
Hi there,
Yes, I understood that part; you only want to run bb-worker + bb-runner on Windows. But here's the issue: bb-worker depends on bb-storage in terms of code. bb-worker uses the same storage layer as bb-storage under the hood. This means that if bb-storage doesn't build on Windows, bb-worker won't build either.
from bb-remote-execution.
Once the storage is factored to work on Windows, there remains the problem of a worker that works on Windows (I believe); if we address #2 with the new worker protocol then we might be able to have some interop between BuildBarn and the workers we are working on for BuildGrid.
from bb-remote-execution.
Closing this issue due to inactivity. Iβm not against adding support for Windows. PRs are more than welcome! Itβs just that issues that stay open for a year without meaningful progress are distracting. :-)
from bb-remote-execution.
Related Issues (20)
- Failed to build bb-remote-execution on Windows HOT 2
- Service resolution via Consul HOT 1
- BuildBarn always resolves symlinks to origin files HOT 9
- Buildbarn allows action to write under user home directory HOT 2
- Support remote persistent workers HOT 1
- Is it possible to allow for the setting of priorities or weights for workers? HOT 3
- Mount '/proc' into chrooted actions HOT 5
- Bazel build fails if remote worker is being downscaled during build HOT 1
- Linux sandboxing / network blocking HOT 4
- Autoscaling workers based on queue size HOT 10
- Document whether this is secure against malicious clients HOT 15
- worker/runner does not handle command with `./` in front of the command name HOT 6
- Allow runners to have multiple platform configurations HOT 2
- Instance name lost when ExecuteRequest arrives in scheduler HOT 6
- Scheduler does not reschedule on Internal Errors HOT 5
- Scheduler should report action as Executing when it starts, instead of waiting until ExecutionUpdateInterval
- Scheduller validation breaks after docker image: 20210430T150052Z-ed1e2f4 HOT 2
- Building bb_runner and bb_worker fails on Mac M1/arm64 HOT 16
- RequestMetadata extraction does not work with Bazel HOT 2
- scheduler handles workers above maximum size poorly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bb-remote-execution.