mirror of https://github.com/hashicorp/packer
Merge pull request #7183 from hashicorp/skip_post_processor
allow to use `-except` on post-processorspull/7222/head
commit
270f851e72
@ -1,22 +1,43 @@
|
|||||||
{
|
{
|
||||||
"builders": [
|
"builders": [
|
||||||
{
|
{
|
||||||
"name":"chocolate",
|
"name": "chocolate",
|
||||||
"type":"file",
|
"type": "file",
|
||||||
"content":"chocolate",
|
"content": "chocolate",
|
||||||
"target":"chocolate.txt"
|
"target": "chocolate.txt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"vanilla",
|
"name": "vanilla",
|
||||||
"type":"file",
|
"type": "file",
|
||||||
"content":"vanilla",
|
"content": "vanilla",
|
||||||
"target":"vanilla.txt"
|
"target": "vanilla.txt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"cherry",
|
"name": "cherry",
|
||||||
"type":"file",
|
"type": "file",
|
||||||
"content":"cherry",
|
"content": "cherry",
|
||||||
"target":"cherry.txt"
|
"target": "cherry.txt"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"post-processors": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "apple",
|
||||||
|
"type": "shell-local",
|
||||||
|
"inline": [ "touch apple.txt" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "peach",
|
||||||
|
"type": "shell-local",
|
||||||
|
"inline": [ "touch peach.txt" ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "pear",
|
||||||
|
"type": "shell-local",
|
||||||
|
"inline": [ "touch pear.txt" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
Reference in new issue