Spread build source defs more evenly
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user