13683 Commits

Author SHA1 Message Date
Chris Roberts
4f336edff2
Merge pull request #12018 from jmfury/jm.bump-hsm-version-1.0.8
[Website] Bump HSM version for design tweaks
2020-11-05 09:35:10 -08:00
Chris Roberts
aa008d23e2
Merge pull request #12020 from chrisroberts/e-direct-docs
Update API documentation to include direct
2020-11-05 09:34:43 -08:00
Chris Roberts
e861c3183f Update API documentation to include direct
Adds Vagrant Cloud API documentation for using the direct upload
approach with proper curl and ruby examples.
2020-11-05 09:28:36 -08:00
Chris Roberts
aafc51d1da Update CHANGELOG 2020-11-03 15:48:59 -08:00
Chris Roberts
e75c36e1a4
Merge pull request #12011 from amaltson/make-reboot-retry-duration-configurable
Make the max reboot retry duration configurable
2020-11-03 15:47:51 -08:00
Chris Roberts
4751353a5f Fetch reboot env var at run time and keep constant values constant
Keep the default duration as a constant and fetch the custom environment
variable at run time with a fallback to the default. Set the sleep duration
into a constant and add tests covering the expected behaviors when the
default duration is in use as well as the override value. Also match the
environment variable up with the constant just for consistency.
2020-11-03 15:11:10 -08:00
Chris Roberts
eddd21b188
Merge pull request #12017 from chrisroberts/f-token-warning-print
Prevent printing token warning more than once
2020-11-03 14:13:14 -08:00
Chris Roberts
a03c574a2a Update CHANGELOG 2020-11-03 14:02:06 -08:00
Chris Roberts
a6f838a830
Merge pull request #12014 from chrisroberts/f-broken-trigger-hook
Fix application of action named triggers/hooks
2020-11-03 14:00:19 -08:00
Chris Roberts
e4e4030b9d Update CHANGELOG 2020-11-03 13:59:47 -08:00
Chris Roberts
cb6aed6045
Merge pull request #12008 from chrisroberts/f-wsl-port-open
Handle Errno::EALREADY exceptions on port checks
2020-11-03 13:59:03 -08:00
Chris Roberts
976770a36d Update CHANGELOG 2020-11-03 13:55:24 -08:00
Chris Roberts
311429d1d3
Merge pull request #11936 from hpaskalev/feature/improved_vbox_installation_check
Detection of availability of VirtualBox provider #11929
2020-11-03 13:54:11 -08:00
Chris Roberts
4644f775da
Merge pull request #12007 from chrisroberts/u-doc-ssh-extra-args
Make note that the `extra_args` option is only for the `ssh` command
2020-11-03 13:53:08 -08:00
Chris Roberts
4253f27901 Prevent printing token warning more than once
Mark warning of double tokens set when initially print to prevent
the warning from being shown multiple times during a single run.
2020-11-03 13:47:53 -08:00
Chris Roberts
3ec8d44cf9 Remove debug setup for restclient logger 2020-11-03 13:31:41 -08:00
Chris Roberts
db24f26daa Track application of action name hooks / triggers
When expanding stack track the origin action name and only apply
it once the stack has completed its expansion. The local env data
is marked with origin action to prevent it from being applied in
nested builders as they are expanded. The value of the stored action
name is checked and invalidated if another action is applied to the
same env in the future so hooks / triggers for that action are
applied as expected.
2020-11-02 10:39:15 -08:00
Chris Roberts
cba5bca7de Use variable when sending info to logger 2020-11-02 10:31:28 -08:00
Chris Roberts
7331623a39 Only allow the ui to be overridden when running action 2020-11-02 10:30:56 -08:00
Jimmy Merritello
1f791115d1
Bump HSM version for design tweaks 2020-11-02 10:24:38 -06:00
Arthur Maltson
b0b45966cb 📝 Add documentation around new retry timeout
With the newly added `VAGRANT_MAX_REBOOT_RETRY_TIMEOUT` environment
variable, add some documentation explaining how and when to use it.
2020-10-31 18:15:18 -04:00
Arthur Maltson
a2f5d615a0 Make max reboot retry duration configurable
Previously the maximum amount of time Vagrant would poll for whether a
machine has successfully reboot was hard coded to 120 seconds. This
change introduces the VAGRANT_MAX_REBOOT_RETRY_TIMEOUT environment
variable to allow this attribute to be configurable.

