diff --git a/CHANGELOG.md b/CHANGELOG.md index 95082c8..f68cc12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v2.4.15 + ++ Discard broken S3 downloads. See #65, #64 by @bradleyayers + # v2.4.14 + Remove existing tar file when cache **always** is set to `true`. See #59 by @jebentier diff --git a/README.md b/README.md index 3733593..6db42cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Cache Buildkite Plugin [![Version badge](https://img.shields.io/badge/cache-v2.4.14-blue?style=flat-square)](https://buildkite.com/plugins) [![CI](https://github.com/nienbo/cache-buildkite-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/nienbo/cache-buildkite-plugin/actions/workflows/ci.yml) +# Cache Buildkite Plugin [![Version badge](https://img.shields.io/badge/cache-v2.4.15-blue?style=flat-square)](https://buildkite.com/plugins) [![CI](https://github.com/nienbo/cache-buildkite-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/nienbo/cache-buildkite-plugin/actions/workflows/ci.yml) ### Tarball, Rsync & S3 Cache Kit for Buildkite. Supports Linux, macOS and Windows* @@ -83,7 +83,7 @@ S3 backend uses **AWS CLI** v**1** or v**2** to copy and download from/to S3 buc ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -113,7 +113,7 @@ Use `endpoint` and `region` fields to pass host and region parameters to be able ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -149,7 +149,7 @@ Enabling this interoperability in Google Cloud Storage will generate the respect ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -204,7 +204,7 @@ You can also use rsync to store your files using the `rsync` backend. Files will ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: rsync key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -229,7 +229,7 @@ You can also use tarballs to store your files using the `tarball` backend. Files ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: tarball key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -274,7 +274,7 @@ Along with lock files, you can calculate directory that contains multiple files ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: node # or node-16 backend: tarball # Optional. Default `backend` is already set to `tarball` key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum './app/javascript' }}" # Calculate whole 'app/javascript' recursively @@ -300,7 +300,7 @@ You can skip caching on Pull Requests (Merge Requests) by simply adding `pr: fal ```yml steps: - plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -356,8 +356,8 @@ ruby-cache: &ruby-cache - 'bundler/vendor' all-plugins: &all-plugins - - nienbo/cache#v2.4.14: *node-cache - - nienbo/cache#v2.4.14: *ruby-cache + - nienbo/cache#v2.4.15: *node-cache + - nienbo/cache#v2.4.15: *ruby-cache - docker#v3.7.0: ~ # Use your config here steps: @@ -382,7 +382,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: # Define cache *before* docker plugins. + - nienbo/cache#v2.4.15: # Define cache *before* docker plugins. id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -407,7 +407,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -438,7 +438,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -464,7 +464,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -489,7 +489,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -514,7 +514,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -547,7 +547,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.14: + - nienbo/cache#v2.4.15: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" diff --git a/VERSION b/VERSION index e5f3129..84cc65e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.4.14 +2.4.15