Zero-downtime delivery · 8 / 10 ·
GitHub Actions runs the playbook
This lab has no separate queue panel. GitHub Actions, or the GitLab CI file beside it, runs the same commands.
The command that repeats
ansible-playbook examples/titikterang/ansible/deploy.yml \
-e image_tag=v1.2.4-devimage_tag always arrives through -e. It is not written into the playbook.
- A git push starts the path.
- The base image, then the app image, is built.
- The image is pushed to registry.titikterang.local:5000.
- CI runs ansible-playbook against the idle slot.
examples/titikterang/.github/workflows/deploy.yml and examples/titikterang/.gitlab-ci.yml mirror each other: build the base, build the app, push, deploy.