Commit Graph

13360 Commits

Author SHA1 Message Date
DanHam 57137c6e33
Should return an error if the value of the provider key is empty 2019-08-21 14:32:25 +01:00
DanHam d1327fe422
Should return an error if the metadata file is empty 2019-08-21 14:32:24 +01:00
DanHam a9e22a6bb2
Should return the provider by parsing the json in the box metadata file 2019-08-21 14:32:24 +01:00
DanHam 0bf0e7c078
Should return an error when the metadata file is not in the box tar archive
Split out box creation into new helper function
2019-08-21 14:32:24 +01:00
DanHam 063e4bd3e5
Should return an error if the box tar archive is empty 2019-08-21 14:32:24 +01:00
DanHam 9c6b355088
Should return an error if the box is a plain gzip file 2019-08-21 14:32:24 +01:00
DanHam 35d326de39
Add basic workings to function. Return an error if box file is empty 2019-08-21 14:32:23 +01:00
DanHam 6b5cf6dcb2
Should return an error when the box file is missing 2019-08-21 14:32:23 +01:00
DanHam e8c586175e
Intention: Allow use of artifice pp with vagrant-cloud pp
The Vagrant-Cloud and Vagrant provider (e.g. virtualbox, vmware_desktop
etc.) must be determined differently depending on the builder or
post-processor supplying the artifact.

Adds a wrapper function that:

* Uses the original method of determining the provider when the artifact
  is provided by either the Vagrant builder or Vagrant post-processor
* Uses a new (currently empty) function when the artifact is provided
  via the Artifice post-processor
