Open-Source Branching & Releases | DefectDojo Documentation
Open-Source Branching & Releases (Open Source)
Regular releases
The DefectDojo team aims to maintain the following cadence:
- Minor releases: at least once a month on the first Monday of the month.
- Patch/Bugfix: releases every week on Monday.
- Security releases: will be performed outside of our regular cadence depending on severity.
GitHub Actions are the source of truth. The releases are semi-automated. The steps for a regular release are:
- Create the release branch from
devorbugfixand prepare a PR againstmaster( details) \n–> A maintainer verifies and manually merges the PR - Tag, issue draft release and docker build+push ( details) \n–> A maintainer massages the release-drafter notes and publishes the release
- A PR to merge
masterback todevandbugfixis created to re-align the branches ( details)
Security releases
PRs that relate to security issues are done through security advisories which provide a way to work privately on code without prematurely disclosing vulnerabilities.
Release and hotfix model
Diagrams created with plantUML. Find a web-based editor for PlantUML at https://www.planttext.com.
@startuml
participant “Dev Branch” as dev #LightBlue
participant “BugFix Branch” as bugfix #LightGreen
participant “Release Branch” as release #LightGoldenRodYellow
participant “Master Branch” as master #LightSalmon
== Minor Release (Monthly) ==
dev -> release: Create branch “release/2.x.0”
release -> master: Merge
note right: Official Release\n - Tag 2.x.0\n - Push 2.x.0 to DockerHub
master –> bugfix: Merge master into bugfix to realign
master –> dev: Merge master back into dev
== Patch/BugFix Release (Weekly) ==
bugfix -> release: Create branch “release/2.x.y”
release -> master: Merge
note right: Official Release\n - Tag 2.x.y\n - Push 2.x.y to DockerHub
master -> bugfix: Merge master back into bugfix to realign
master –> dev: Merge master into dev to realign
== Security Release (As Needed) ==
master -> release: Create branch “release/2.x.y”
release -> master: Merge
note right: Official Release\n - Tag 2.x.y\n - Push 2.x.y to DockerHub
master –> bugfix: Merge master into bugfix to realign
master –> dev: Merge master into dev to realign
@enduml
``