test/templates: add loading test templates

The loading_test had been added to the repository at first, but were not
versioned at that time, making those tests impossible to run on CI.
This commit is contained in:
Lucas Bajolet 2024-05-03 11:28:25 -04:00 committed by Lucas Bajolet
parent 6a8e888b0d
commit 2d7f523bd3
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,14 @@
packer {
required_plugins {
tester = {
source = "github.com/hashicorp/tester"
version = "= 1.0.9"
}
}
}
source "tester-dynamic" "test" {}
build {
sources = ["tester-dynamic.test"]
}

View file

@ -0,0 +1,6 @@
{
"builders": [{
"type": "tester-dynamic",
"name": "test"
}]
}