Implement stack version and update logic #82

Closed
opened 2021-02-17 23:05:09 +00:00 by decentral1se · 2 comments
Owner

Following coop-cloud/organising#34, the idea might be then to use docker tag to tag a successfuly deployed ..._app container (we really do need that naming convention then!) with the ABRA_TYPE_... version metadata.

Then we have containers running with version metadata that we control.

Following step is then to do a diff of that version metadata on the running container in the stack with the app repo specified metadata when running the next deploy.

My cautious self is leaning towards always bailing out on abra <app> deploy when seeing a version update. Then giving a warning and asking to pass --update if OK or something. Unsure.

Following https://git.autonomic.zone/coop-cloud/organising/issues/34, the idea might be then to use `docker tag` to tag a successfuly deployed `..._app` container (we really do need that naming convention then!) with the `ABRA_TYPE_...` version metadata. Then we have containers running with version metadata that we control. Following step is then to do a diff of that version metadata on the running container in the stack with the app repo specified metadata when running the next deploy. My cautious self is leaning towards always bailing out on `abra <app> deploy` when seeing a version update. Then giving a warning and asking to pass `--update` if OK or something. Unsure.
decentral1se added the
enhancement
design
labels 2021-02-17 23:05:09 +00:00
decentral1se self-assigned this 2021-02-17 23:05:09 +00:00
Author
Owner

coop-cloud/organising#34 (comment) seems to be looking sensible! Might try to adjust the deploy logic to just add those lables as a first step next time I get a chance.

https://git.autonomic.zone/coop-cloud/organising/issues/34#issuecomment-3876 seems to be looking sensible! Might try to adjust the deploy logic to just add those lables as a first step next time I get a chance.
Owner

Excellent stuff.

My cautious self is leaning towards always bailing out on abra <app> deploy when seeing a version update. Then giving a warning and asking to pass --update if OK or something. Unsure.

Sounds good, maybe we add a dedicated version check as well? Possibly add to abra app ls and/or abra app <app> check?

Excellent stuff. > My cautious self is leaning towards always bailing out on `abra <app> deploy` when seeing a version update. Then giving a warning and asking to pass `--update` if OK or something. Unsure. Sounds good, maybe we add a dedicated version check as well? Possibly add to `abra app ls` and/or `abra app <app> check`?
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#82
No description provided.