2019-08-21 14:32:23 +01:00
DanHam 3f4f429c3d
Should return an error when artifact file does not have .box extension 2019-08-21 14:32:23 +01:00
DanHam 57308b0126
Should return an error with an invalid BuilderId 2019-08-21 14:32:23 +01:00
psinghal20 bbd71136dc
fix: move adding metadata step after waiting for uploading step
Signed-off-by: psinghal20 <psinghal20@gmail.com>
2019-08-21 15:45:46 +05:30
Megan Marsh 17d9a85895
Merge pull request #7945 from ahilsend/hcloud-image-filter
feat(builder/hcloud): allow selecting image based on filters
2019-08-19 14:37:43 -07:00
Megan Marsh b6fdccc2af
Merge pull request #7970 from williamb1024/master
Decrease the delay between Hyper-V VM startup and hyper-v builder's ability to send keystrokes to the target VM.
2019-08-19 14:37:10 -07:00
Megan Marsh 5f4642a41a
Merge pull request #8013 from hashicorp/fix_error_bug
make sure that fleetId exists before trying to stick it into error me…
2019-08-19 14:15:50 -07:00
Megan Marsh 4aa33306cb make sure that fleetId exists before trying to stick it into error message 2019-08-19 13:44:39 -07:00
Megan Marsh 8dbd078738
Merge pull request #8011 from tmeckel/vbox-vm-target-snapshot-optional
Fix: VirtualBox VM builder, target snapshot optional
2019-08-19 13:29:06 -07:00
Megan Marsh dd97435d42
Merge pull request #7957 from milescrabill/fix-vagrant-builder-basebox-sourcebox
vagrant builder: fix provisioning boxes, define source and output boxes
2019-08-19 13:25:54 -07:00
Thomas Meckel 01edafb49f Cleaned up golint warnings 2019-08-19 21:36:43 +02:00
Thomas Meckel 92501cd344 target_snapshot is not optional as described in the documentation 2019-08-19 21:36:43 +02:00
William L. Brooks be4ca4b666 Move hyper-v host ip determination earlier in steps, connect to Hyper-V vm prior to issuing the start operation. 2019-08-19 11:45:41 -07:00
Megan Marsh 47e7d1ff56
Merge pull request #8001 from stsully/patch-1
update verbiage
2019-08-19 10:51:34 -07:00
Megan Marsh a6a3007ea5
Merge pull request #8003 from shantanugadgil/master
formatting fix to CHANGELOG.md for v1.4.3
2019-08-19 10:49:40 -07:00
Megan Marsh 06bef2844b
Merge pull request #7996 from hashicorp/fix_7925
dont bother with a targetpath for the vbox additions; use a hash like…
2019-08-19 09:45:38 -07:00
Megan Marsh fd0c393db7
Merge pull request #8004 from onematchfox/master
Remove check/requirement for target_snapshot
2019-08-19 09:43:48 -07:00
Brian Fox 47c027e5c8 Remove check/requirement for target_snapshot 2019-08-19 11:25:17 +02:00
Shantanu Gadgil 34b681e490
Update CHANGELOG.md 2019-08-19 11:30:43 +05:30
stsully 9b94b9857a
update verbiage
I think the intent here was accidentally switched from "necessary" to "unnecessary." Maybe just say that it might be "required" instead.
2019-08-16 12:46:56 -06:00
Megan Marsh e225684b4b update changelog 2019-08-16 09:51:45 -07:00
Megan Marsh 68d50d272b
Merge pull request #7997 from hashicorp/7953
need to scrub sensitive variables first, to make sure we don't fail f…
2019-08-16 09:47:36 -07:00
Megan Marsh a82a3ccaa6 need to scrub sensitive variables first, to make sure we don't fail for comma-containing sensitive info 2019-08-15 16:16:11 -07:00
Megan Marsh 316a30b31d fix spot_tags 2019-08-15 16:06:16 -07:00
Megan Marsh 02399f32f6 dont bother with a targetpath for the vbox additions; use a hash like everything else 2019-08-15 15:10:25 -07:00
Megan Marsh 94d8da60f0
Merge pull request #7940 from jgeorgeson/openstack-winrmpassword-provisioners
OpenStack builder store WinRM password for provisioners to use
2019-08-15 12:02:26 -07:00
Megan Marsh 67dddeee9f changelog typo 2019-08-14 16:05:45 -07:00
Megan Marsh 8e5a91dabc update to 1.4.4-dev 2019-08-14 15:54:29 -07:00
Megan Marsh 613d8ef6ab
Cut version 1.4.3 2019-08-14 15:39:30 -07:00
Megan Marsh 3d3037a990
Cut version 1.4.3 2019-08-14 15:33:01 -07:00
Megan Marsh 64d5c9af8d
Cut version 1.4.3 2019-08-14 15:27:37 -07:00
Megan Marsh d39f35d58e
Cut version 1.4.3 2019-08-14 15:15:47 -07:00
Megan Marsh 066485bc5d cut 1.4.3 release 2019-08-14 14:50:02 -07:00
Megan Marsh ebb0d5a3b2 set changelog date 2019-08-14 14:49:24 -07:00
Megan Marsh d240dfa284 update changelog 2019-08-14 14:47:52 -07:00
Megan Marsh e029c07b2c
Merge pull request #7989 from hashicorp/spot_regression_warning
work around spot_tags related regression and bad fleet cleanup in spo…
2019-08-14 11:29:22 -07:00
Megan Marsh 9f6d14c75a work around spot_tags related regression and bad fleet cleanup in spot instances 2019-08-14 11:08:59 -07:00
Megan Marsh ce0f11a651
Merge pull request #7912 from hashicorp/set_config_dir
Set config dir
2019-08-13 16:33:00 -07:00
Megan Marsh e2fe9d8901 update changelog 2019-08-13 10:25:44 -07:00
Megan Marsh 3acfb31595
Merge pull request #7951 from DanHam/allow-dynamic-vagrantfile-create
Vagrant pp: Add setting to allow box Vagrantfiles to be generated during the build
2019-08-13 10:06:41 -07:00
DanHam cfcff0760f
Add docs for option to allow dynamic generation of box Vagrantfiles 2019-08-13 09:09:29 +01:00
DanHam 1bffdd9bff
Add option to allow box Vagrantfile to be dynamically generated during build 2019-08-13 09:09:28 +01:00