github kimdre/doco-cd v0.57.0

3 hours ago

What's Changed

SSH cloning support

Okay, I said v0.55.0 was the last release this year but I still had some time, so I implemented the SSH support for repository cloning. See the new app settings to define the SSH private key for cloning:

  • SSH_PRIVATE_KEY -> the private key used for SSH cloning
  • SSH_PRIVATE_KEY_FILE -> file containing the private key
  • SSH_PRIVATE_KEY_PASSPHRASE -> passphrase for the private key (if key was generated with a passphrase)
  • SSH_PRIVATE_KEY_PASSPHRASE_FILE -> file containing the passphrase

Also see Setup SSH Key in the wiki for a short tutorial how to generate and use a SSH key.

In the poll settings, you can then define a SSH clone url as the url value (e.g. git@github.com:kimdre/doco-cd.git)

Healthcheck

Also in v0.56.0 I changed the container healthcheck command but I forgot to mention it in the release. If you have the healthcheck test key set in your docker-compose.yml, please change it so that the correct healthcheck command is being used.

healthcheck:
-   test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/v1/health" ]  # Also change the port here if you change the default HTTP_PORT env var
+   test: [ "CMD", "/doco-cd", "healthcheck" ]

✨ Features

  • feat(git): add SSH support for repository cloning by @kimdre in #897

📦 Dependencies

  • chore(deps): update docker/setup-buildx-action digest to 8d2750c by @renovate[bot] in #903

Full Changelog: v0.56.0...v0.57.0

Don't miss a new doco-cd release

NewReleases is sending notifications on new releases.