OpenShift EX288 Practice Q5: Customize BuildConfig with a Post-Commit Hook

Опубликовано: 14 Сентябрь 2026
на канале: Omar Perez
127
3

In this video, I walk through EX288 Practice Question 5: configuring a post-commit build hook on OpenShift so that a script runs automatically every time a build completes, without modifying the original Git repo.

What's covered:
Configuring a post-commit hook on the BuildConfig to execute mailer.py after every build
Triggering a new build and verifying the script ran in the build logs
Confirming future rebuilds automatically trigger the post-commit hook

🔔 Subscribe for more OpenShift, Kubernetes, and DevOps content.

---

🔗 Resources

EX288 Exam Objectives: https://www.redhat.com/en/services/tr...

https://github.com/OPerezSandoval/ex2...