Created
November 21, 2018 01:43
-
-
Save lucasjhall/27cf255b164c91d9170ce2915694a457 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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