Skip to content

Commit

Permalink
configurable save-cache directory (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinbui authored Sep 24, 2024
1 parent fd341c4 commit acf949a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backends/s3.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BK_CACHE_COMPRESS=${BUILDKITE_PLUGIN_CACHE_COMPRESS:-false}
BK_CACHE_COMPRESS_PROGRAM=${BUILDKITE_PLUGIN_CACHE_COMPRESS_PROGRAM:-gzip}
BK_CACHE_SAVE_CACHE=${BUILDKITE_PLUGIN_CACHE_S3_SAVE_CACHE:-false}
BK_ALWAYS_CACHE=${BUILDKITE_PLUGIN_CACHE_ALWAYS:-false}
BK_CACHE_LOCAL_PATH="/tmp"
BK_CACHE_LOCAL_PATH="${BUILDKITE_PLUGIN_CACHE_S3_SAVE_CACHE_DIR:-/tmp}"
BK_TAR_ARGS=()
BK_TAR_ADDITIONAL_ARGS="--ignore-failed-read"
BK_TAR_EXTENSION="tar"
Expand Down
2 changes: 2 additions & 0 deletions plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ configuration:
type: string
save-cache:
type: boolean
save-cache-dir:
type: string
tarball:
properties:
path:
Expand Down

0 comments on commit acf949a

Please sign in to comment.