16059 Commits

Author SHA1 Message Date
Chris Roberts
db31578438 Add 32 bit build target for linux 2022-08-03 10:41:33 -07:00
Chris Roberts
22dd78fb42 Isolate spec runs to acceptance repository 2022-08-03 10:41:33 -07:00
Chris Roberts
d31f9a59a5 Only patch fake_ftp when running tests
The fake_ftp patches should only be applied when running tests. Since
the library is a development dependency only, it will not be available
for loading from a release.
2022-08-02 10:44:07 -07:00
Paul Hinze
8e83537f7d
Merge pull request #12786 from g-rendeiro/patch-1
Update Hyper-V disable instructions for Windows 11
2022-08-01 14:19:40 -05:00
Sophia Castellarin
14e825b8d0
Merge pull request #12753 from dcermak/bump-fake_ftp
Bump fake_ftp to ~> 0.3.0 & adjust tests
2022-08-01 13:23:00 -05:00
Paul Hinze
88ee48463b
Update CHANGELOG.md 2022-08-01 12:50:42 -05:00
Paul Hinze
1b93691b8a
Merge pull request #12567 from electrofelix/improve-gem-resolving
Improve Gem spec selection when resolving
2022-08-01 12:49:16 -05:00
Sophia Castellarin
aee8d7b96e
Merge pull request #12785 from dustymabe/dusty-el9
Enhancements for EL guests capabilities
2022-08-01 12:10:40 -05:00
sophia
df94a36568 Patch fake_ftp for determining the size of files 2022-08-01 11:30:29 -05:00
sophia
9cf8c23f48 Fix push test 2022-07-29 16:15:46 -05:00
Paul Hinze
3d619aac16
Update CHANGELOG.md 2022-07-29 11:14:36 -05:00
Paul Hinze
6f44de5076
Merge pull request #12813 from sni/patch-1
Update nfs_client.rb for rocky 9
2022-07-29 11:12:47 -05:00
Dusty Mabe
3ad20c4c7b guests: add Alma Linux guest support 2022-07-29 09:22:50 -05:00
Dusty Mabe
d82d0fb657 guests: make CentOS/RHEL flavor detection more dynamic
Instead of having to update these flavor.rb files every time a
new version of CentOS/RHEL come out let's dynamically pick up
the version (7,8,9) from the machine.

This was inspired slightly by the Rocky Linux guest flavor.rb.
2022-07-29 09:22:50 -05:00
Dusty Mabe
4336aff67d guests/centos: use GUEST_DETECTION_NAME='centos' to ID CentOS
This migrates the CentOS guest plugin to identify machines by
what is in os-release rather than based on if the /etc/centos-release
file exists.

It just so happens that the Rocky Linux plugin is set up to inherit
directly from :redhat (not :centos) and thus the CentOS flavor is
attempted before Rocky in the depth first search. For some reason
the rockylinux/8 vagrant box still has the /etc/centos-release file
in it even though it's only supposed to inherit from RHEL.

