Changeset View
Changeset View
Standalone View
Standalone View
docs/images/automated-debian-jobs.uml
@startuml | @startuml | ||||
skinparam BoxPadding 30 | skinparam BoxPadding 30 | ||||
actor Developer | actor Developer | ||||
box "Phabricator" #LightBlue | box "Phabricator" #LightBlue | ||||
participant GIT as "Repository\ntags" | participant GIT as "Repository\ntags" | ||||
participant HOOK as "post-receive\nhook" | participant HOOK as "post-receive\nhook" | ||||
participant GIT_DEBIAN_UNSTABLE as "debian/unstable-swh" | |||||
participant GIT_DEBIAN_BPO as "debian/<stable>-swh" | |||||
participant Harbormaster | |||||
end box | end box | ||||
box "Jenkins" #LightBlue | box "Jenkins" #LightBlue | ||||
participant IT as "Incoming tag" | participant IT as "Incoming tag" | ||||
participant UFR as "update-for-release" | participant UFR as "update-for-release" | ||||
participant GBP as "gbp-buildpackage" | participant GBP as "gbp-buildpackage" | ||||
participant ABP as "automatic-backport" | participant ABP as "automatic-backport" | ||||
end box | end box | ||||
Show All 21 Lines | @startuml | ||||
IT -> UFR : trigger | IT -> UFR : trigger | ||||
activate UFR | activate UFR | ||||
UFR -> IT : acknowledge start | UFR -> IT : acknowledge start | ||||
deactivate IT | deactivate IT | ||||
hnote over UFR : pull tarball from PyPI job | hnote over UFR : pull tarball from PyPI job | ||||
hnote over UFR : run gbp import-orig | hnote over UFR : run gbp import-orig | ||||
hnote over UFR : update debian/changelog | hnote over UFR : update debian/changelog | ||||
hnote over UFR : tag new debian version\non unstable-swh branch | |||||
UFR -> GIT_DEBIAN_UNSTABLE : push updated branches | UFR -> GIT : push debian version tag | ||||
activate GIT_DEBIAN_UNSTABLE | |||||
deactivate UFR | deactivate UFR | ||||
GIT_DEBIAN_UNSTABLE -> Harbormaster : on new commits | |||||
deactivate GIT_DEBIAN_UNSTABLE | |||||
activate Harbormaster | |||||
Harbormaster -> GBP : trigger jenkins job | |||||
activate GBP | |||||
deactivate Harbormaster | |||||
hnote over GBP : checkout branches | |||||
hnote over GBP : run gbp buildpackage | |||||
GBP -> REPO : push packages to unstable-swh | |||||
GBP -> GIT : push debian/<unstable-swh version> tag | |||||
activate GIT | activate GIT | ||||
deactivate GBP | |||||
GIT -> HOOK : run hook | GIT -> HOOK : run hook | ||||
activate HOOK | deactivate GIT | ||||
activate HOOK | |||||
HOOK -> IT : trigger Jenkins job | HOOK -> IT : trigger Jenkins job | ||||
activate IT | |||||
deactivate HOOK | deactivate HOOK | ||||
deactivate GIT | |||||
hnote over IT : debian unstable-swh\ntag detected | activate IT | ||||
create ABP | |||||
IT -> ABP : trigger | |||||
activate ABP | |||||
ABP -> IT : acknowledge start | |||||
deactivate IT | |||||
hnote over ABP : merge pushed tag | hnote over IT : debian version\ntag detected | ||||
hnote over ABP : update changelog\nwith backports mention | |||||
ABP -> GIT_DEBIAN_BPO : push updated branches | |||||
activate GIT_DEBIAN_BPO | |||||
deactivate ABP | |||||
GIT_DEBIAN_BPO -> Harbormaster : on new commits | IT -> GBP : trigger | ||||
deactivate GIT_DEBIAN_BPO | |||||
activate Harbormaster | |||||
Harbormaster -> GBP : trigger jenkins job | |||||
activate GBP | activate GBP | ||||
deactivate Harbormaster | GBP -> IT : acknowledge start | ||||
deactivate IT | |||||
hnote over GBP : checkout branches | hnote over GBP : checkout branches | ||||
hnote over GBP : run gbp buildpackage | hnote over GBP : run gbp buildpackage | ||||
GBP -> REPO : push packages to <stable>-swh | GBP -> REPO : push packages to unstable-swh | ||||
GBP -> GIT : push debian/<stable-swh version> tag | |||||
create ABP | |||||
activate ABP | |||||
deactivate GBP | deactivate GBP | ||||
hnote over ABP : merge pushed tag | |||||
hnote over ABP : update changelog\nwith backports mention | |||||
hnote over ABP : tag new debian version\non <stable>-swh branch | |||||
ABP -> GIT : push debian version tag | |||||
deactivate ABP | |||||
activate GIT | |||||
GIT -> HOOK : run hook | GIT -> HOOK : run hook | ||||
activate HOOK | deactivate GIT | ||||
activate HOOK | |||||
HOOK -> IT : trigger Jenkins job | HOOK -> IT : trigger Jenkins job | ||||
activate IT | |||||
deactivate HOOK | deactivate HOOK | ||||
deactivate GIT | |||||
hnote over IT : debian stable-swh\ntag detected | activate IT | ||||
IT --> IT : ignoring | hnote over IT : debian version\ntag detected | ||||
IT -> GBP : trigger | |||||
activate GBP | |||||
GBP -> IT : acknowledge start | |||||
deactivate IT | deactivate IT | ||||
hnote over GBP : checkout branches | |||||
hnote over GBP : run gbp buildpackage | |||||
GBP -> REPO : push packages to <stable>-swh | |||||
deactivate GBP | |||||
@enduml | @enduml |