nienbo / cache-buildkite-plugin

Tarball, Rsync & S3 Cache Kit for Buildkite. Supports Linux, macOS and Windows
https://buildkite.com/plugins
MIT License
67 stars 39 forks source link

Add support for reading env variables in cache key template #50

Closed smilin-desperado closed 2 years ago

smilin-desperado commented 2 years ago

We have a particular use case which requires part of the cache key to be defined at runtime. This PR adds support for this.

gencer commented 2 years ago

Hi @smilin-desperado Thanks for the PR🥳. Seems CI fails atm.

smilin-desperado commented 2 years ago

Looks like there's been a change in suggested way to set up the tests --> https://github.com/buildkite-plugins/buildkite-plugin-tester#usage. I'm able to run the tests locally so it should work now in CI @gencer