46 lines
2.1 KiB
TeX
46 lines
2.1 KiB
TeX
\begin{frame}
|
|
\frametitle{And how do we orchestrate all this?}
|
|
\framesubtitle{The workflow}
|
|
\begin{itemize}
|
|
\item<1-> Create a branch
|
|
\item<2-> Develop and commit
|
|
\item<3-> Push to the remote
|
|
\item<4-> Open a Pull Request
|
|
\item<5-> Team review
|
|
\item<6-> Fix if needed
|
|
\item<7-> Merge into main
|
|
\end{itemize}
|
|
|
|
|
|
\begin{tikzpicture}[
|
|
step/.style={rectangle, rounded corners=4pt, draw=gray!50, fill=gray!10, minimum width=2.2cm, minimum height=0.9cm, font=\scriptsize, align=center, text=gray!80},
|
|
active/.style={rectangle, rounded corners=4pt, draw=orange!70, fill=orange!15, minimum width=2.2cm, minimum height=0.9cm, font=\scriptsize\bfseries, align=center, text=orange!90},
|
|
arrow/.style={-{Stealth[length=2mm]}, thick, gray!50},
|
|
node distance=0.6cm
|
|
]
|
|
|
|
% === Mini git diagram below ===
|
|
\node[font=\scriptsize\bfseries, text=gray!60] at (0, -3.2) {Example:};
|
|
|
|
\node[circle, draw, fill=orange!80, minimum size=5mm, font=\tiny\bfseries] (c1) at (1.5, -3.2) {C1};
|
|
\node[circle, draw, fill=orange!80, minimum size=5mm, font=\tiny\bfseries, right=0.8cm of c1] (c2) {C2};
|
|
\node[circle, draw, fill=teal!60, minimum size=5mm, font=\tiny\bfseries, above right=0.5cm and 0.8cm of c2] (f1) {C3};
|
|
\node[circle, draw, fill=teal!60, minimum size=5mm, font=\tiny\bfseries, right=0.8cm of f1] (f2) {C4};
|
|
\node[circle, draw, fill=orange!80, minimum size=5mm, font=\tiny\bfseries, below right=0.5cm and 0.8cm of f2] (m1) {C5};
|
|
|
|
\draw[-{Stealth[length=2mm]}, thick, gray] (c1) -- (c2);
|
|
\draw[-{Stealth[length=2mm]}, thick, teal!70] (c2) -- (f1);
|
|
\draw[-{Stealth[length=2mm]}, thick, teal!70] (f1) -- (f2);
|
|
\draw[-{Stealth[length=2mm]}, thick, teal!70] (f2) -- (m1);
|
|
\draw[-{Stealth[length=2mm]}, thick, gray] (c2) -- (m1);
|
|
|
|
\node[rounded corners, fill=gray!20, draw=gray, font=\tiny\ttfamily, inner sep=2pt, above=0.3cm of m1] {main};
|
|
\node[rounded corners, fill=teal!15, draw=teal, font=\tiny\ttfamily, inner sep=2pt, above=0.3cm of f2] {feature/login};
|
|
|
|
% Labels PR and merge
|
|
\draw[dashed, red!40, thick] (f2) -- (m1) node[midway, right, font=\tiny, text=red!60] {PR + merge};
|
|
|
|
\end{tikzpicture}
|
|
|
|
\end{frame}
|