What's Changed
- Added a new label
cd.doco.job.stop_servicesallowing jobs to specify a comma-separated list of services (within the same or other projects) to be stopped before the job runs and restarted after completion, see the wiki: Temporarily stop services during a job run. - Added new REST API endpoints to track the status of deployments, see Deployment Runs
- Added new available fields to the custom notification body:
.Target: Custom webhook/poll target that was used for the deployment (empty if default target or unused).Commits: Commits deployed since the last deploy (see Notifications/Commit changelog)
Example:environment: APPRISE_NOTIFY_BODY_TEMPLATE: | {{ .DefaultBody }} {{ range .Commits }}- {{ .ShortHash }} {{ .Subject }} ({{ .Author }}) {{ end }}
✨ Features
- feat(job-scheduling): implement service stop/start during scheduled job execution by @kimdre in #1587
- feat(api): add deployment runs tracking endpoints and logic by @kimdre in #1571
🌟 Improvements
- refactor: move helper and type packages to common by @kimdre in #1581
- feat(notification): expose deployment target in notification templates by @JojoMee in #1582
- feat(notification): expose deployed commits in body templates by @dennislapchenko in #1588
🐛 Bug Fixes
📦 Dependencies
- chore(deps): update docker/login-action action to v4.5.2 by @renovate[bot] in #1572
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #1573
- chore(deps): update module mvdan.cc/gofumpt to v0.11.0 by @renovate[bot] in #1574
- fix: replace validator package with go-playground/validator by @kimdre in #1577
- fix(deps): replace gopkg.in/yaml.v3 with go.yaml.in/yaml.v3 by @kimdre in #1578
- fix(deps): upgrade go.yaml.in/yaml from v3 to v4 by @kimdre in #1579
- fix(deps): migrate from robfig/cron to go-co-op/gocron by @kimdre in #1580
- fix(deps): update aws-sdk-go-v2 monorepo by @renovate[bot] in #1583
- fix(deps): update module github.com/go-git/go-git/v5 to v5.19.2 by @renovate[bot] in #1584
- chore(deps): update github/codeql-action digest to f205ea1 by @renovate[bot] in #1589
- chore(deps): update dependency zensical to v0.0.52 by @renovate[bot] in #1590
📚 Miscellaneous
Full Changelog: v0.103.0...v0.104.0