Skip to content

Instantly share code, notes, and snippets.

@lucasjhall
Created November 21, 2018 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasjhall/27cf255b164c91d9170ce2915694a457 to your computer and use it in GitHub Desktop.
Save lucasjhall/27cf255b164c91d9170ce2915694a457 to your computer and use it in GitHub Desktop.
stages:
- test
- deploy
- invalidate
test:
stage: test
script:
- python munkilinter.py $CI_PROJECT_DIR
only:
- master
tags:
- runner
deploy:
stage: deploy
script:
- s3cmd -v --delete-removed sync /munki_repo/ s3://$S3_BUCKET_NAME/
only:
- master
tags:
- runner
invalidate:
stage: invalidate
script:
- php invalidate-cloudfront.php $AWS_ACCESS_KE$
only:
- master
tags:
- runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment