Commit Graph

13047 Commits

Author SHA1 Message Date
Adrien Delorme 83824c4831
Merge pull request #8024 from nfagerlund/aug19_nokogiri_update
website: Update middleman-hashicorp and Gemfile.lock
2019-08-22 14:49:43 +02:00
Adrien Delorme 6337735ac5
Merge pull request #8025 from hashicorp/fix_flaky_timeout_tset
Fix Travis timeouts
2019-08-22 14:47:49 +02:00
Adrien Delorme 100d564d03
Merge pull request #8027 from DanHam/vagrant-cloud-pp-allow-artifice-changes
Fix copy/paste errors in test output submitted in #8018
2019-08-22 14:46:39 +02:00
Adrien Delorme 6c44370e57
Merge pull request #8028 from tjanez/fix-galaxy_force_install-docs
Fix ansible provisioner docs for galaxy_force_install conf parameter
2019-08-22 14:44:34 +02:00
Tadej Janež 491c832f59
Fix ansible provisioner docs for galaxy_force_install conf parameter 2019-08-22 11:28:22 +02:00
DanHam ca9b500e76
Fix test output: Correct copy/paste errors and make message clearer 2019-08-22 09:48:32 +01:00
Marcin Bojko d4ff29f6c5 hyper-v fix when management interface is not part of virtual switch
2


formatting fix
2019-08-22 07:54:50 +02:00
xiaohan.liang fc68c55ecc Added myself to CODEOWNER 2019-08-22 10:17:23 +08:00
Megan Marsh 261cf74f1b
Merge pull request #8018 from DanHam/vagrant-cloud-pp-allow-artifice
Allow use of the Artifice post-processor with the Vagrant Cloud post-processor
2019-08-21 16:48:43 -07:00
Megan Marsh fcef7e2d85 this timeout regularly flakes on Travis, I suspect because the instances running the tests are brutally underpowered. Increase the fudge factor. 2019-08-21 16:36:42 -07:00
Nick Fagerlund 1f733d1070 website: Update middleman-hashicorp and Gemfile.lock
Time marches on, and so do security vulnerabilities in Nokogiri. So it's time
for a new middleman-hashicorp version.

As with last time, here's a reminder for the next person who needs to update
this:

- Packer is different from all the other product sites. It uses a Netlify
  container to build, instead of either the basic middleman-hashicorp container
  or the hybrid thing that Vault uses. It doesn't come with all batteries
  included, so it has to take fifteen minutes to build the universe the first
  time you run it (or the first time you run it after an upgrade). After that,
  it caches all the gems it built the previous time.
- So the steps to update it are a bit different. (Simpler, but more sitting around.)
    - Update the Gemfile
    - Delete Gemfile.lock
    - `make website` until it comes up, then ctrl-C
    - Commit the changes
2019-08-21 16:33:32 -07:00
DanHam 53c59fc486
Document use of Artifice and Vagrant Cloud pp's. Other changes 2019-08-21 16:53:06 +01:00
DanHam 7770ade74c
Clearer error message for artifice users. OCD nits and logging 2019-08-21 14:32:26 +01:00
DanHam e9ab2203ba
Should return provider correctly with artifacts from other builders or pp's 2019-08-21 14:32:25 +01:00
DanHam e8336039d9
Should return provider correctly with good box and artifice pp 2019-08-21 14:32:25 +01:00
DanHam aee400836f
Should return an error if the provider kv pair is not in the metadata file 2019-08-21 14:32:25 +01:00
DanHam a7603f63c7
Should return an error if the metadata file has badly formatted JSON 2019-08-21 14:32:25 +01:00
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