Skip to content

DRAFT: add deploy sub-command invoking docker stack deploy#257

Draft
KiaraGrouwstra wants to merge 3 commits into
hercules-ci:mainfrom
KiaraGrouwstra:stack
Draft

DRAFT: add deploy sub-command invoking docker stack deploy#257
KiaraGrouwstra wants to merge 3 commits into
hercules-ci:mainfrom
KiaraGrouwstra:stack

Conversation

@KiaraGrouwstra
Copy link
Copy Markdown
Contributor

as per my curiosity toward docker stack/swarm stemming from their support for external / long-syntax secrets, i tried my hand at a quick implementation adding a deploy sub-command invoking docker stack deploy.
my implementation here is kinda hacky, so this may need some more eyes.

that said, stack deploy seems the primary command in docker stack/swarm involving the compose file arion manages thru nix, so one could as well just invoke their remaining commands directly.

resolves docker stack deploy error:
networks.default Additional property name is not allowed
my implementation here is a bit hacky, so this may need some more eyes.

that said, swarm deploy seems the primary command in docker stack/swarm
involving the compose file arion manages thru nix,
so one could as well just invoke their remaining commands directly.
@KiaraGrouwstra KiaraGrouwstra marked this pull request as draft August 3, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant