Replace "wait for deploy" logic with upstream --detach=false #607

Closed
opened 2024-04-09 08:23:33 +00:00 by decentral1se · 2 comments
Owner

When you run docker stack deploy ... with the latest Docker CLI, you see:

Since --detach=false was not specified, tasks will be created in the background.
In a future release, --detach=false will become the default.

And we can see they've implememented this detach=... finally:

-d, --detach Exit immediately instead of waiting for the stack services to converge (default true)

So, we can finally remove my totally scotch-taped implementation with something that actually works 🎉

When you run `docker stack deploy ...` with the latest Docker CLI, you see: > Since --detach=false was not specified, tasks will be created in the background. > In a future release, --detach=false will become the default. And we can see they've implememented this `detach=...` finally: > -d, --detach Exit immediately instead of waiting for the stack services to converge (default true) So, we can finally remove my totally scotch-taped implementation with something that actually works 🎉
decentral1se added the
enhancement
abra
labels 2024-04-09 08:23:33 +00:00
Author
Owner

Testing a spike on this in e88968a3b7 for the integration tests. The new integration test server is sold af but it revealed that the quick deploy/undeploy runs lead into endless "network not found errors" because the cleanup logic was not there. Now that upstream finally has this, I've incorporated it in. Tests ongoing... looking more solid tho!

Testing a spike on this in https://git.coopcloud.tech/coop-cloud/abra/commit/e88968a3b720306ceafca48c9e3dd20cee929558 for the integration tests. The new integration test server is sold af but it revealed that the quick deploy/undeploy runs lead into endless "network not found errors" because the cleanup logic was not there. Now that upstream finally has this, I've incorporated it in. Tests ongoing... looking more solid tho!
Author
Owner

This has had a huge impact on stabilising abra app undeploy (i.e. waiting for network deletion) 🎉 For abra app deploy I'm seeing some improvement altho I'm unsure it has had as big an impact as undeploy.

This has had a huge impact on stabilising `abra app undeploy` (i.e. waiting for network deletion) 🎉 For `abra app deploy` I'm seeing some improvement altho I'm unsure it has had as big an impact as `undeploy`.
Sign in to join this conversation.
No description provided.