Skip to content

Instantly share code, notes, and snippets.

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