The almalinux/9 box does not have /etc/centos-release.
2022-07-29 09:22:50 -05:00
Dusty Mabe
3b1e277f72 guests: RHEL 9 and CentOS stream 9 are out 2022-07-29 09:22:50 -05:00
Sophia Castellarin
7e54c83192
Merge pull request #12473 from soapy1/docs-fixes
Grammatical fixes
2022-07-29 08:59:11 -05:00
Chris Roberts
6a19770d8c Update CHANGELOG 2022-07-28 16:53:37 -07:00
Chris Roberts
da1b89b820
Merge pull request #12584 from chrisroberts/algo-patch
Set algorithms in kex
2022-07-28 16:51:42 -07:00
Chris Roberts
8be63e5c47 Update CHANGELOG 2022-07-28 16:50:42 -07:00
Chris Roberts
ab59462cf4 Update contributing doc 2022-07-28 16:45:16 -07:00
Chris Roberts
8c1b59c2b1 Include failure message on upload 2022-07-28 16:36:09 -07:00
Chris Roberts
11fa561c3e Rename the generated binary before compressing 2022-07-28 16:32:35 -07:00
Chris Roberts
15ec67b086
Merge pull request #12822 from chrisroberts/fix-build
Install submodules before attempting to build
2022-07-28 15:43:25 -07:00
Chris Roberts
3dbbec9640 Install submodules before attempting to build 2022-07-28 15:23:13 -07:00
Chris Roberts
913630e451
Merge pull request #12821 from chrisroberts/update-ci-loader
Update CI loading script
2022-07-28 15:12:45 -07:00
Chris Roberts
053e2d0a43 Update CI loading script 2022-07-28 15:00:06 -07:00
Sophia Castellarin
7658b9c7e5
Merge pull request #12716 from lmnewton/fix-env-wincurl-doc
Fixing typo for VAGRANT_DISABLE_WINCURL option in website docs
2022-07-28 16:46:31 -05:00
Paul Hinze
4c34c9d26e
Merge pull request #12646 from hashicorp/push-heroku-print-output
Print output when pushing to Heroku
2022-07-28 16:36:55 -05:00
Sophia Castellarin
9f474338f7
Merge pull request #12668 from dcermak/bump_ed25519
Bump version of ed25519 to ~> 1.3.0
2022-07-28 16:24:13 -05:00
lmnewton
bfb3c88e16 Fixing typo for VAGRANT_DISABLE_WINCURL option in website docs 2022-07-28 15:18:57 -05:00
Dan Čermák
7e9f310dfc Bump fake_ftp to ~> 0.3.0 & adjust tests
Sadly, fake_ftp is unmaintained since 2021, but all other alternatives haven't
been touched for even longer :-/
2022-07-28 14:57:27 -05:00
Sophia Castellarin
dfdfc98f6b
Merge pull request #12820 from soapy1/restore-vagrantfile
Restore development Vagrantfile
2022-07-28 14:47:59 -05:00
sophia
16b907eed9 Grammatical fixes 2022-07-28 14:47:08 -05:00
Dan Čermák
3246849b1a Bump version of ed25519 to ~> 1.3.0 2022-07-28 14:45:49 -05:00
Dan Čermák
73ee447c87 Stop using the last argument as kwargs in unit tests
A few unit tests started failing with Ruby 3.0, because they were relying on
keyword arguments being converted into hashes automatically. This behavior was
deprecated in Ruby 2.7 and results in errors in Ruby 3.0 onward.

For further details:
https://rubyreferences.github.io/rubychanges/3.0.html#keyword-arguments-are-now-fully-separated-from-positional-arguments
2022-07-28 14:45:47 -05:00
sophia
ba93a4e323 Restore Vagrant development Vagrantfile 2022-07-28 14:12:50 -05:00
Sophia Castellarin
87689f5f19
Merge pull request #329 from hashicorp/warn-compatability
Warn compatability
2022-07-28 11:57:49 -05:00
sophia
d05e4503bb Add docs for VAGRANT_SUPPRESS_GO_EXPERIMENTAL_WARNING env var 2022-07-28 11:54:32 -05:00
sophia
2f5c185708 Warn users when using vagrant-go 2022-07-28 11:54:27 -05:00
Chris Roberts
6aa63e309a
Merge pull request #326 from hashicorp/release-updates
Release updates for vagrant-agogo
2022-07-27 13:22:39 -07:00
Paul Hinze
b10ca08d67
Merge pull request #327 from hashicorp/command-options
Support and honor the "primary" option for Command plugins
2022-07-27 15:19:33 -05:00
Paul Hinze
e9488a041d
bump sdk 2022-07-27 15:15:09 -05:00
Paul Hinze
7c56c74bb6
Support and honor the "primary" option for Command plugins 2022-07-27 11:36:04 -05:00
Paul Hinze
9a096926c2
Merge pull request #328 from hashicorp/ci-enable-more-components
ci: enable shell provisioner component
2022-07-26 18:15:04 -05:00
Sophia Castellarin
5170d83c21
Merge pull request #325 from hashicorp/load-external-plugin-config
Find type to unany objects when mapping
2022-07-26 14:15:33 -05:00
Chris Roberts
62d16b3b9f Build and store the binary on non-release builds 2022-07-26 11:38:41 -07:00
sophia
c2d8f892ac Find type to unany objects when mapping
find_types works fine until you have a module which has the same name but different case. For example, the VagrantVmware package is HashiCorp::VagrantVMwareDesktop. All the protos are at Hashicorp::Vagrant::… So, you end up with this fun

Object.constants.select { |n| n.to_s.downcase == "hashicorp" }
=> [:HashiCorp, :Hashicorp]

So, when trying to walk down the modules to find the right type to unany to, Vagrant sometimes takes the wrong path (eg. Down the HashiCorp module instead of the Hashicorp module).

This change will keep a list of the parent modules when walking down the module list. This way if a dead end is reached then Vagrant can go a level back and keep searching for the correct class.
2022-07-26 12:22:28 -05:00
Chris Roberts
54502d5d66
Merge pull request #324 from hashicorp/fix-packaged-hang
Fix hanging commands when using packaged installation
2022-07-26 09:12:50 -07:00
Chris Roberts
cbbc0ca7f5 Keep deferred close as multiple calls are allowed 2022-07-25 15:28:00 -07:00