Skip to content

Instantly share code, notes, and snippets.

@kwk
Created April 28, 2023 12:14
Show Gist options
  • Save kwk/2f60ed498fc39e8a90896f4ac533a0e6 to your computer and use it in GitHub Desktop.
Save kwk/2f60ed498fc39e8a90896f4ac533a0e6 to your computer and use it in GitHub Desktop.
Embed image in marmaid sequence diagram
sequenceDiagram
autonumber

actor alice as Alice

box Github.com
participant gh as Github.com Website
participant ghapi as Github.com API
end

box ngrok
participant forwarder as ngrok
end

box Local host developer machine
participant app as "<img src='https://raw.githubusercontent.com/kwk/buildbot-app/main/docs/media/logo/logo-round-small.png' width='20px' height='20px'  />Buildbot<br/>App"
participant master as Buildbot master
participant worker1 as Buildbot worker1
participant worker2 as Buildbot worker2
participant worker3 as Buildbot worker3
end

alice ->> gh : Create PR comment: "/buildbot"
note over alice : The semantics are not defined so<br/>I just picked a simple string<br/>to kick off the pipeline.

ghapi ->> forwarder : Send issue_comment Webhook
forwarder ->> app : forward this<br/>inbound<br/>request<br/>(and the<br/>ones below,<br/>if any)
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment