Reconsidering deploy --update / rollback #137

Closed
opened 2021-04-05 14:24:41 +00:00 by 3wordchant · 2 comments
Owner

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.

> 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.
Owner

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.

Great! One minor comment: > abra app <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 added this to the Beta release milestone 2021-04-07 19:31:26 +00:00
decentral1se added the
versioning
label 2021-04-17 22:44:17 +00:00
Owner

Will be discussed over in coop-cloud/go-abra#15.

Will be discussed over in https://git.autonomic.zone/coop-cloud/go-abra/issues/15.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/abra#137
No description provided.