-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Cloud archive | ||
|
||
This `WORKSPACE` rule for Google Bazel lets you securely download private | ||
dependencies from S3. | ||
|
||
## Requirements | ||
|
||
This currently only works on Linux, although adapting it to macOS and Windows | ||
shouldn't be difficult. AWS CLI is required to be in the path, and must be set | ||
up such that you can download files from the buckets referenced in the rules | ||
with `aws s3 cp`. `--profile` flag is also supported, for people who use | ||
multiple profiles. | ||
|
||
## Usage | ||
|
||
Please refer to `WORKSPACE` file in this repository for an example of how to | ||
use this. | ||
|
||
## Future work | ||
|
||
Quite obviously this can also be adapted to other cloud storage providers, | ||
basically anything that can download an archive from the command line should | ||
work. | ||
|
||
## License | ||
|
||
This software is licensed under Apache 2.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters