1.5 KiB
1.5 KiB
tags, relates-to, creation-date, modification-date
| tags | relates-to | creation-date | modification-date | ||
|---|---|---|---|---|---|
|
2024-04-09 09:46 | Tuesday 9th April 2024 09:49:48 |
Git CI/CD
Compass
[!multi-column]
[!info]+ Comes from Somewhere
[!success]+ Similar to Something
[!danger]+ Competes with Something
[!seealso]+ Leads to Somewhere
Core
In a trunk based UE game development environment, here's a list of the basic actions taken to make the game go through the whole CI/CD process.
CI
- MANUAL: create a branch from
mainto code something - MANUAL: commit and push to this branch
- AUTO: build the game, run the game (null hypothesis test)
- AUTO: run basic tests (unit/functional).
- AUTO: on success, create a PR.
- AUTO: labelling with
feat,fix,chore, optionallycode-review. If labelled ascode-review, let it sit. - AUTO: otherwise, merge to
mainand delete current branch - METRIC: This should take minutes max.
CD
- AUTO/MANUAL: on PR merge, if the PR is
feat, bump the minor version tag. if the PR isfixorchore, bump the patch version.- AUTO: build, cook, stage, package and archive the game (development)
- AUTO: run tests on build (acceptance, E2E)
- AUTO: on success upload the result to a running build release.
- METRIC: This should take minutes max.
- NIGHTLY/MANUAL: either each night or on manual workflow trigger, make a complete build.
- AUTO: build, cook, stage, package and archive the game (production)