Commit Graph

582 Commits (bbd64896a0341909dcc593babb429b86d2e4f296)

Author SHA1 Message Date
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
DanHam e8c586175e
Intention: Allow use of artifice pp with vagrant-cloud pp
7 years ago
DanHam 3f4f429c3d
Should return an error when artifact file does not have .box extension
7 years ago
DanHam 57308b0126
Should return an error with an invalid BuilderId
7 years ago
DanHam 1bffdd9bff
Add option to allow box Vagrantfile to be dynamically generated during build
7 years ago
DanHam 19f3a63ee1
Tests: Should not error when template is to be created during build
7 years ago
DanHam 4b042ac402
Tests: Should not error when `vagrantfile_template` exists
7 years ago
DanHam 8ddbb791a1
Fix typo
7 years ago
Megan Marsh a87ce366b3
Merge pull request #7835 from hashicorp/google_oauth
7 years ago
Megan Marsh 0dfb3cc56f replace some bespoke google auth code with code from golang's oauth2 library
7 years ago
Marc Falzon d82c4f0057 fixup! fixup! fixup! fixup! Add Exoscale Import post-processor
7 years ago
Marc Falzon 9ce5f5dcee fixup! fixup! fixup! Add Exoscale Import post-processor
7 years ago
Marc Falzon 00c2df24df Add Exoscale Import post-processor
7 years ago
chhaj5236 6b081cc41c
update alicloud builder to use official SDK (#7477)
7 years ago
Adrien Delorme aee73d745d update code after go mod update
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
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 9dafa310f3 remove redundant keep_input_artifact code from googlecompute-export and googlecompute-import pps. The behavior coded here was already enforced by the core postprocessor code in packer/build.go
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
Megan Marsh 056fcb7cea fix tests and add a few new ones
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme e65115a7a0 contextualize post-processor
7 years ago
Megan Marsh 12fc1fa751 default_keep_input_artifact
7 years ago
Megan Marsh 2c67cd966b
Merge pull request #7396 from c0sco/amazon-import-encryption
7 years ago
Megan Marsh 24c42e4a1f
Merge pull request #7397 from vhaidamaka/fix-7321
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Vadym Haidamaka 4855bc79c9 Add vagrant-cloud post-processor support for the vagrant builder
7 years ago
Matt Stofko ab4382360d Support S3 and AMI encryption
7 years ago
Megan Marsh 67fe820465
Merge pull request #7361 from hashicorp/fix_insecure_skip_tls_verify
7 years ago
Davi Vidal b0e3128125 Improves test message
7 years ago
Davi Vidal 1a94ad14bd Adds test for insecure_skip_tls_verify
7 years ago
Davi Vidal a2fd287e56 Ignores SSL verification when on premise vagrant cloud
7 years ago
Megan Marsh 3ed9fe6dee remove unused imports
7 years ago
Arnaud Dezandee f9ae926d8f
googlecompute-export: set network project id to builder
7 years ago
Megan Marsh be21850e32
Merge pull request #7060 from andrewsomething/do-post-processor
7 years ago
Andrew Starr-Bochicchio 37b3305301 Better varibable naming.
7 years ago
Andrew Starr-Bochicchio ee430d9a40 Only filter on suffix if more than one file.
7 years ago
Andrew Starr-Bochicchio 203b6ca8b4 Prefix env vars w/ 'DIGITALOCEAN_'
7 years ago
Megan Marsh 6cac03044f
Merge pull request #7248 from oceyral/oceyral/feat/add_user_data
7 years ago
Olivier Ceyral 4d10d668ee Add "custom_data" key to packer manifest
7 years ago
Megan Marsh eef4fc7a01
Merge pull request #7222 from Adezandee/gce-post-processors
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Megan Marsh c63b54a1e7 move http with proxy call into a helper function
7 years ago
Arnaud Dezandee 8975f67901
googlecompute-export: add exporter instance configs
7 years ago
Arnaud Dezandee 91d2cb8c83
googlecompute-import: add service accounts
7 years ago
Arnaud Dezandee 3d41cdfacb
googlecompute-import: add guest os features
7 years ago
Rickard von Essen a02bd23f56
When import task fails show the StatusMessage
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Ladar Levison 3cc83167c8 Added map structure type to config changes.
7 years ago
Ladar Levison 6ac5971288 Fixed cmd order for docker driver. Added config to post proc.
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Andrew Starr-Bochicchio c0c5c6afac Add DigitalOcean post-processor.
7 years ago
Julio Tain Sueiras 51053efad2 Docs changes & Removed memory and quiesce options from vsphere-template
7 years ago
Julio Tain Sueiras 7f7fee3e2b Added Creation of Snapshot to vSphere Template
8 years ago
Megan Marsh 8567be43d9
Merge pull request #6927 from hashicorp/rebased_4591
8 years ago
Henk e4c2216642 qemu: Add "hvf" as a libvirt driver
8 years ago
Adrien Delorme b113518815
Use switch for readability
8 years ago
Matt Stofko 029819b5d5 Support formats other than OVA.
8 years ago
Megan Marsh 290f4a7c4c cleanup to make it actually build after that monstrous rebase
8 years ago
Adrien Delorme 7b10079507 fail if the request could not be created
8 years ago
Adrien Delorme aa2ebec8fd remove duplicate error message from
8 years ago
Adrien Delorme ff4b6d4442 pass vagrant cloud auth token as http header
8 years ago
Adrien Delorme 415b886f5b post-processor/vagrant-cloud: validate vagrant cloud auth token doing an auth request
8 years ago
dpolitis d1f5312253 fix recurring bug #3878, make destination ESXi host selectable in config, more informative error output
8 years ago
Megan Marsh f4a360bea9 remove unused argument
8 years ago
Megan Marsh 10c4aca521
Merge pull request #6534 from ChrisLundquist/clundquist/xz
8 years ago
Megan Marsh d883dfe67a
Merge pull request #6566 from hashicorp/atlas-deprecation
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Patrick Double d796edc783 Add to vagrant post-processor support for Azure
8 years ago
Matthew Hooker ddf23a2c46
Complete Atlas deprecation.
8 years ago
Chris Lundquist ce1a5b7d7a Print why we are only using one core
8 years ago
Chris Lundquist 999a53ca76 add support for xz compression #6523
8 years ago
Megan Marsh 8f1eb5a61b fix crash caused by invalid datacenter url
8 years ago
Megan Marsh 66c45273fb
Merge pull request #6494 from double16/vagrant-docker
8 years ago
Patrick Double 4f9a91012f Change docker-push to return docker-import artifact
8 years ago
Patrick Double 066b364873 Remove packer.docker from vagrant post processor builtins
8 years ago
Patrick Double a301145ae1 Allow docker build as input to vagrant, docs
8 years ago
Patrick Double 1781d352a5 Add Vagrantfile fragment with docker tag specified
8 years ago
Megan Marsh f657ca39c9 refactored env var code and tests so that I don't have to set env vars during tests to check logic
8 years ago
Megan Marsh bfbe318727 fix the homegrown waiters
8 years ago
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps
8 years ago
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
8 years ago
Patrick Double e7fc651f60 First cut at vagrant post-processor for docker
8 years ago
Sean Malloy d8b229b59a Add feature to googlecompute-import post-processor to delete GCS files
8 years ago
Adam Robinson 8715bfbf70 set all tar timestamp fields to the zero date
8 years ago
Sean Malloy 3622a669dc Add new post processor googlecompute-import
8 years ago
Matthew Hooker 788418cff2
Add unit test to show that we handle tars safely
8 years ago
Megan Marsh 7e9a653da7 use testify instead of homegrown string compare
8 years ago