Commit Graph

46 Commits (fd7fc49f17bcf8c87c58657cfbc411720eab8fcd)

Author SHA1 Message Date
guoguangwu 7eb6a45cd4 chore: remove refs to deprecated io/ioutil
2 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh f8f1ebf0c7 move version and useragent definitions into sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh 2167118126 add version files for all postprocessors
5 years ago
Sylvia Moss 99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
DanHam 8ddbb791a1
Fix typo
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Megan Marsh 1b77b05ce2 remove redundant keep_input_artifact from compress pp and clarify keep behavior in shell-local pp
7 years ago
Adrien Delorme e65115a7a0 contextualize post-processor
7 years ago
Megan Marsh 12fc1fa751 default_keep_input_artifact
7 years ago
Megan Marsh 7e9a653da7 use testify instead of homegrown string compare
8 years ago
Megan Marsh 58acb7f436 fix windows test
8 years ago
Megan Marsh fabd1a6517 windows cmd env vars
8 years ago
Megan Marsh e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
8 years ago
Megan Marsh 5da4377f21 first pass at docs update
8 years ago
Megan Marsh 854d6fb141 add tests making sure post-processor has backwards compatability
8 years ago
Megan Marsh d304234725 fix tests
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 926327beba deduplicate all validation and interpolation of the shell-local config, sharing options between shell-local provisioner and post-processor. Maintain backwards compatibility with shell-local provisioner.
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Megan Marsh a7d25cd4c1 remove deprecation warning since we've been talked out of removing shell-local postprocessor
8 years ago
Megan Marsh fa177c52c2 put deprecation warning at end so it isnt lost in scrollback
9 years ago
Megan Marsh 4b7fd33f99 add deprecation warning to shell local provisioner
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
DanHam e350739ecb
post-processor/shell-local: expand tests to align with shell provisioner
9 years ago
DanHam 9e480eea49
post-processor/shell-local: Align flattened env vars gen with provisioners
9 years ago
DanHam 5a350f5699
post-processor/shell-local: Fix output of debug info to stdout
9 years ago
Vasiliy Tolstov 332a208fee
post-processor/shell-local: run only once for each builder
9 years ago
Matthew Hooker a05817ee26
fix docs, remove escaping
9 years ago
Matthew Hooker a253cda0aa
should fix #3571
9 years ago
Vasiliy Tolstov b67ee530c8 post-processor/shell-local: don't set executable bit for artifact files (#3505)
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Ian Duffy 5b4e0fe25b Loop through all files in the given artifact and return the given artifact on finish
10 years ago
Ian Duffy 34b59bc051 Create a shell-local post processor
10 years ago