4 Commits

Author SHA1 Message Date
unkinben 1603c6bc31 Merge pull request 'feat: validate g10k configuration' (#5) from benvin/g10k-test into master
Reviewed-on: #5
2026-03-17 18:56:54 +11:00
unkinben 53b6d458f6 feat: validate g10k configuration
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/g10k-validate Pipeline was successful
- add woodpecker workflow to validate and run g10k
2026-03-17 18:23:15 +11:00
unkinben b4ac67cda0 Merge pull request 'chore: hardlink compat cachedir' (#4) from benvin/cachedir into master
Reviewed-on: #4
2026-03-17 17:51:00 +11:00
unkinben ef9fb54c5a chore: hardlink compat cachedir
ci/woodpecker/pr/pre-commit Pipeline was successful
with kubernetes/puppet deployment, we are mounting /etc/puppetlabs/code
into a PVC. g10k hardlinks. therefore, we need the g10k cache in the
same PVC.

- set cachedir to a hardlink compat path for kubernetes
2026-03-17 17:44:00 +11:00
3 changed files with 15 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
when:
- event: pull_request
steps:
- name: g10k-validate
image: git.unkin.net/unkin/almalinux9-g10k:20260308
commands:
- g10k -config r10k.yaml -validate
- name: g10k-run
image: git.unkin.net/unkin/almalinux9-g10k:20260308
commands:
- g10k -config r10k.yaml -verbose
+1 -1
View File
@@ -5,4 +5,4 @@ steps:
- name: pre-commit - name: pre-commit
image: git.unkin.net/unkin/almalinux9-base:20260308 image: git.unkin.net/unkin/almalinux9-base:20260308
commands: commands:
- make test - uvx pre-commit run --all-files
+1 -1
View File
@@ -1,5 +1,5 @@
# The location to use for storing cached Git repos # The location to use for storing cached Git repos
:cachedir: '/opt/puppetlabs/cache/r10k' :cachedir: '/etc/puppetlabs/code/.g10k/cachedir'
# A list of git repositories to create # A list of git repositories to create
:sources: :sources: