Skip to content

A plugin for loading Cocoapods dependencies from an s3 bucket

License

Notifications You must be signed in to change notification settings

icyleaf/cocoapods-static-store

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cocoapods-static-store

NOTE: This plugin is in very early stages so YMMV and avoid running on repos with unstaged changes.

cocoapods-store is a plugin that lets you load push and pull dependencies to and from an s3 or MinIO bucket.

Pushes are keyed against the commit they are linked to the commit allowing them to be pulled on demand.

This provides a faster alternative to pulling repos separately when running pod install or pod update.

This gives several benefits:

  • Pods only have to be installed once for the given commit avoiding multiple requests to Github and other stores for subsequent installs
  • Continuous integration agents can pull from the store helping to decrease build times

Installation

$ gem install cocoapods-static-store

Usage

$ pod store push --bucket "cocoapods-store" --aws-key "KEY" --aws-secret "SECRET"
$ pod store pull --bucket "cocoapods-store" --aws-key "KEY" --aws-secret "SECRET"

It is recommended that you create a .cocoapods-store.yml rather than passing arguments. The yaml should have the following format:

endpoint: "only use this property with Minio"
bucket: "my-pod-store"
aws-key: "KEY"
aws-secret: "SECRET"

With a yaml file in place, you can simply call:

$ pod store push
$ pod store pull

Roadmap

  • S3 support
  • MinIO support
  • Implicit Installation
  • Cache built frameworks

About

A plugin for loading Cocoapods dependencies from an s3 bucket

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%