Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify deploy and select subcommands #22

Open
edudobay opened this issue May 12, 2019 · 0 comments
Open

Unify deploy and select subcommands #22

edudobay opened this issue May 12, 2019 · 0 comments
Assignees

Comments

@edudobay
Copy link
Owner

edudobay commented May 12, 2019

This also relates to #15 — the solution should consider both points.

  • deploy always yields a new build from a git ref, and then deploys that build, if it completes successfully
  • select only deploys an existing build

Maybe make it something like this:

laika deploy {--select | --ref GIT_REF | --build BUILD_ID }

We could also add a --default option that would fetch the latest version of a git ref (specified in the settings file) and deploy a new build from it.

laika deploy --default
[default_build]
ref = origin/master
@edudobay edudobay self-assigned this Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant