diff --git a/CHANGELOG.md b/CHANGELOG.md index 081ca10..01dfc1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v2.4.18 + ++ create cache-dir if not exists. See #78 by @calvinbui ++ Ability to skip uploading cache. See #79 by @calvinbui + # v2.4.17 + Fix typos and update readme. See #77 by @calvinbui diff --git a/README.md b/README.md index 7f1debe..d8f02e1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Cache Buildkite Plugin [![Version badge](https://img.shields.io/badge/cache-v2.4.17-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.18-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* @@ -29,6 +29,7 @@ Plus, In addition to tarball & rsync, we also do not re-create another tarball f - [Supported templates](#supported-templates) - [Hashing (checksum) against directory](#hashing-checksum-against-directory) - [Skip Cache on PRs](#skip-cache-on-prs) + - [Skip cache upload](#skip-cache-upload) - [Advanced and Multiple usages in same pipeline](#advanced-and-multiple-usages-in-same-pipeline) - [Usage with docker](#usage-with-docker) - [Adjust compression level](#adjust-compression-level) @@ -74,7 +75,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.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -105,7 +106,7 @@ Use `endpoint` and `region` fields to pass host and region parameters to be able ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -141,7 +142,7 @@ Enabling this interoperability in Google Cloud Storage will generate the respect ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -196,7 +197,7 @@ You can also use rsync to store your files using the `rsync` backend. Files will ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: rsync key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -221,7 +222,7 @@ You can also use tarballs to store your files using the `tarball` backend. Files ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: tarball key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -267,7 +268,7 @@ Along with lock files, you can calculate directory that contains multiple files ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: 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 @@ -293,7 +294,7 @@ You can skip caching on Pull Requests (Merge Requests) by simply adding `pr: fal ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -332,7 +333,7 @@ You can skip the cache upload at the end of a build step by using `upload-cache` ```yml steps: - plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -376,8 +377,8 @@ ruby-cache: &ruby-cache - 'bundler/vendor' all-plugins: &all-plugins - - nienbo/cache#v2.4.17: *node-cache - - nienbo/cache#v2.4.17: *ruby-cache + - nienbo/cache#v2.4.18: *node-cache + - nienbo/cache#v2.4.18: *ruby-cache - docker#v3.7.0: ~ # Use your config here steps: @@ -402,7 +403,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: # Define cache *before* docker plugins. + - nienbo/cache#v2.4.18: # Define cache *before* docker plugins. id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -427,7 +428,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -458,7 +459,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -484,7 +485,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -509,7 +510,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -534,7 +535,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -568,7 +569,7 @@ steps: key: jest command: yarn test --runInBand plugins: - - nienbo/cache#v2.4.17: + - nienbo/cache#v2.4.18: id: ruby # or ruby-3.0 backend: s3 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}" @@ -593,4 +594,4 @@ You can use glob pattern in paths (to be cached) after `v2.1.x` + BitPaket Easy Storage support. + Azure Blob Storage support. -Copyright © 2023 Nienbo Corporation. All rights reserved. +Copyright © 2024 Nienbo Corporation. All rights reserved. diff --git a/VERSION b/VERSION index b29b920..cc2ff5a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.4.17 \ No newline at end of file +2.4.18