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

latest releases: v0.58.0-rc.1, v0.57.0, v0.56.0...
pre-release3 months ago

What's Changed

Pre-release for testing the new webhook_filter deployment setting.

Set webhook_filter to a regular expression to whitelist deployment triggers based on the webhook event payload.
The reference in a webhook payload has always a pattern of refs/heads/<branch> for branches and refs/tags/<tag> for tags depending on the event (Or no reference at all if the event is not associated with a tag or a branch event).

Note

If the reference setting value is unset/empty, the reference of the webhook payload will be used for deployments. If reference is set, deployments for all events that pass the webhook_filter, will always run from that branch or tag.

You can specify the filter explicitly or in a loose form. Explicit regular expressions are recommended.
Explicit examples:

  • only on events on the main branch: ^refs/heads/main$
  • only on tag events with semantic versioning: ^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$)

Loose examples:

  • Must contain stable somewhere in the reference: stable

Warning

Loose expressions can allow references that might not be wanted.
E.g. refs/heads/main (without ^ and $) also allows refs/heads/main-something

✨ Features

  • feat(webhook): add webhook event filter to deployment configuration by @kimdre in #658

📦 Dependencies

  • fix(deps): update module github.com/docker/cli to v28.5.0+incompatible by @renovate[bot] in #665

Full Changelog: v0.39.1...v0.40.0-rc.1

Don't miss a new doco-cd release

NewReleases is sending notifications on new releases.