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

Document how to use the repo with other build systems #95

Merged

Conversation

stagnation
Copy link
Collaborator

Some notes on how to use this deployment with other build systems. Following a recent discussion about pants in slack.

@stagnation
Copy link
Collaborator Author

I did not verify that the pants section works, as I do not currently have a pants project setup.

remote_instance_name = "fuse"
remote_execution_extra_platform_properties = [
"OSFamily=linux",
"container-image=docker://ghcr.io/catthehacker/ubuntu:act-22.04@sha256:5f9c35c25db1d51a8ddaae5c0ba8d3c163c5e9a4a6cc97acd409ac7eae239448",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dependent on the container-image property which is keyed to the worker's image digest sha. When I was testing I had to specify both the OSFamily and container-image properties to get the scheduler to pick up the run.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The container-image property is defined in worker.jsonnet and is actually independent of what docker image the runner runs in. The example is aimed to follow the rest of this repository.

@Geethree Do you have some scripts to add to the CI pipeline (GitHub actions) to download and test Buildbarn with Pants?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Geethree It would be great to add an example configuration and a test. Would you like to contribute with this?

stagnation added a commit to stagnation/bb-deployments that referenced this pull request Aug 17, 2023
This continues the work to use 'Buildbarn' with other buildsystems:
buildbarn#95
Following the feature request:
buildbarn#96
stagnation added a commit to stagnation/bb-deployments that referenced this pull request Aug 17, 2023
This continues the work to use 'Buildbarn' with other buildsystems:
buildbarn#95
Following the feature request:
buildbarn#96
stagnation added a commit to stagnation/bb-deployments that referenced this pull request Aug 17, 2023
This continues the work to use 'Buildbarn' with other buildsystems:
buildbarn#95
Following the feature request:
buildbarn#96
stagnation added a commit to stagnation/bb-deployments that referenced this pull request Sep 8, 2023
This continues the work to use 'Buildbarn' with other buildsystems:
buildbarn#95
Following the feature request:
buildbarn#96
@stagnation stagnation force-pushed the feature/document-other-build-systems branch 5 times, most recently from 8f895f9 to 9be8393 Compare September 8, 2023 10:49
A summary of the steps taken in this feature request:
buildbarn#96
@stagnation stagnation force-pushed the feature/document-other-build-systems branch from 9be8393 to de054b5 Compare September 8, 2023 10:52
@stagnation
Copy link
Collaborator Author

Are we happy with this as-is?

@moroten
Copy link
Collaborator

moroten commented Nov 2, 2023

I'll have a look when I'm back in Tuesday if it's ready to merge.

@moroten moroten merged commit 4d4ec28 into buildbarn:master Nov 10, 2023
1 check passed
@stagnation stagnation deleted the feature/document-other-build-systems branch November 10, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants