An open API service indexing awesome lists of open source software.

https://github.com/alephao/bitrise-step-s3-cache-push

A bitrise step to store your cache in a s3 bucket.
https://github.com/alephao/bitrise-step-s3-cache-push

aws aws-s3 bitrise ci ios s3

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

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](https://github.com/alephao/bitrise-step-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.