feat: swam stack generation#454
Merged
Merged
Conversation
e99a301 to
f74782b
Compare
introduces a new system to automatically generate and validate Docker Swarm stack files from their source definitions. The `tools/generate_stacks.py` script now consolidates per-service `docker-compose.yml` files and new `swarm.fragment.yml` files into aggregated `stacks/*.yml` artifacts. all `docker-compose.yml` files now include an `x-stack:` annotation to define their target stack. to enforce consistency, a CI job checks for drift between source files and generated stacks. additionally, a nightly workflow automatically regenerates drifted stacks and opens pull requests. the `stackctl.sh` script gains `generate` and `sync` commands, and automatically regenerates stacks before deployment with `up`. common Docker Compose keys incompatible with Swarm (e.g., `container_name`, `restart`, `build`) are removed, default logging is applied, and relative paths are rewritten for Swarm compatibility. also updates Docker image dependencies across various services.
f74782b to
49bd0dc
Compare
…ipts Co-authored-by: Copilot <copilot@github.com>
…_generate_stacks.py Co-authored-by: Copilot <copilot@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.