Add RSpec tests of the maximum retry logic. Since the maximum retries
are configured as a constant, we'd need to reload the class and that's
fairly ugly to do in RSpec.

Fixes #11695
2020-10-31 18:00:01 -04:00
Chris Roberts
16dc9db76b Handle Errno::EALREADY exceptions on port checks
With WSL port checks can end up resulting in Errno::EALREADY being
raised. When encountered, assume port is unavailable.
2020-10-30 13:09:51 -07:00
Chris Roberts
822655d85c Make note that the extra_args option is only for the ssh command 2020-10-30 12:39:49 -07:00
Chris Roberts
a1c2393e77 Update CHANGELOG 2020-10-30 10:00:46 -07:00
Chris Roberts
57ddab2672
Merge pull request #11916 from chrisroberts/e-vagrant-cloud-lib
Update cloud command to use refactored library implementation
2020-10-30 09:57:49 -07:00
Chris Roberts
8b0790168b Check for filter versions and break up box output 2020-10-30 09:26:07 -07:00
Chris Roberts
baa24af179 Remove all unused code related to the deprecated login command 2020-10-30 09:26:07 -07:00
Chris Roberts
70d36bc7cd Update uploader options to include --fail so failures are reported properly 2020-10-30 09:26:07 -07:00
Chris Roberts
78d309a09b Update cloud command to use refactored library implementation
This PR is dependent on the 2.1.0 release of the vagrant_cloud
library. It updates the `cloud` command to use the new interface
for interacting with the Vagrant Cloud API. It also adds support
for direct to backend storage uploads, and defaults to this
method.

Also included is a bit of cleanup refactoring, addition of method
documentation, and fixing up some small issues around custom username
usage within the internal client for authentication.
2020-10-30 09:26:07 -07:00
Chris Roberts
6a8e0270d6
Merge pull request #12002 from hashicorp/docker-mirror
Use docker mirror
2020-10-30 09:07:59 -07:00
Michele
48e133e31e Use docker mirror 2020-10-28 21:23:25 -07:00
sophia
9dc7f442a8 Update CHANGELOG 2020-10-28 17:43:13 -05:00
Sophia Castellarin
128e392388
Merge pull request #11961 from soapy1/update-mime-gem
Update mime gem
2020-10-28 17:41:25 -05:00
sophia
8a8eff130a Allow entity to support content disposition 2020-10-28 16:21:42 -05:00
sophia
799ebb32ed Add tests for mime util 2020-10-28 15:57:45 -05:00
sophia
4cdf60cb0a Create MIME type data 2020-10-28 15:57:45 -05:00
sophia
e2f71dd55d Update mime gem 2020-10-28 15:57:45 -05:00
Rui Lopes
fcdc63ff89 let the user configure the cloud_init mime part content-disposition filename 2020-10-28 15:57:45 -05:00
sophia
190ae8c2f9 Update CHANGELOG 2020-10-28 15:41:32 -05:00
Sophia Castellarin
8ad772629b
Merge pull request #11923 from soapy1/arch-smb
Install smbclient when setting up arch smb
2020-10-28 15:40:45 -05:00
sophia
f630ba78a0 Update CHANGELOG 2020-10-28 15:09:47 -05:00
Sophia Castellarin
1f9347dd5f
Merge pull request #11996 from soapy1/sles_change_host_name
Don't use hostnamectl if not on system
2020-10-28 15:08:50 -05:00
sophia
f846b7c5bc Update CHANGELOG 2020-10-28 14:07:50 -05:00
Sophia Castellarin
3bac41a433
Merge pull request #11988 from soapy1/override-nfs
Replace :nfs option with :type for synced folders
2020-10-28 14:06:22 -05:00
sophia
12d5b56f14 Fix indentation 2020-10-28 12:35:36 -05:00
sophia
52b5a8cac6 Update CHANGELOG 2020-10-28 11:26:35 -05:00
Sophia Castellarin
e3a96f5ba4
Merge pull request #11963 from soapy1/zsh-autocomplete-extra-newline
Remove new line from beginning of completion script
2020-10-28 11:24:15 -05:00
Sophia Castellarin
595dee54bc
Merge pull request #11998 from soapy1/load-ci-popd
Only popd if downloading ci
2020-10-28 11:16:22 -05:00
sophia
f97ea26447 Only popd if downloading ci 2020-10-27 10:02:27 -05:00