add demo app

This commit is contained in:
Mukul Sharma
2026-09-02 01:38:16 +05:30
commit efed96875f
7 changed files with 83 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Read by devops-lib's loadConfig stage after checkout — merges into the
# pipeline's config map, overriding whatever homelabPipeline(repo_name: ...)
# passed in the Jenkinsfile. Everything here is optional; this file exists
# mainly to prove the hooks mechanism actually runs, not because this app
# needs to override any of the pipeline defaults.
hooks:
pre_build:
- name: gofmt-check
script: scripts/pre-build-check.sh
# Advisory on purpose for this demo — a real repo would probably
# want this blocking (the default), but failing the one demo app
# over a formatting nit isn't the point here.
blocking: false
post_build:
- name: report-tag
script: scripts/post-build-notify.sh