Commit Graph

12906 Commits

Author SHA1 Message Date
Adrien Delorme 86cee5cbef
Merge pull request #8034 from cove/retry-describe-instances
add AWS API call reties on AMI prevalidation
2019-08-29 10:48:54 +02:00
Adrien Delorme 4b1c766c76
Merge pull request #8045 from alrs/fix-provisioner-dropped-errors
Fix provisioner dropped errors
2019-08-28 10:20:46 +02:00
Adrien Delorme 4b02b6a5b8
Merge pull request #8046 from hashicorp/link_proxmox_builder_docs
link proxmox builder docs
2019-08-28 10:19:30 +02:00
Adrien Delorme f89156fb83 link proxmox builder docs
fix #8044
2019-08-28 10:13:34 +02:00
cove 87e0a3b5e7 add prevalidating AMI name retries so the build doesn't fail when throttled 2019-08-27 18:00:08 -07:00
Lars Lehtonen bd01d0d3c3 provisioner/inspec: Fix dropped error 2019-08-27 17:01:33 -07:00
Lars Lehtonen b207752883 provisioner/ansible: Fix dropped error 2019-08-27 16:52:52 -07:00
Megan Marsh 04d9888657
Merge pull request #8016 from psinghal20/issue-8009
fix: move adding metadata step after waiting for uploading step
2019-08-22 11:24:37 -07:00
Megan Marsh 9245135ab0
Merge pull request #8026 from jdclouddevelopers/master
JDCloud - Added CODEOWNERS
2019-08-22 09:29:32 -07:00
Pratyush Singhal dbb50337bc
fix: out of scope blockStorageClient nil value issue
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-08-22 20:50:46 +05:30
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
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