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

new: Support Bazel Remote APIs. #1651

Merged
merged 23 commits into from
Nov 23, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/target
node_modules/
.nx
bazel-remote

# Yarn
.yarn/*
Expand Down
12 changes: 12 additions & 0 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,15 @@ docker:
include:
- '*.config.js'
- '*.json'

unstable_remote:
host: 'grpc://localhost:9092'
# mtls:
# caCert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem'
# clientCert: 'crates/remote/tests/__fixtures__/certs-local/client.pem'
# clientKey: 'crates/remote/tests/__fixtures__/certs-local/client.key'
# domain: 'localhost'
# tls:
# # assumeHttp2: true
# cert: 'crates/remote/tests/__fixtures__/certs-local/ca.pem'
# # domain: 'localhost'
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@

#### 🚀 Updates

- Resolved the `strictProjectIds` experiment and you can no longer reference the original ID.
- Resolved the `disallowRunInCiMismatch` experiment and you can no longer have a CI based task
depend on a non-CI based task.
- Added unstable support for self-hosted remote caches, powered by the
[Bazel Remote Execution API](https://github.com/bazelbuild/remote-apis).
- Allows for 3rd-party implementations like
[`bazel-remote`](https://github.com/buchgr/bazel-remote) to be used.
- Currently supports the gRPC protocol, and will support HTTP in a later release.
- Our moonbase product will be sunset in the future.
- Added a new task graph, that enables new granular based functionality for task related features.
- Added a new `moon task-graph` command.
- Can now control the depth of upstream (dependencies) and downstream (dependents).
Expand All @@ -24,6 +27,9 @@
`$vcsRevision`, `$workingDir`
- Added a `rust.binstallVersion` setting to `.moon/toolchain.yml`.
- Updated Pkl configurations to support `read()` for environment variables.
- Resolved the `strictProjectIds` experiment and you can no longer reference the original ID.
- Resolved the `disallowRunInCiMismatch` experiment and you can no longer have a CI based task
depend on a non-CI based task.

#### 🐞 Fixes

Expand Down
Loading
Loading