6 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
unkinben 225930a739 Merge pull request 'chore: use git.unkin.net' (#3) from benvin/unkin_remote into master
Reviewed-on: #3
2026-03-17 16:44:22 +11:00
unkinben 1a8772f684 chore: use git.unkin.net
ci/woodpecker/pr/pre-commit Pipeline was successful
update the source to use the endpoint via haproxy with letsencrypt
certificates. this will make it simpler to manage trust in externally
sources containers used for puppet/k8s integration

- use git.unkin.net url for unkin origin
2026-03-17 16:41:49 +11:00
3 changed files with 16 additions and 3 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
+2 -2
View File
@@ -1,10 +1,10 @@
# 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:
# This will clone the git repository and instantiate an environment per # This will clone the git repository and instantiate an environment per
# branch in /etc/puppetlabs/code/environments # branch in /etc/puppetlabs/code/environments
:unkin: :unkin:
remote: 'https://git.service.au-syd1.consul/unkinben/puppet-prod.git' remote: 'https://git.unkin.net/unkin/puppet-prod.git'
basedir: '/etc/puppetlabs/code/environments' basedir: '/etc/puppetlabs/code/environments'