@@ -196,7 +196,8 @@ jobs:
196196 - name : Validate jsonschema
197197 run : make schema-limayaml.json
198198 - name : Validate templates
199- run : find -L templates -name '*.yaml' | xargs limactl validate
199+ # Can't validate base templates in `_default` because they have no images
200+ run : find -L templates -name '*.yaml' ! -path '*/_default/*' | xargs limactl validate
200201 - name : Install test dependencies
201202 # QEMU: required by Lima itself
202203 # bash: required by test-templates.sh (OS version of bash is too old)
@@ -208,7 +209,7 @@ jobs:
208209 run : echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --vm-type=qemu" >>$GITHUB_ENV
209210 - name : " Inject `no_timer_check` to kernel cmdline"
210211 # workaround to https://github.com/lima-vm/lima/issues/84
211- run : ./hack/inject-cmdline-to-template.sh templates/default .yaml no_timer_check
212+ run : ./hack/inject-cmdline-to-template.sh templates/_images/ubuntu .yaml no_timer_check
212213 - name : Cache image used by default.yaml
213214 uses : ./.github/actions/setup_cache_for_template
214215 with :
@@ -365,7 +366,7 @@ jobs:
365366 run : echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --vm-type=qemu --network=lima:shared" >>$GITHUB_ENV
366367 - name : " Inject `no_timer_check` to kernel cmdline"
367368 # workaround to https://github.com/lima-vm/lima/issues/84
368- run : ./hack/inject-cmdline-to-template.sh templates/default .yaml no_timer_check
369+ run : ./hack/inject-cmdline-to-template.sh templates/_images/ubuntu .yaml no_timer_check
369370 - name : Cache image used by default .yaml
370371 uses : ./.github/actions/setup_cache_for_template
371372 with :
0 commit comments