Skip to content

Commit

Permalink
feat: add azure blob storage support
Browse files Browse the repository at this point in the history
  • Loading branch information
izi-p committed Feb 2, 2023
1 parent 4964223 commit c4bd04d
Show file tree
Hide file tree
Showing 9 changed files with 539 additions and 233 deletions.
4 changes: 2 additions & 2 deletions docs/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ nav_order: 2
| `PORT` | number | optional | `3000` | |
| `TURBO_TOKEN` | string | mandatory | | Secret token used for the authentication. You can specify multiple tokens separated by comma (e.g. `TURBO_TOKEN=token1,token2,token3`). The value must be the same one provided for the `token` parameter of the `build` script. See enable [custom remote caching](https://ducktors.github.io/turborepo-remote-cache/custom-remote-caching) in a Turborepo monorepo |
| `LOG_LEVEL` | string | optional | Possibile values are [one of these](https://github.com/ducktors/turborepo-remote-cache/blob/main/src/logger.ts#L3) | `'info'` |
| `STORAGE_PROVIDER` | string | optional | Possible values are `local`, `s3` or `google-cloud-storage`. Use this var to choose the storage provider. | `local` |
| `STORAGE_PATH` | string | optional | | Caching folder under `/tmp` if `STORAGE_PROVIDER` is set to `local`. If `STORAGE_PROVIDER` is set to `s3` or `google-cloud-storage`, this will be the name of the bucket. |
| `STORAGE_PROVIDER` | string | optional | Possible values are `local`, `s3`, `google-cloud-storage` or `azure-blob-storage`. Use this var to choose the storage provider. | `local` |
| `STORAGE_PATH` | string | optional | | Caching folder under `/tmp` if `STORAGE_PROVIDER` is set to `local`. If `STORAGE_PROVIDER` is set to `s3`, `google-cloud-storage` or `azure-blob-storage`, this will be the name of the bucket. |
| `STORAGE_PATH_USE_TMP_FOLDER` | boolean | optional | `true` | Uses the system tmp folder as a prefix to `STORAGE_PATH` |
| `BODY_LIMIT` | number | optional | `104857600` | The limit for artifact upload size |
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@vercel/node": "1.12.1",
"ajv": "8.11.0",
"aws-sdk": "2.1053.0",
"azure-storage": "^2.10.7",
"boom": "7.3.0",
"close-with-grace": "1.1.0",
"env-schema": "5.1.0",
Expand Down
Loading

0 comments on commit c4bd04d

Please sign in to comment.