bitrise-step-s3-cache-pull

command module
v0.0.0-...-f7de7eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 11 Imported by: 0

README

S3 Cache Pull

A bitrise step to download your cache from a s3 bucket using custom keys with fallback.

Should be used with S3 Cache Push

Inputs
Input Description
cache_aws_access_key_id Your aws access key id
cache_aws_secret_access_key Your aws secret access key
cache_aws_region The region of your S3 bucket. E.g.: us-east-1
cache_bucket_name The name of your S3 bucket. E.g.: mybucket
cache_restore_keys The list of keys with fallbacks to restore the cache. E.g.:
{{ stackrev }}-{{ branch }}-{{ checksum "Cartfile.resolved" }}
carthage-{{ branch }}-{{ checksum "Cartfile.resolved" }}
carthage-{{ branch }}
carthage-
                
cache_path Path to extract the file or directory cached. For instance, if you used S3 Cache Push with the path ./Carthage then this value should be ./
Cache Key

The cache key can contain special values for convenience.

Value Description
{{ branch }} The current branch being built. It will use the $BITRISE_GIT_BRANCH environment var.
{{ checksum "path/to/file" }} A SHA256 hash of the given file's contents. Good candidates are dependency manifests, such as Gemfile.lock, Carthage.resolved, and Mintfile.
{{ stackrev }} The machine's stack id. It will use th $BITRISE_OSX_STACK_REV_ID environment var.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL