Skip to content

Commit

Permalink
update shipit config to use krane
Browse files Browse the repository at this point in the history
  • Loading branch information
colby-swandale committed Jan 27, 2024
1 parent ca66539 commit 7068913
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions shipit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ ci:
- build

deploy:
override:
- kubernetes-deploy backups-$ENVIRONMENT rubygems --template-dir config/deploy/$ENVIRONMENT --bindings=environment=$ENVIRONMENT
override: krane render -f config/deploy/$ENVIRONMENT --bindings=environment=$ENVIRONMENT --current-sha=$REVISION | krane deploy backups-$ENVIRONMENT rubygems --stdin -f config/deploy/$ENVIRONMENT/secrets.ejson

rollback:
override:
- kubernetes-deploy backups-$ENVIRONMENT rubygems --template-dir config/deploy/$ENVIRONMENT --bindings=environment=$ENVIRONMENT
override: krane render -f config/deploy/$ENVIRONMENT --bindings=environment=$ENVIRONMENT --current-sha=$REVISION | krane deploy backups-$ENVIRONMENT rubygems --stdin -f config/deploy/$ENVIRONMENT/secrets.ejson

0 comments on commit 7068913

Please sign in to comment.