Commit Graph

13299 Commits

Author SHA1 Message Date
Adrien Delorme ec52f36af1 docs: escape pointer (*) parameters `*` => `\*`
so that we don't get weird italics there and there
2019-08-27 13:30:50 +02:00
Adrien Delorme d135106171 fix more docs 2019-08-27 09:50:43 +02:00
Adrien Delorme 9360f57b42 Update _RunConfig-required.html.md
Co-Authored-By: Megan Marsh <swampdragons@users.noreply.github.com>
2019-08-27 09:47:47 +02:00
Adrien Delorme f66ca58a46 Update azure docs for config.go
add missing docs fields

Co-Authored-By: Megan Marsh <swampdragons@users.noreply.github.com>
2019-08-27 09:32:03 +02:00
Adrien Delorme 783b02bd15 Update config.go
add missing doc  fields

Co-Authored-By: Megan Marsh <swampdragons@users.noreply.github.com>
2019-08-27 09:28:36 +02:00
Adrien Delorme 239f97471c fix ebs volume tags doc field
Co-Authored-By: Megan Marsh <swampdragons@users.noreply.github.com>
2019-08-27 09:21:29 +02:00
Adrien Delorme 75f31b8fac add ssh interface docs to openstack 2019-08-27 09:20:47 +02:00
Zeyu Ye 125c02e86a 📝 incorrect documentation in `alicloud-ecs` builder, env for `security_token` should be `SECURITY_TOKEN` instead of `SecurityToken` 2019-08-27 16:59:42 +10:00
Adrien Delorme 5517d41468 make sure all documentation fields are there
* add missing `temporary_key_pair_name` field for alicloud
* add missing description to `vpc_filter` for aws
* add missing ssh communicator fields for aws
* add links for aws
* update vmware-vmx docs
* manually describe AMI Configuration section for ebsvolume
* display missing required ami_name field for aws
* add missing fields for docker
* add missing fields for openstack
2019-08-26 17:16:54 +02:00
Adrien Delorme 2db109d55b Merge branch 'master' into scrape_doc_to_builder_struct_config 2019-08-23 17:37:53 +02:00
Adrien Delorme db880ab50a add decoding tests for trilean 2019-08-23 12:01:28 +02:00
Adrien Delorme 2efc94521b use trilean initializers in test where missing 2019-08-23 11:17:45 +02:00
Megan Marsh 6a895db9be converte block device encryption to trilean 2019-08-22 14:24:22 -07:00
Megan Marsh 1d9bba6fe3 change AMIEncryptBootVolume to trilean 2019-08-22 14:04:26 -07:00
Megan Marsh f7c8321a7e convert alicloud s.IOOptimized into trilean in code 2019-08-22 13:59:38 -07:00
Megan Marsh ecaec1ac58 swap out alicloud encryption *bools for trileans 2019-08-22 13:52:29 -07:00
Megan Marsh 1a6adadb89 convert EnableAMIENASupport to trilean in code 2019-08-22 13:18:22 -07:00
Megan Marsh 3c3f7f26ce implement custom data type "trilean" (tri-state-boolean) to track booleans which have a "null" or "unset" state. Previously we used *bool for these template options, but it turns out that those won't work because "unset" will evaluate to "false" if a user is using template variables to set the option that maps to a *bool. 2019-08-22 13:18:15 -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
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
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config 2019-08-21 16:44:23 +02: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