Skip to content

Instantly share code, notes, and snippets.

@holyzfy
Last active March 2, 2016 09:37
Show Gist options
  • Save holyzfy/d648767580c9c3daafda to your computer and use it in GitHub Desktop.
Save holyzfy/d648767580c9c3daafda to your computer and use it in GitHub Desktop.
febu部署流程
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
<svg id="mermaidChart1" width="100%" xmlns="http://www.w3.org/2000/svg" height="100%" style="background: #fff;max-width:950px;" viewBox="-50 -10 950 863"><g></g><g><line id="actor4" x1="75" y1="5" x2="75" y2="852" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="0" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="75" y="37.5" class="actor" style="text-anchor: middle;">远程仓库</text></g><g><line id="actor5" x1="275" y1="5" x2="275" y2="852" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="200" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="275" y="37.5" class="actor" style="text-anchor: middle;">src</text></g><g><line id="actor6" x1="475" y1="5" x2="475" y2="852" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="400" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="475" y="37.5" class="actor" style="text-anchor: middle;">build</text></g><g><line id="actor7" x1="675" y1="5" x2="675" y2="852" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="600" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="675" y="37.5" class="actor" style="text-anchor: middle;">production</text></g><defs><marker id="arrowhead" refX="5" refY="2" markerWidth="6" markerHeight="4" orient="auto"><path d="M 0,0 V 4 L6,2 Z"></path></marker></defs><defs><marker id="crosshead" markerWidth="15" markerHeight="8" orient="auto" refX="16" refY="4"><path fill="black" stroke="#000000" stroke-width="1px" d="M 9,2 V 6 L16,4 Z" style="stroke-dasharray: 0px, 0px;"></path><path fill="none" stroke="#000000" stroke-width="1px" d="M 0,1 L 6,7 M 6,1 L 0,7" style="stroke-dasharray: 0px, 0px;"></path></marker></defs><g><text x="175" y="118" class="messageText" style="text-anchor: middle;">git clone</text><line x1="75" y1="125" x2="275" y2="125" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><line x1="65" y1="75" x2="285" y2="75" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="285" y1="75" x2="285" y2="135" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="65" y1="135" x2="285" y2="135" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="65" y1="75" x2="65" y2="135" stroke-width="2" stroke="#526e52" class="loopLine"></line><rect x="65" y="75" fill="#526e52" stroke="none" width="50" height="20" rx="0" ry="0" class="labelBox"></rect><text x="72.5" y="90" fill="white" class="labelText"><tspan x="72.5">opt</tspan></text><text x="175" y="90" fill="black" class="loopText" style="text-anchor: middle;"><tspan x="175">[ 未初始化 ]</tspan></text></g><g><text x="175" y="163" class="messageText" style="text-anchor: middle;">git pull</text><line x1="75" y1="170" x2="275" y2="170" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="275" y="198" class="messageText" style="text-anchor: middle;">git.checkout</text><path d="M 275,205 C 335,195 335,235 275,225" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></path></g><g><text x="475" y="263" class="messageText" style="text-anchor: middle;">除js、css的静态资源:打版本</text><line x1="275" y1="270" x2="675" y2="270" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="375" y="298" class="messageText" style="text-anchor: middle;">css: 替换静态资源内链</text><line x1="275" y1="305" x2="475" y2="305" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="575" y="333" class="messageText" style="text-anchor: middle;">压缩,打版本</text><line x1="475" y1="340" x2="675" y2="340" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="375" y="393" class="messageText" style="text-anchor: middle;">js: optimize</text><line x1="275" y1="400" x2="475" y2="400" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="575" y="428" class="messageText" style="text-anchor: middle;">打版本</text><line x1="475" y1="435" x2="675" y2="435" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="375" y="463" class="messageText" style="text-anchor: middle;">config.js: 替换paths值</text><line x1="275" y1="470" x2="475" y2="470" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="575" y="498" class="messageText" style="text-anchor: middle;">压缩,打版本</text><line x1="475" y1="505" x2="675" y2="505" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="475" y="553" class="messageText" style="text-anchor: middle;">js: 压缩,打版本</text><line x1="275" y1="560" x2="675" y2="560" class="messageLine0" stroke-width="2" stroke="black" style="fill: none;"></line></g><g><line x1="265" y1="350" x2="685" y2="350" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="685" y1="350" x2="685" y2="570" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="265" y1="570" x2="685" y2="570" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="265" y1="350" x2="265" y2="570" stroke-width="2" stroke="#526e52" class="loopLine"></line><line x1="265" y1="515" x2="685" y2="515" stroke-width="2" stroke="#526e52" class="loopLine"></line><rect x="265" y="350" fill="#526e52" stroke="none" width="50" height="20" rx="0" ry="0" class="labelBox"></rect><text x="272.5" y="365" fill="white" class="labelText"><tspan x="272.5">alt</tspan></text><text x="475" y="365" fill="black" class="loopText" style="text-anchor: middle;"><tspan x="475">[ AMD ]</tspan></text><text x="475" y="530" fill="black" class="loopText" style="text-anchor: middle;"><tspan x="475">[ 非AMD ]</tspan></text></g><g><text x="475" y="598" class="messageText" style="text-anchor: middle;">VM: 收集静态资源链接信息</text><line x1="275" y1="605" x2="675" y2="605" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><rect x="700" y="615" fill="#EDF2AE" stroke="#666" width="150" height="52" rx="0" ry="0" class="note"></rect><text x="716" y="638" fill="black" class="noteText"><tspan x="716">[{src, dest, rel},</tspan><tspan dy="16" x="716">...]</tspan></text></g><g><text x="475" y="695" class="messageText" style="text-anchor: middle;">VM: 替换静态资源内链</text><line x1="275" y1="702" x2="675" y2="702" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="675" y="730" class="messageText" style="text-anchor: middle;">后处理</text><path d="M 675,737 C 735,727 735,767 675,757" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></path></g><g><rect x="0" y="787" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="75" y="824.5" class="actor" style="text-anchor: middle;">远程仓库</text></g><g><rect x="200" y="787" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="275" y="824.5" class="actor" style="text-anchor: middle;">src</text></g><g><rect x="400" y="787" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="475" y="824.5" class="actor" style="text-anchor: middle;">build</text></g><g><rect x="600" y="787" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="675" y="824.5" class="actor" style="text-anchor: middle;">production</text></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment