1- # Cache Buildkite Plugin [ ![ Version badge] ( https://img.shields.io/badge/cache-v2.4.20 -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 -->
1+ # Cache Buildkite Plugin [ ![ Version badge] ( https://img.shields.io/badge/cache-v2.4.21 -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 -->
22
33### Tarball, Rsync & S3 Cache Kit for Buildkite. Supports Linux, macOS and Windows* <!-- omit in toc -->
44
@@ -75,7 +75,7 @@ S3 backend uses **AWS CLI** v**1** or v**2** to copy and download from/to S3 buc
7575``` yml
7676steps :
7777 - plugins :
78- - nienbo/cache#v2.4.20 :
78+ - nienbo/cache#v2.4.21 :
7979 id : ruby # or ruby-3.0
8080 backend : s3
8181 key : " v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -106,7 +106,7 @@ Use `endpoint` and `region` fields to pass host and region parameters to be able
106106` ` ` yml
107107steps:
108108 - plugins:
109- - nienbo/cache#v2.4.20 :
109+ - nienbo/cache#v2.4.21 :
110110 id: ruby # or ruby-3.0
111111 backend: s3
112112 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -142,7 +142,7 @@ Enabling this interoperability in Google Cloud Storage will generate the respect
142142` ` ` yml
143143steps:
144144 - plugins:
145- - nienbo/cache#v2.4.20 :
145+ - nienbo/cache#v2.4.21 :
146146 id: ruby # or ruby-3.0
147147 backend: s3
148148 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -197,7 +197,7 @@ You can also use rsync to store your files using the `rsync` backend. Files will
197197``` yml
198198steps :
199199 - plugins :
200- - nienbo/cache#v2.4.20 :
200+ - nienbo/cache#v2.4.21 :
201201 id : ruby # or ruby-3.0
202202 backend : rsync
203203 key : " v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -222,7 +222,7 @@ You can also use tarballs to store your files using the `tarball` backend. Files
222222` ` ` yml
223223steps:
224224 - plugins:
225- - nienbo/cache#v2.4.20 :
225+ - nienbo/cache#v2.4.21 :
226226 id: ruby # or ruby-3.0
227227 backend: tarball
228228 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -268,7 +268,7 @@ Along with lock files, you can calculate directory that contains multiple files
268268` ` ` yml
269269steps:
270270 - plugins:
271- - nienbo/cache#v2.4.20 :
271+ - nienbo/cache#v2.4.21 :
272272 id: node # or node-16
273273 backend: tarball # Optional. Default ` backend` is already set to `tarball`
274274 key : " v1-cache-{{ id }}-{{ runner.os }}-{{ checksum './app/javascript' }}" # Calculate whole 'app/javascript' recursively
@@ -294,7 +294,7 @@ You can skip caching on Pull Requests (Merge Requests) by simply adding `pr: fal
294294` ` ` yml
295295steps:
296296 - plugins:
297- - nienbo/cache#v2.4.20 :
297+ - nienbo/cache#v2.4.21 :
298298 id: ruby # or ruby-3.0
299299 backend: s3
300300 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -333,7 +333,7 @@ You can skip the cache upload at the end of a build step by using `upload-cache`
333333``` yml
334334steps :
335335 - plugins :
336- - nienbo/cache#v2.4.20 :
336+ - nienbo/cache#v2.4.21 :
337337 id : ruby # or ruby-3.0
338338 backend : s3
339339 key : " v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -377,8 +377,8 @@ ruby-cache: &ruby-cache
377377 - ' bundler/vendor'
378378
379379all-plugins : &all-plugins
380- - nienbo/cache#v2.4.20 : *node-cache
381- - nienbo/cache#v2.4.20 : *ruby-cache
380+ - nienbo/cache#v2.4.21 : *node-cache
381+ - nienbo/cache#v2.4.21 : *ruby-cache
382382 - docker#v3.7.0: ~ # Use your config here
383383
384384steps :
@@ -403,7 +403,7 @@ steps:
403403 key: jest
404404 command: yarn test --runInBand
405405 plugins:
406- - nienbo/cache#v2.4.20 : # Define cache *before* docker plugins.
406+ - nienbo/cache#v2.4.21 : # Define cache *before* docker plugins.
407407 id: ruby # or ruby-3.0
408408 backend: s3
409409 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -428,7 +428,7 @@ steps:
428428 key: jest
429429 command: yarn test --runInBand
430430 plugins:
431- - nienbo/cache#v2.4.20 :
431+ - nienbo/cache#v2.4.21 :
432432 id: ruby # or ruby-3.0
433433 backend: s3
434434 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -459,7 +459,7 @@ steps:
459459 key: jest
460460 command: yarn test --runInBand
461461 plugins:
462- - nienbo/cache#v2.4.20 :
462+ - nienbo/cache#v2.4.21 :
463463 id: ruby # or ruby-3.0
464464 backend: s3
465465 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -485,7 +485,7 @@ steps:
485485 key: jest
486486 command: yarn test --runInBand
487487 plugins:
488- - nienbo/cache#v2.4.20 :
488+ - nienbo/cache#v2.4.21 :
489489 id: ruby # or ruby-3.0
490490 backend: s3
491491 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -510,7 +510,7 @@ steps:
510510 key : jest
511511 command : yarn test --runInBand
512512 plugins :
513- - nienbo/cache#v2.4.20 :
513+ - nienbo/cache#v2.4.21 :
514514 id : ruby # or ruby-3.0
515515 backend : s3
516516 key : " v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -535,7 +535,7 @@ steps:
535535 key: jest
536536 command: yarn test --runInBand
537537 plugins:
538- - nienbo/cache#v2.4.20 :
538+ - nienbo/cache#v2.4.21 :
539539 id: ruby # or ruby-3.0
540540 backend: s3
541541 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -569,7 +569,7 @@ steps:
569569 key: jest
570570 command: yarn test --runInBand
571571 plugins:
572- - nienbo/cache#v2.4.20 :
572+ - nienbo/cache#v2.4.21 :
573573 id: ruby # or ruby-3.0
574574 backend: s3
575575 key: "v1-cache-{{ id }}-{{ runner.os }}-{{ checksum 'Gemfile.lock' }}"
@@ -594,4 +594,4 @@ You can use glob pattern in paths (to be cached) after `v2.1.x`
594594+ BitPaket Easy Storage support.
595595+ Azure Blob Storage support.
596596
597- Copyright © 2024 Nienbo Corporation. All rights reserved.
597+ Copyright © 2025 Nienbo Corporation. All rights reserved.
0 commit comments