Skip to content

Commit

Permalink
new: Support Bazel Remote APIs. (#1651)
Browse files Browse the repository at this point in the history
* Add crate.

* Add config.

* Start on cache.

* Move channel.

* Hook up service.

* Start on new clients.

* Get things working.

* Update configs.

* Start on action results.

* Calculate outputs.

* Get archiving working.

* Upload in background.

* Start on downloading.

* Polish error handling.

* Instrument.

* Fix lints.

* Update tests.

* Start on tls/mtls.

* Group uploads.

* Group downloads.

* Smart partition groups.

* Fix cert roots.

* Polish.
  • Loading branch information
milesj authored Nov 23, 2024
1 parent e02b73c commit 7885e7c
Show file tree
Hide file tree
Showing 68 changed files with 3,252 additions and 249 deletions.
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

0 comments on commit 7885e7c

Please sign in to comment.