Changeset View
Changeset View
Standalone View
Standalone View
docs/images/automatic-backport.uml
- This file was added.
@startuml | |||||
participant JOB as "job" | |||||
participant REPO as "git-repository (~ phabricator forge)" | |||||
participant CI as "automatic-backport" | |||||
activate REPO | |||||
activate CI | |||||
activate JOB | |||||
JOB->REPO: pushes new tag on branch params.DESTINATION | |||||
deactivate JOB | |||||
REPO-->CI: triggers event to notify changes | |||||
CI->REPO: clones 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 | | |||||
| job | jenkins job modifying the git repository by tagging (e.g. gbp-buildpackage) | | |||||
| 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 |