Skip to content

chef/cache-buildkite-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache Buildkite Plugin

A Buildkite plugin to restore and save directories to and from an s3 bucket.

  • Built off of BUILDKITE env variables so there is no necessary exporting needed

Example push: aws s3 cp vendor.tar.gz s3://mybucket/my-pipeline/my-label/vendor.tar.gz

Example pull: aws s3 cp s3://mybucket/my-pipeline/my-label/vendor.tar.gz .

Example

steps:
  - label: cache_s3
    plugins:
    - chef/cache#v1.1.0:
        cached_folders:
        - .vendor/
        s3_bucket: 'my-bucket'

Configuration

cached_folders (required)

The directory which you would like saved to s3 as well as where you would like s3 to pull contents into.

Example: .vendor/

s3_bucket (required)

The bucket in S3 which is used to push and pull the cached_folders into.

Example: my-bucket

About

Cache directories using checksums between builds

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%