Commit Graph

108 Commits (030da4b6b9a0efd62447dbd2ae177dbe3f0ffcc5)

Author SHA1 Message Date
Chris Roberts 4ea4c0570f Add test coverage for direct upload file size limits
5 years ago
Chris Roberts a665e6b822 Always include all upload steps regardless of configuration
5 years ago
Chris Roberts 2de91e4862 Check configuration before running callback for upload confirmation
5 years ago
Chris Roberts 3a11820a41 Adjust upload limit value and fix error value stored in state bag
5 years ago
sophia 9b641c9bfd Force NoDirectUpload for vagrantcloud if asset size > 5 GB
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 5f34bbd56e add extra line before package declaration so this line does not become the synopsis of a package for godoc
5 years ago
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK
5 years ago
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh c70870cb83 move multierror and multierrorappend into 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 9e47696dff move helper/config to bundle with the other template definitions
5 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh e04eaa89e6 move steps and step configs from packer/common to packer/common/commonsteps
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Megan Marsh 2167118126 add version files for all postprocessors
5 years ago
Megan Marsh 8ecd16db81 regenerate code
5 years ago
Megan Marsh efc117fb55
Merge pull request #10218 from hashicorp/clean_plugin_sdk
5 years ago
Chris Roberts d8222b1656
Add support for uploading directly to storage on Vagrant Cloud (#10193)
5 years ago
Megan Marsh 45b5f0c2ee move custom http client creation with env proxy args into same package as other network related helpers
5 years ago
Megan Marsh c0ce8a9414 rework fixer deprecation code so we know what plugins they relate to
5 years ago
zhsj e2cbe0de48
post-processor/vagrant-cloud: missing vagrant_cloud_url in test (#9572)
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh b982d987a7 Add Artifice postprocessor ID to valid artifacts for postprocessors that perform artifact type validation
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
nywilken 5a54c99e98 post-processor/vagrant-cloud: Update error handling for VagrantCloud API responses
6 years ago
Megan Marsh b23425f637 use pointer to config rather than config
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Lars Lehtonen 2e7ba19d8c post-processor/vagrant-cloud: fix dropped test errors
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Lars Lehtonen 21f2e67462
post-processor/vagrant-cloud: fix dropped errors
7 years ago
Brian Fox 331babc2ce allow blank access_token (no auth) for private vagrant box hosting
7 years ago
DanHam ca9b500e76
Fix test output: Correct copy/paste errors and make message clearer
7 years ago
DanHam 7770ade74c
Clearer error message for artifice users. OCD nits and logging
7 years ago
DanHam e9ab2203ba
Should return provider correctly with artifacts from other builders or pp's
7 years ago
DanHam e8336039d9
Should return provider correctly with good box and artifice pp
7 years ago
DanHam aee400836f
Should return an error if the provider kv pair is not in the metadata file
7 years ago
DanHam a7603f63c7
Should return an error if the metadata file has badly formatted JSON
7 years ago
DanHam 57137c6e33
Should return an error if the value of the provider key is empty
7 years ago
DanHam d1327fe422
Should return an error if the metadata file is empty
7 years ago
DanHam a9e22a6bb2
Should return the provider by parsing the json in the box metadata file
7 years ago
DanHam 0bf0e7c078
Should return an error when the metadata file is not in the box tar archive
7 years ago
DanHam 063e4bd3e5
Should return an error if the box tar archive is empty
7 years ago
DanHam 9c6b355088
Should return an error if the box is a plain gzip file
7 years ago
DanHam 35d326de39
Add basic workings to function. Return an error if box file is empty
7 years ago
DanHam 6b5cf6dcb2
Should return an error when the box file is missing
7 years ago