-
Notifications
You must be signed in to change notification settings - Fork 12
CLI deploy
Naomichi Yamakita edited this page Mar 18, 2020
·
19 revisions
# help
$ docker-compose run --rm rails thor genova:deploy help run-task
# command
$ docker-compose run --rm rails thor genova:deploy run-task -r {repository} -c {cluster} --run-task {run task}
# e.g.
$ docker-compose run --rm rails thor genova:deploy run-task -r api -c production-app --run-task greeting
$ docker-compose run --rm rails thor genova:deploy run-task -r api -c production-app --run-task greeting --override-container rails --override-command db:migrate
Please add run_tasks
setting to deploy.yml.
# help
$ docker-compose run --rm rails thor genova:deploy help service
# command
$ docker-compose run --rm rails thor genova:deploy service -r {repository} -c {cluster} -s {service}
# e.g.
$ docker-compose run --rm rails thor genova:deploy service -r api -c production-app -s backend
# help
$ docker-compose run --rm rails thor genova:deploy help scheduled-task
# command
$ docker-compose run --rm rails thor genova:deploy scheduled-task -r {repository} -c {cluster} --scheduled_task_rule={scheduled_task_rule} --scheduled_task_target={scheduled_task_target}
$ e.g.
$ docker-compose run --rm rails thor genova:deploy scheduled-task -r api -c production-app --scheduled_task_rule=sitemap_refresh --scheduled_task_target=production