electric-it / minimart

MiniMart RubyGem for Chef cookbook mirroring and storage.
Apache License 2.0
52 stars 20 forks source link

Update Jenkins example script in README #11

Closed edwardbartholomew closed 9 years ago

edwardbartholomew commented 9 years ago

Example jenkins job showing upload to S3, deletes local cookbooks and thus next run they'll have different timestamps causing "aws s3 sync" command to upload them again. Using --size-only option will let sync ignore the timedate stamps and only update changed cookbooks

from http://docs.aws.amazon.com/cli/latest/reference/s3/sync.html --size-only (boolean) Makes the size of each key the only criteria used to decide whether to sync from source to destination.

(Should help with https://github.com/electric-it/minimart/issues/10)

berniedurfee-ge commented 9 years ago

Nice, thanks!