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
{{ message }}
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
+
### Changed
13
+
14
+
### Removed
15
+
16
+
## [1.3.0] - 2022-04-05
17
+
18
+
### Added
19
+
12
20
-[#209](https://github.com/meltwater/drone-cache/pull/209) Added double star directory searching in mounts (e.g. `path/**/subdir`)
13
21
-[#198](https://github.com/meltwater/drone-cache/pull/198) Add `hashFiles` template function to generate the SHA256 hash of multiple files
help, h Shows a list of commands or help for one command
123
+
124
+
GLOBAL OPTIONS:
125
+
--access-key value AWS access key [$PLUGIN_ACCESS_KEY, $AWS_ACCESS_KEY_ID, $CACHE_AWS_ACCESS_KEY_ID]
126
+
--acl value upload files with acl (private, public-read, ...) (default: "private") [$PLUGIN_ACL, $AWS_ACL]
127
+
--archive-format value archive format to use to store the cache directories (tar, gzip, zstd) (default: "tar") [$PLUGIN_ARCHIVE_FORMAT]
128
+
--azure.account-key value Azure Blob Storage Account Key [$PLUGIN_ACCOUNT_KEY, $AZURE_ACCOUNT_KEY]
129
+
--azure.account-name value Azure Blob Storage Account Name [$PLUGIN_ACCOUNT_NAME, $AZURE_ACCOUNT_NAME]
130
+
--azure.blob-container-name value Azure Blob Storage container name [$PLUGIN_CONTAINER, $AZURE_CONTAINER_NAME]
131
+
--azure.blob-max-retry-requets value Azure Blob Storage Max Retry Requests (default: 4) [$AZURE_BLOB_MAX_RETRY_REQUESTS]
132
+
--azure.blob-storage-url value Azure Blob Storage URL (default: "blob.core.windows.net") [$AZURE_BLOB_STORAGE_URL]
133
+
--backend value cache backend to use in plugin (s3, filesystem, sftp, azure, gcs) (default: "s3") [$PLUGIN_BACKEND]
134
+
--backend.operation-timeout value timeout value to use for each storage operations (default: 3m0s) [$PLUGIN_BACKEND_OPERATION_TIMEOUT, $BACKEND_OPERATION_TIMEOUT]
135
+
--bucket value AWS bucket name [$PLUGIN_BUCKET, $S3_BUCKET, $GCS_BUCKET]
136
+
--build.created value build created (default: 0) [$DRONE_BUILD_CREATED]
137
+
--build.deploy value build deployment target [$DRONE_DEPLOY_TO]
138
+
--build.event value build event (default: "push") [$DRONE_BUILD_EVENT]
139
+
--build.finished value build finished (default: 0) [$DRONE_BUILD_FINISHED]
140
+
--build.link value build link [$DRONE_BUILD_LINK]
141
+
--build.number value build number (default: 0) [$DRONE_BUILD_NUMBER]
142
+
--build.started value build started (default: 0) [$DRONE_BUILD_STARTED]
143
+
--build.status value build status (default: "success") [$DRONE_BUILD_STATUS]
144
+
--cache-key value cache key to use for the cache directories [$PLUGIN_CACHE_KEY]
145
+
--commit.author.avatar value git author avatar [$DRONE_COMMIT_AUTHOR_AVATAR]
146
+
--commit.author.email value git author email [$DRONE_COMMIT_AUTHOR_EMAIL]
147
+
--commit.author.name value git author name [$DRONE_COMMIT_AUTHOR]
148
+
--commit.branch value git commit branch (default: "master") [$DRONE_COMMIT_BRANCH]
149
+
--commit.link value git commit link [$DRONE_COMMIT_LINK]
150
+
--commit.message value git commit message [$DRONE_COMMIT_MESSAGE]
151
+
--commit.ref value git commit ref (default: "refs/heads/master") [$DRONE_COMMIT_REF]
152
+
--commit.sha value git commit sha [$DRONE_COMMIT_SHA]
153
+
--compression-level value compression level to use for gzip/zstd compression when archive-format specified as gzip/zstd
154
+
(check https://godoc.org/compress/flate#pkg-constants for available options for gzip
155
+
and https://pkg.go.dev/github.com/klauspost/compress/zstd#EncoderLevelFromZstd for zstd) (default: -1) [$PLUGIN_COMPRESSION_LEVEL]
--encryption value server-side encryption algorithm, defaults to none. (AES256, aws:kms) [$PLUGIN_ENCRYPTION, $AWS_ENCRYPTION]
158
+
--endpoint value endpoint for the s3/cloud storage connection [$PLUGIN_ENDPOINT, $S3_ENDPOINT, $GCS_ENDPOINT]
159
+
--filesystem.cache-root value local filesystem root directory for the filesystem cache (default: "/tmp/cache") [$PLUGIN_FILESYSTEM_CACHE_ROOT, $FILESYSTEM_CACHE_ROOT]
160
+
--gcs.acl value upload files with acl (private, public-read, ...) (default: "private") [$PLUGIN_GCS_ACL, $GCS_ACL]
161
+
--gcs.api-key value Google service account API key [$PLUGIN_API_KEY, $GCP_API_KEY]
162
+
--gcs.encryption-key value server-side encryption key, must be a 32-byte AES-256 key, defaults to none
163
+
(See https://cloud.google.com/storage/docs/encryption for details.) [$PLUGIN_GCS_ENCRYPTION_KEY, $GCS_ENCRYPTION_KEY]
164
+
--gcs.json-key value Google service account JSON key [$PLUGIN_JSON_KEY, $GCS_CACHE_JSON_KEY]
165
+
--help, -h show help (default: false)
166
+
--local-root value local root directory to base given mount paths (default pwd [present working directory]) [$PLUGIN_LOCAL_ROOT]
167
+
--log.format value log format to use. ('logfmt', 'json') (default: "logfmt") [$PLUGIN_LOG_FORMAT, $LOG_FORMAT]
0 commit comments