CI/CD: Avoid restarting unaffected services on every push to main
#1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At present, pushes to the
mainbranch trigger a deployment that restarts the entire Docker Compose stack, even when changes only affect a subset of services or non-runtime files (e.g. documentation).This is functional but sub-optimal for availability, especially given that most services are independent and configuration changes are often scoped to a single container.
This issue tracks an enhancement to make deployments service-aware, so that only services whose configuration or dependencies have changed are restarted.