cdrx / rancher-gitlab-deploy

Painless deployment of projects built with GitLab CI onto your Rancher infrastructure
MIT License
432 stars 89 forks source link

¿How change default options? #52

Closed Jose3212 closed 6 years ago

Jose3212 commented 6 years ago

Hi! I deploy the containers using the upgrade command but I would be interested in using the option --start-before-stopping, that I see is set false by default. I run the upgrade like this:

upgrade --stack MyStack --service phpfpm --finish-upgrade --sidekicks --new-sidekick-image phpfpm-app $CONTAINER_RELEASE_IMAGE

If I add the option in there I got this and fails:

$ upgrade --stack MyStack --service phpfpm --finish-upgrade --sidekicks --new-sidekick-image --start-before-stopping phpfpm-app $CONTAINER_RELEASE_IMAGE Usage: upgrade [OPTIONS]

How can I change that option?

cdrx commented 6 years ago

--new-sidekick-image takes arguments but you haven't specified any

Jose3212 commented 6 years ago

Thank you now it works fine!