- Remove existing tar file when cache always is set to
true. See #59 by @jebentier
- Add
save-cacheproperty to s3 cache. @ingcsmoreno
- Sharing caches between pipelines. See #55 by @irphilli
- Fix restore on tarball backend. See #43 by @atty303
- Add support for reading env variables in cache key template. See #50 by @smilin-desperado
- Allow multithreaded compression using additional compressing tools like
pigzviacompress-programoption. See #38.
- Add an option to allow caching on non-zero exit codes via
continue_on_erroroption key. See #33. - Fix: S3 args are passed to head-object call which is incompatible with
cp. See #35.
- Using
{{ git.branch }}cache-key with a/in the branch name. See #26.
- Use Array to prevent escaping arguments with quote on tar commands
- Final release for
compressoption key
- Tidied tarball calls
- Adjustable compression option. Now you can decide ratio from
0to9on compressed tarballs (Applies to tarball and s3 backends)
- Allow globs in tarballs when used with s3 with multiple paths. v2.4.4 only enabled for single path only.
- Allow globs in tarballs when used with s3
- Fixed unnecessary quotes on endpoint and region. This causes aws operation fail when
endpointandregionused instead ofargs.
- Added
idkey to supported cache key templates. You can use in your keys as{{ id }}
- Added
idsupport to identify cache's by ID.
restore-keyssupport for incremental cache and key lookup. Requiresjq. See #20.git.commitandgit.branchsupport in cache key templates. See README.
- Don't upload anything unconditionally to S3. See #21.
- Add
endpointandregionsupport to S3 backend. See README for this change. - Default path for
tarballandrsyncis now set to/tmp.
- Add $BK_AWS_ARGS to head-object call See #19.
- Fix README docker example
- Do not check for
busyboxon macOS. See #17.
- Added checking for
busyboxand fallback to lesser options oftar. - Use
-execwithrm -fusingfindinstead of native-deleteoption.
- Added
argsandclassoptions tos3backend. See README for details. - Small changes
- Many variables perepended with
BK_CACHE_to avoid conflict with local variables. More will come.
- Added
{{ runner.os }}helper to separate caches between runner operating systems.
- Added
compressoption tos3andtarballwhich creates tar.gz instead of tar.
- Add Glob Support on
paths. See #13.
- Ability to skip cache on PR-triggered builds. See README.
- Fix possible failure at tarball cleanup. See #12. (@djmarcin)
- Modular system. Backends and shared functions goes into their own files.
- Improved templating support. Moving shared function to
shared.bashSee #8 and #9. (@djmarcin) - Added tests and rewarp the code. See #10. (@djmarcin)
- Concurrent writers to tar files clobber each other. See #6. (@djmarcin)
- Fix
--ignore-failed-readwhich is not supported on macOS. See #5.
- Fix
"and'(single/double quotes) issues on docker image where used in EC2 instances.
- S3 uploads are now defiend in pipeline instead of ENV variables.
- Ability to hash directories.
- Improved terminal output with emojis (and printing current cache version)
- macOS compatibility
- Fix checksum for files with dashes in them
- Fix incorrect
trusage by @xthexder - Use
shasumon macOS.
- Skip cache at top level if
keynot provided - Check if tar file exists on
s3beforecp. - Make AWS Profile optional
sync -> cpcommand changed
- Skip cache if exit status is not zero
- Fix unbound variable
sha1suminstead of shasum due to Linux AMI on AWS doesn't haveshasum.- Added Tarball storage
- S3 Tarball
cpfeature - Skip create on tarball if cache key already exists
- Soft-fail on missing or vanished files on rsync (Won't fail your build)
- Soft-fail on missing folders on tarball (Won't fail your build)
- Keep X days of backups on tarball and remove olders if given by cache setting.
See original repository.