Skip to content

Instantly share code, notes, and snippets.

@apostergiou
Forked from sudermanjr/ci-cd-example.diagram
Created March 12, 2019 14:35
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 apostergiou/ffdfc0b00a21756128dbda28af853524 to your computer and use it in GitHub Desktop.
Save apostergiou/ffdfc0b00a21756128dbda28af853524 to your computer and use it in GitHub Desktop.
Git Actions: CI System Actions:
+-------------------------+ +-----------------+
+--► Create a Feature Branch | +---► Build Container |
| +------------+------------+ | +--------+--------+
| | | |
| | | |
| +--------▼--------+ | +-------▼--------+
| +---► Push the Branch +-------+ | Push Container |
| | +--------+--------+ +-------+--------+
| | | |
| | | |
| | +------▼------+ +---------▼-----------+
| +-----+ Test/Verify ◄--------+ | Deploy Container to |
| +------+------+ | | Ephemeral Namespace |
| | | +---------+-----------+
| | | |
| | +-------------+
| |
| | +-----------------+
| | +------► Build Container |
| +--------▼--------+ | +--------+--------+
| +---► Merge to Master +----+ |
| | +--------+--------+ |
| | | +-------▼--------+
| | | | Push Container |
| | +------▼------+ +-------+--------+
| +-----+ Test/Verify ◄-------+ |
| +------+------+ | |
| | | +---------▼-----------+
| | | | Deploy Container to |
| | | | Staging Namespace |
| | | +---------+-----------+
| | | |
| | +--------------+
| |
| +------▼-----+ +---------------------+
+--------+ Tag Master +-------------► Deploy Container to |
+------------+ | Production |
+---------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment