Reinstate pre-deploy prompt #196

Closed
opened 2021-10-11 19:35:26 +00:00 by 3wordchant · 0 comments
Owner

Describe the problem to be solved

The underlying docker stack deploy is a serious foot-gun; you can easily destroy a running app by overwriting its STACK_NAME with something else, or get rate-limited by letsencrypt with an incorrect domain.

In the halcyon days of Bash, we had a prompt like

Deployment overview:                                                                                                                                                       Server: demo.autonomic.zone                                                                                                                                              Compose: /tmp/abra_demo/apps/traefik/compose.yml                                                                                                                         Domain: demo.autonomic.zone                                                                                                                                              Stack: traefik_demo                                                                                                                                                      Versions:                                                                                                                                                                  traefik_demo_app (traefik):                                                                                                                                                undeployed!               
continue (y/n)?       

Describe the solution you would like

What about this, or something like it, adding back?

## Describe the problem to be solved The underlying `docker stack deploy` is a serious foot-gun; you can easily destroy a running app by overwriting its `STACK_NAME` with something else, or get rate-limited by letsencrypt with an incorrect domain. In the halcyon days of Bash, we had a prompt like ``` Deployment overview: Server: demo.autonomic.zone Compose: /tmp/abra_demo/apps/traefik/compose.yml Domain: demo.autonomic.zone Stack: traefik_demo Versions: traefik_demo_app (traefik): undeployed! continue (y/n)? ``` ## Describe the solution you would like What about this, or something like it, adding back?
3wordchant added the
enhancement
abra
labels 2021-10-11 19:35:26 +00:00
3wordchant changed title from Reinstate to Reinstate pre-deploy prompt 2021-10-11 19:35:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
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/organising#196
No description provided.