Skip to content

Instantly share code, notes, and snippets.

@ChristianUlbrich
Created January 6, 2021 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristianUlbrich/a700379e90ab942a22d9df07819c272c to your computer and use it in GitHub Desktop.
Save ChristianUlbrich/a700379e90ab942a22d9df07819c272c to your computer and use it in GitHub Desktop.
example-puml-dev-workflow
@startuml
start
:Create <i>Story Branch</i>;
note right
<i>feature/DM-101-story</i>
end note
:Create <i>Draft</i> Pull Request on <b>master</b>;
repeat
:Create <i>Feature Branch</i>;
note left
<i>feature/DM-101/DM-102-feature-for-story</i>
end note
:Implement Subtask with tests and push;
repeat
:test code;
note left
via GitHub Actions on <b>each</b> <i>push</i>
Failure notification via e-mail
end note
backward:Fix tests;
repeat while (Tests fail?) is (yes)
:Create <i>Pull request</i> <b>from</b> <i>Feature Branch</i> <b>on</b> <i>Story Branch</i>;
note right
<i>Feature branch</i> gets <i>deployed</i> to
https://secret.zalari.de
end note
repeat
:Code review;
backward:implement requested changes;
repeat while(checks are failing OR request for change) is (true)
:Merge on <i>Story Branch</i>;
repeat while(are subtasks still) is (open)
->all are completed;
:<i>Ready</i> Pull request <b>on</b> <b>master</b>;
note right
add PO as <i>approver</i>
add <i>label</i> <i>describing</i> change
end note
repeat
:PO tests PR deployment;
note left
via <i>deployed</i> <i>Story branch</i>
end note
backward:re-iterate;
repeat while(checks are failing OR PO demands fixes) is (true)
->lmgt;
:merge into master;
note right
<b>master</b> gets <i>deployed</i> to
https://super-secret.zalari.de
versions are automagically <i>bumped</i> and <i>published</i>
changelog gets <i>generated</i>
end note
stop
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment