Skip to content

Releases: kimdre/doco-cd

v0.32.0-rc.1

25 Jul 16:58
163dea7
Compare
Choose a tag to compare
v0.32.0-rc.1 Pre-release
Pre-release

Pre-release for testing

What's Changed

With this Release it is now possible to send status notifications of deployments to various platforms using the Apprise API Docker Container (See also the Apprise main repo).

New App settings to configure the Apprise integration:

  • APPRISE_API_URL: The URL of the Apprise API, .e.g http://apprise:8000/notify
  • APPRISE_NOTIFY_URLS: A comma-separated list of Apprise-URLs to send notifications to the supported platforms.
  • APPRISE_NOTIFY_URLS_FILE: Alternatively the file containing the Apprise-URLs (e.g. for usage with a secret)
  • APPRISE_NOTIFY_LEVEL: The minimum level of notifications to send to the Apprise notification service, must be one of info, success (default), warning, failure.

Example docker-compose.yaml

# docker-compose.yaml
services:
  app:
    container_name: doco-cd
    ...
    depends_on:
      - apprise
    environment:
      TZ: Europe/Berlin
      HTTP_PORT: 80
      LOG_LEVEL: info
      APPRISE_API_URL: http://apprise:8000/notify
      APPRISE_NOTIFY_LEVEL: success
      APPRISE_NOTIFY_URLS: "pover://{user_key}@{token},mailto://{user}:{password}@{domain}"
  ...

  apprise:
    image: caronc/apprise:latest
    restart: unless-stopped
    ports:
      - "8000:8000"
    environment:
      APPRISE_WORKER_COUNT: 1

✨ Features

feat: add Apprise notification integration by @kimdre in #528

Full Changelog: v0.31.1...v0.32.0

v0.31.1

25 Jul 10:49
32900e3
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes and Security

🌟 Improvements

  • fix: implement retry logic for fetching latest app version from GitHub API by @kimdre in #513

📦 Dependencies

  • fix(deps): update module github.com/spf13/pflag to v1.0.7 by @renovate[bot] in #512
  • chore(deps): update github/codeql-action digest to d6bbdef by @renovate[bot] in #514
  • chore(deps): update github/codeql-action digest to 4e828ff by @renovate[bot] in #516
  • chore(deps): update golang:1.24.5 docker digest to ef5b4be by @renovate[bot] in #517
  • fix(deps): update module github.com/compose-spec/compose-go/v2 to v2.8.0 by @renovate[bot] in #522
  • chore(deps): pin cyclenerd/hcloud-github-runner action to 5545b71 by @renovate[bot] in #524
  • chore(deps): update module github.com/bombsimon/wsl/v5 to v5.1.1 by @renovate[bot] in #525
  • fix(deps): update module github.com/compose-spec/compose-go/v2 to v2.8.1 by @renovate[bot] in #526
  • fix(deps): update module github.com/docker/compose/v2 to v2.39.0 by @renovate[bot] in #523
  • fix(deps): update module github.com/docker/compose/v2 to v2.39.1 by @renovate[bot] in #527

📚 Miscellaneous

  • ci: build release image with self-hosted runner by @kimdre in #521

Full Changelog: v0.31.0...v0.31.1

v0.31.1-rc.1

24 Jul 20:44
c5f4e3f
Compare
Choose a tag to compare
v0.31.1-rc.1 Pre-release
Pre-release

What's Changed

🐛 Bug Fixes and Security

🌟 Improvements

  • fix: implement retry logic for fetching latest app version from GitHub API by @kimdre in #513

📦 Dependencies

  • fix(deps): update module github.com/spf13/pflag to v1.0.7 by @renovate[bot] in #512
  • chore(deps): update github/codeql-action digest to d6bbdef by @renovate[bot] in #514
  • chore(deps): update github/codeql-action digest to 4e828ff by @renovate[bot] in #516
  • chore(deps): update golang:1.24.5 docker digest to ef5b4be by @renovate[bot] in #517

Full Changelog: v0.31.0...v0.31.1-rc.1

v0.31.0

20 Jul 19:59
531254a
Compare
Choose a tag to compare

What's Changed

With this release doco-cd now supports Docker Swarm Mode. If the Docker daemon is running in Swarm mode, doco-cd will detect this automatically and deploy everything as Swarm stacks instead of simple Compose projects.

In Swarm mode, doco-cd will automatically append a short hash to the name of configs or secrets deployed by the stack, rotate them if their contents change and also clean-up/prune old versions.

