github kimdre/doco-cd v0.50.0-rc.1

latest releases: v0.57.0, v0.56.0, v0.55.0...
pre-releaseone month ago

What's Changed

This adds a new auto_discover boolean option to the deploy config. If set to true, doco-cd will try to autodiscover projects/stacks to deploy by searching for docker-compose.y(a)ml or compose.y(a)ml files in subdirectories in the working directory (working_dir). Doco-cd will internally generate new deploy configs based on the directory name and inherits all other settings from the base deploy config inside the .doco-cd.yml file (or inline deployment config).
When a app is no longer available in the working_dir (e.g. deleted or moved to another directory outside the working dir), doco-cd will automatically remove the deployed project/stack from the docker host.

For example with a structure like this

.doco-cd.yml
apps/
  wordpress/
    docker-compose.yml
    .env
  nginx/
    docker-compose.yaml
    configs/
      nginx.conf
  misc/
    image.png

and a .doco-cd.yml with the following content:

working_dir: apps/
auto_discover: true

doco-cd would deploy 2 stacks to the docker host:

  • wordpress
  • nginx

✨ Features

  • feat(config): add autodiscovery support for deployment configurations by @kimdre in #766

📦 Dependencies

  • chore(deps): update golang:1.25.4 docker digest to e68f6a0 by @renovate[bot] in #763
  • fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #764

📚 Miscellaneous

  • ci: move spelling errors check job to test.yaml by @kimdre in #765

Full Changelog: v0.49.0...v0.50.0-rc.1

Don't miss a new doco-cd release

NewReleases is sending notifications on new releases.