You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -326,7 +326,11 @@ Using this mechanism you can also overwrite the default manifest entries, e.g. "
326
326
Leeway is configured exclusively through the WORKSPACE.yaml/BUILD.yaml files and environment variables. The following environment
327
327
variables have an effect on leeway:
328
328
- `LEEWAY_WORKSPACE_ROOT`: Contains the path where to look for a WORKSPACE file. Can also be set using --workspace.
329
-
- `LEEWAY_REMOTE_CACHE_BUCKET`: Enables remote caching using GCP buckets. Set this variable to the bucket name used for caching. When this variable is set, leeway expects "gsutil" in the path configured and authenticated so that it can work with the bucket.
329
+
- `LEEWAY_REMOTE_CACHE_STORAGE`: Defines the remote caching storage provider. Valid values are "GCP" and "AWS". Defaults to "GCP".
330
+
- `LEEWAY_REMOTE_CACHE_BUCKET`: Enables remote caching using GCP or S3 buckets. Required credentials depend on the storage provider:
331
+
- `"GCP"`: leeway expects "gsutil" in the path configured and authenticated so that it can work with the bucket.
332
+
- `"AWS"`: leeway expects that AWS credentials have been provided and with read/write access to the S3 bucket.
333
+
For details on configuring AWS credentials see https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
330
334
- `LEEWAY_CACHE_DIR`: Location of the local build cache. The directory does not have to exist yet.
331
335
- `LEEWAY_BUILD_DIR`: Working location of leeway (i.e. where the actual builds happen). This location will see heavy I/O which makes it advisable to place this on a fast SSD or in RAM.
332
336
- `LEEWAY_YARN_MUTEX`: Configures the mutex flag leeway will pass to yarn. Defaults to "network". See https://yarnpkg.com/lang/en/docs/cli/#toc-concurrency-and-mutex for possible values.
0 commit comments