You can overwrite this to always deploy as Compose projects while running doco-cd in a Swarm environment by setting the DOCKER_SWARM_FEATURES environment variable to false (See the Docker-specific App Settings).

See more info in the wiki: https://github.com/kimdre/doco-cd/wiki/Swarm-Mode

Please let me know if you encounter any bugs.

✨ Features

  • feat: add support for docker swarm mode by @kimdre in #508

🌟 Improvements

  • refactor: move Docker Swarm mode check to event handlers by @kimdre in #510

📚 Miscellaneous

Full Changelog: v0.30.0...v0.31.0

v0.30.0

13 Jul 16:38
a9b8f95
Compare
Choose a tag to compare

This release adds a per-repository lock mechanism to prevent concurrent jobs/deployments for the same repository. If a job is already running, new webhook requests receive an immediate HTTP 429 response and poll events get skipped, ensuring only one job per repository runs at a time.

What's Changed

✨ Features

  • feat: add repository locking mechanism in webhook and polling handlers by @kimdre in #506

📦 Dependencies

  • chore(deps): update dependency golang to v1.24.5 by @renovate[bot] in #503
  • chore(deps): update module golang.org/x/tools to v0.35.0 by @renovate[bot] in #504

📚 Miscellaneous

  • ci: add revive linter configuration by @kimdre in #501
  • ci: add additional defer linter by @kimdre in #502
  • ci: add unhandled-error linter configuration by @kimdre in #505

Full Changelog: v0.29.1...v0.30.0

v0.29.1

12 Jul 12:06
88564a3
Compare
Choose a tag to compare

What's Changed

📦 Dependencies

  • chore(deps): update golang docker tag to v1.24.5 by @renovate[bot] in #493
  • fix(deps): update module github.com/docker/cli to v28.3.2+incompatible by @renovate[bot] in #494
  • chore(deps): update golang docker tag to v1.24.5 by @renovate[bot] in #495
  • fix(deps): update module github.com/docker/docker to v28.3.2+incompatible by @renovate[bot] in #496
  • fix(deps): update module golang.org/x/net to v0.42.0 by @renovate[bot] in #499

📚 Miscellaneous

  • ci: update deprecated set-output command in build-dev.yaml by @kimdre in #500

Full Changelog: v0.29.0...v0.29.1

v0.29.0

10 Jul 22:16
1ccd2b4
Compare
Choose a tag to compare

What's Changed

✨ Features

  • feat: implement changed file detection for stack deployment by @kimdre in #491
    With this version, doco-cd now redeploys containers if their files from configs: or secrets: blocks or bind mounts have changed after a commit.

📦 Dependencies

  • chore(deps): update aquasecurity/trivy-action digest to 77137e9 by @renovate[bot] in #489
  • fix(deps): update module github.com/docker/compose/v2 to v2.38.2 by @renovate[bot] in #492

Full Changelog: v0.28.1...v0.29.0

v0.28.1

07 Jul 14:40
e760e1a
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes and Security

🌟 Improvements

  • fix: enhance metrics with labels by @kimdre in #485
  • fix: update default metrics port from 9090 to 9120 by @kimdre in #486

📦 Dependencies

Full Changelog: v0.28.0...v0.28.1

v0.28.0

06 Jul 23:25
d08fd5b
Compare
Choose a tag to compare

What's Changed

✨ Features

  • feat: add Prometheus metrics by @kimdre in #481
    The metrics endpoint can by default be accessed via :9090/metrics. You can change the Port using the METRICS_PORT env var.

🌟 Improvements

  • fix: prevent HTTP and metrics ports from being the same by @kimdre in #482

Full Changelog: v0.27.0...v0.28.0

v0.27.0

06 Jul 13:50
2236b23
Compare
Choose a tag to compare

What's Changed

🌟 Improvements

  • fix: redeploy only changed compose porjects when multiple deployments are definied by @kimdre in #474 and #475

📦 Dependencies

  • fix(deps): update module github.com/docker/compose/v2 to v2.38.1 by @renovate in #478
  • fix(deps): update module github.com/compose-spec/compose-go/v2 to v2.7.1 by @renovate in #477
  • chore(deps): update module github.com/bombsimon/wsl/v4 to v5 by @renovate in #479

📚 Miscellaneous

  • fix: add linters and improve code quality by @kimdre in #480

Full Changelog: v0.26.1...v0.27.0