bitrise-step-s3-cache-push

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

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 10 Imported by: 0

README

S3 Cache Push

A bitrise step to store your cache in a s3 bucket with custom keys.

Should be used with S3 Cache Pull

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_path The path to the file or folder you want to cache. E.g.: ./Carthage/Build
cache_key The key that will be used to restore the cache later. E.g.: carthage-{{ branch }}-{{ checksum "Cartfile.resolved" }}
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