diff --git a/docs/images/automatic-backport.uml b/docs/images/automatic-backport.uml new file mode 100644 --- /dev/null +++ b/docs/images/automatic-backport.uml @@ -0,0 +1,27 @@ +@startuml + participant REPO as "git-repository" + participant CI as "automatic-backport" + activate REPO + activate CI + + REPO->CI: new tag on branch params.DESTINATION + CI-->CI: Clone repository locally + CI-->CI: Checks for backport to build + alt if backport to build + CI-->CI: Prepares build environment (DEBEMAIL, DEBFULLNAME) + CI-->CI: Merges new tag to the backport branch + CI-->CI: Edits changelog for new release and commit + alt if not params.DRY_RUN + CI->REPO: pushes new tag on git repository + end + deactivate CI + end + + legend left + | Input job parameter | description | + | params.DESTINATION | debian distribution to backport to (e.g. stretch-swh) | + | params.SOURCE | debian distribution to backport from (e.g. unstable-swh) | + | params.DRY_RUN | To actually push or not the new resulting tag | + endlegend + +@enduml