Commit Graph

12251 Commits

Author SHA1 Message Date
Chris Roberts 9f1914642f When class name doesn't start with vagrant, prepend vagrant::root 2019-09-09 20:32:30 -07:00
Chris Roberts 2ad8abd57c Allow sets used within configuration to be dumped as an array 2019-09-09 20:32:08 -07:00
Chris Roberts c789fbf440 Set GRPC to use our logger 2019-09-09 20:31:26 -07:00
Chris Roberts 5c09116f53 Include parent name within config instance. Always pass all variables. 2019-09-09 20:30:55 -07:00
Chris Roberts 1651269333 Include extra error information on timeout 2019-09-09 20:30:06 -07:00
Chris Roberts 0d9ad25d69 Finish up test coverage and cleanup 2019-09-06 16:26:33 -07:00
Chris Roberts f4420f6b81 Clean tests for plugin client refactor 2019-09-06 16:26:33 -07:00
Chris Roberts fe7ac740df Remove proxy usage. Use binding for management only. 2019-09-06 16:26:33 -07:00
Chris Roberts 5605a6e843 Remove context logic from server implementations 2019-09-06 16:26:33 -07:00
Chris Roberts dcac2a167f Pass subcontext to call 2019-09-06 16:26:33 -07:00
Chris Roberts 6e9fc12b08 Remove extraneous contexts from tests 2019-09-06 16:26:33 -07:00
Chris Roberts 248f902345 Update to use errgroup for cleaner context usage 2019-09-06 16:26:33 -07:00
Chris Roberts 7b8b75593b Clean up in the plugin client and server implementations 2019-09-06 16:26:33 -07:00
Chris Roberts ca58714a03 Refactor proto usage 2019-09-06 16:26:33 -07:00
Chris Roberts a04e24378b Provide context when calling and update error handling 2019-09-06 16:26:33 -07:00
Chris Roberts bac7689b36 Clean up synced folder implementation to use updated plugin fetch 2019-09-06 16:26:33 -07:00
Chris Roberts 338cf4cc0b Ensure array type is processed when loading actions 2019-09-06 16:26:33 -07:00
Chris Roberts c441fac0db Clean up plugin lookup usage 2019-09-06 16:26:33 -07:00
Chris Roberts db249d58ac Do not re-write plugin state file
Maintain existing structure for backwards compatibility and
isolate new plugin information which can be ignored when
using previous versions.
2019-09-06 16:26:33 -07:00
Chris Roberts 8952168480 Fix up failing tests 2019-09-06 16:26:33 -07:00
Chris Roberts 893771e535 Configure travis for test coverage and configure for modules 2019-09-06 16:26:33 -07:00
Chris Roberts 9499553706 Adding test coverage 2019-09-06 16:26:33 -07:00
Chris Roberts 8aa0fd9445 Add Experimental to Util autoload entries 2019-09-06 16:26:33 -07:00
Chris Roberts 9f8d883852 Add more ignores and cleanup Vagrantfile adjustments 2019-09-06 16:26:33 -07:00
Chris Roberts b11c86528a Add basic support for go-plugin 2019-09-06 16:26:33 -07:00
Brian Cain b28e6d95a6
Update CHANGELOG 2019-09-06 11:09:19 -07:00
Brian Cain 8abc0cc90c
Merge pull request #11013 from dcermak/suse_ipv6_support
Add ipv6 network config templates for SUSE based distributions
2019-09-06 11:08:37 -07:00
Brian Cain 2c88a6595c
Update CHANGELOG 2019-09-06 08:53:24 -07:00
Brian Cain f74239bed9
Merge pull request #11043 from briancain/provisioner-enhancements
Introduce new Provisioner options: before and after
2019-09-06 08:52:40 -07:00
Brian Cain 17e5240547
Update CHANGELOG 2019-09-06 08:50:34 -07:00
Brian Cain f9b60ba603
Merge pull request #11052 from briancain/add-skip-used-boxes-with-force-prune
Fixes #10908: Preserve in-use boxes when force flag is used with prune
2019-09-06 08:49:40 -07:00
Brian Cain bc3d80d637
Update CHANGELOG 2019-09-06 08:48:22 -07:00
Brian Cain 2f6d8b5934
Merge pull request #11053 from briancain/docker-passwd-auth-provider-host-vm
Fixes #11051: Only use host vm if specified
2019-09-06 08:47:34 -07:00
Brian Cain 5210e9d82b
Update flag from used to active 2019-09-05 15:46:43 -07:00
Brian Cain 99b5867559
Update reject to compact 2019-09-05 15:39:24 -07:00
Brian Cain 09af983caa
Fixes #11051: Only use host vm if specified
Prior to this commit, the docker login action assumed that if there was
a password to authenticate with, Vagrant was using a host vm to run
docker. This is likely due to some legacy decisions with how Vagrant
used to manage running docker. This commit fixes that by only grabbing a
host_vm lock if the host_vm is actually in use, otherwise login
normally.
2019-09-05 14:54:40 -07:00
Brian Cain e19f54457d
Fixes #10908: Preserve in-use boxes when force flag is used with prune
Prior to this commit, `vagrant box prune --force` would not prompt a
user to prune Vagrant boxes, even if that box was in use. There was no
way to prune boxes, ignore the prompt, but keep in-use boxes. This
commit adds a new flag that can be combined with `--force`, that will
keep in-use boxes but prune older boxes without prompting the user.
2019-09-04 15:54:11 -07:00
Brian Cain 7b0dc8d528
Update provisioner enhancements from pull request feedback 2019-08-29 13:50:22 -07:00
Brian Cain 84bf9aefe9
Merge pull request #11036 from briancain/vagrantcloud/note-about-public-boxes
Add note about public boxes and release status for Vagrant Cloud
2019-08-29 09:25:45 -07:00
Brian Cain 4c35adafbe
Merge pull request #11029 from briancain/update-hashicorp-box
Update docs with newly supported hashicorp/bionic64 box
2019-08-29 09:25:32 -07:00
Brian Cain 07bcfc6077
Add error if both before and after options are set 2019-08-28 16:15:33 -07:00
Brian Cain 258ce7733c
Remove todo note from docs 2019-08-28 16:09:02 -07:00
Brian Cain fc8bf6aed4
Ensure a dependency provisioner isnt configured to rely on another dependency provisioner 2019-08-28 15:52:38 -07:00
Brian Cain f608c324e5
Update dependency provisioner docs 2019-08-28 15:09:48 -07:00
Brian Cain c192651e90
Make dependency provisioners experimental 2019-08-28 15:09:38 -07:00
Brian Cain 963319d938
Flip around action to be after dependency provisioner name 2019-08-28 14:39:42 -07:00
Brian Cain 160ee09da2
Cleanup sorting method for provisioner sorting 2019-08-28 14:32:51 -07:00
Brian Cain 8c39d9bfed
Add dependency provisioner name to error message 2019-08-28 14:30:32 -07:00
Brian Cain c1f0bd638d
Insert _at_ index, rather than before
Inserting at the right index places new item *before* the index, so no
need to decrement and then insert, since `insert` takes care of shifting
down elements of the array.
2019-08-28 14:11:25 -07:00
Brian Cain 5400af7a4a
Add note about dependency provisioner dependencies 2019-08-27 15:37:39 -07:00