CICD (automatic deploys, tests & loadtests)
in the module repo’s
/.github/dependabot.yml
From Code to End user.
High level overview
in the module repo’s PRs
in the module repo’s
/.github/workflows/code-sniffer.yml
points to repo with shared
actions
The shared action
in the site repo PR’s
in the site repo PR’s
points to repo with shared
actions
The shared action
Every merge (commit on master)
Build images
Deploy to TST
Run tests on ENV
13
AUTOMATIC actions
BUILD actions
DEPLOYMENT actions
COMMAND actions
14
Github actions - triggers
✨ Automagic
Nesting can only happen 1 level deep
15
Github actions - triggers
DIY style
Nesting can only happen 1 level deep
16
Workflows
github has them
Pitfalls
W
a
r
n
i
n
g
GITHUB NESTING !== NESTING
Pitfalls
W
a
r
n
i
n
g
Maintenance POD
- show maintenance page while doing deploys
Deploys with zero downtime
Pitfalls
W
a
r
n
i
n
g
Docker hub RATE LIMIT
-> FIX 1 : get account on docker hub
-> FIX 2: go to PAID account on docker hub
-> Permanent fix: use Harbour (for container caching on
workers)
Pitfalls
W
a
r
n
i
n
g
OFCOURSE THIS RATE LIMIT HAPPENS ON GOLIVE DAY. GREAT STORY

[k8s] github CICD (1).pdf