Spread build source defs more evenly

This commit is contained in:
Greg Hellings
2022-05-25 01:40:52 -05:00
parent e2e22cae6e
commit 5b40c9a79e
4 changed files with 100 additions and 102 deletions
+30
View File
@@ -0,0 +1,30 @@
build {
sources = ["source.qemu.x86_64"]
provisioner "ansible" {
playbook_file = "ansible/playbook.yml"
galaxy_file = "ansible/requirements.yml"
}
provisioner "shell" {
scripts = [
"scripts/minimize.sh"
]
}
post-processors {
post-processor "vagrant" {
keep_input_artifact = true
compression_level = 9
output = "${local.name}.box"
vagrantfile_template = "vagrant/${var.arch}.rb"
}
post-processor "vagrant-cloud" {
name = "upload"
box_tag = "greg-hellings/${local.name}"
version = local.build
version_description = local.description
}
}
}