Skip to content

Commit

Permalink
v2.4.18
Browse files Browse the repository at this point in the history
  • Loading branch information
gencer committed Oct 3, 2024
1 parent 5f42697 commit b6e63b0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
39 changes: 20 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -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) <!-- omit in toc -->
# 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) <!-- omit in toc -->

### Tarball, Rsync & S3 Cache Kit for Buildkite. Supports Linux, macOS and Windows* <!-- omit in toc -->

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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' }}"
Expand Down Expand Up @@ -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' }}"
Expand Down Expand Up @@ -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' }}"
Expand Down Expand Up @@ -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' }}"
Expand All @@ -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' }}"
Expand Down Expand Up @@ -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
Expand All @@ -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' }}"
Expand Down Expand Up @@ -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' }}"
Expand Down Expand Up @@ -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:
Expand All @@ -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' }}"
Expand All @@ -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' }}"
Expand Down Expand Up @@ -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' }}"
Expand All @@ -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' }}"
Expand All @@ -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' }}"
Expand All @@ -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' }}"
Expand Down Expand Up @@ -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' }}"
Expand All @@ -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.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.17
2.4.18

0 comments on commit b6e63b0

Please sign in to comment.