Reconsidering deploy --update / rollback #127

Closed
opened 2021-09-09 12:56:10 +00:00 by decentral1se · 2 comments
Owner

coop-cloud/abra#15


copied from old issue:

Do we even need --upgrade now? Maybe let's discuss this once all the stuff is merged and we can think through some consolidation of the CLI.
@decentral1se, #107

Suggestion:

  • abra app <app> deploy just handles initial deploys, and re-deploys with --force
  • abra app <app> upgrade just handles upgrades -- latest version by default, or specified new version
  • abra app <app> rollback (or downgrade?) just handles downgrades -- latest-but-one version by default, or specified older version.

So the three subcommands are very similar, except deploy won't allow a version change, upgrade only allows version upgrades (and defaults to latest available), rollback only allows downgrades (and defaults to latest-but-one).

But wide open to other ideas.

> https://git.coopcloud.tech/coop-cloud/abra/issues/15 --- copied from old issue: > Do we even need `--upgrade` now? Maybe let's discuss this once all the stuff is merged and we can think through some consolidation of the CLI. > — @decentral1se, #107 Suggestion: - `abra app <app> deploy` just handles initial deploys, and re-deploys with `--force` - `abra app <app> upgrade` just handles upgrades -- latest version by default, or specified new version - `abra app <app> rollback` (or `downgrade`?) just handles downgrades -- latest-but-one version by default, or specified older version. So the three subcommands are very similar, except `deploy` won't allow a version change, `upgrade` only allows version upgrades (and defaults to latest available), `rollback` only allows downgrades (and defaults to latest-but-one). But wide open to other ideas.
femmefaytale added the
question
label 2021-09-09 13:15:00 +00:00
decentral1se added this to the (deleted) milestone 2021-09-09 14:25:16 +00:00
decentral1se added this to the Beta release (software) project 2021-09-10 09:53:27 +00:00
decentral1se added
enhancement
and removed
question
labels 2021-09-20 16:28:07 +00:00
Owner

by @decentral1se:

Great! One minor comment:

abra app upgrade just handles upgrades -- latest version by default, or specified new version
If that jumps a major version, it would probably be bad. So let's get a review/prompt in there for sure to make sure people know what is going on before making the deployment.

by @decentral1se: > Great! One minor comment: >> abra app upgrade just handles upgrades -- latest version by default, or specified new version > If that jumps a major version, it would probably be bad. So let's get a review/prompt in there for sure to make sure people know what is going on before making the deployment.
decentral1se self-assigned this 2021-10-10 23:49:15 +00:00
Author
Owner

Gonna try to finally squash this one.

Gonna try to finally squash this one.
Sign in to join this conversation.
No description provided.