13527 Commits

Author SHA1 Message Date
sophia
6502a8d9c3 Update childprocess gem
childprocess v 1.x includes a fix for encoding on Windows
https://github.com/enkessler/childprocess/pull/134
This was previously causing errors on Windows hosts
2020-04-02 12:50:33 -04:00
sophia
338f13a2ae Use systemd to halt system if available 2020-04-01 15:43:10 -04:00
sophia
d87d421586 Install docker using docker repo instead of convenience script
This approach will be more stable than depending on a convenience
script provided by docker

ref: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-convenience-script
2020-04-01 15:05:48 -04:00
sophia
777f680837 Use systemd to rebot system if available 2020-04-01 13:57:07 -04:00
sophia
64ccd58da4 Add docs for podman 2020-03-31 09:21:57 -04:00
sophia
5c7fbb50e8 Test container provisioner plugin 2020-03-30 17:41:53 -04:00
sophia
0c0c361386 Extract container plugin 2020-03-30 17:41:49 -04:00
sophia
d0d6d01e24 Update CHANGELOG 2020-03-30 16:21:10 -04:00
Sophia Castellarin
0ca53d9e6e
Merge pull request #11356 from jackorp/vagrant-podman-container-build
Docker provider: catch container name when using podman.
2020-03-30 16:19:31 -04:00
sophia
4c74f8a112 Add podman provisioner 2020-03-30 15:02:56 -04:00
sophia
e6c387cdce Refactor non interactive UI 2020-03-30 11:26:18 -04:00
sophia
89f5249f7a Update CHANGELOG 2020-03-30 10:33:54 -04:00
Sophia Castellarin
54972c045b
Merge pull request #10592 from ichesnokov/master
Make sure that ips array contains unique values
2020-03-30 10:31:48 -04:00
sophia
0296e59baf Use :ui_class opt to set ui class 2020-03-30 10:21:14 -04:00
sophia
d230272062 Add NonInteractive UI 2020-03-30 09:32:23 -04:00
sophia
428fad9291 "Test -quiet-progress flag"` 2020-03-30 09:32:23 -04:00
sophia
baaaf8e7e6 Output report progress if show progress is enabled 2020-03-30 09:32:23 -04:00
sophia
d6d6e2c362 Surface cli option to quiet progress 2020-03-30 09:32:23 -04:00
sophia
c5a5b3d0b2 Yield output based on ui opts 2020-03-30 09:32:22 -04:00
Chris Roberts
fdd81a8641 Update CHANGELOG 2020-03-28 09:36:12 -07:00
Chris Roberts
c33c8dcd80
Merge pull request #11473 from chrisroberts/default-cli-options
Include default options in option parser
2020-03-28 09:34:41 -07:00
Chris Roberts
f6b369fea6 Disable checkpoint setup in cli testing 2020-03-28 09:06:34 -07:00
Chris Roberts
b8702ac889 Include default options in option parser
Adds method to shared helpers for adding procs to be evaluated
which can add default modifications to the option parser used
by commands. Customized option parser class within Vagrant
handles processing defined procs to set options.
2020-03-27 16:57:59 -07:00
Jeff Bonhag
dfad00fd25
Include machine name in error message
This will make it easier for folks to debug networking settings.
2020-03-27 11:49:21 -04:00
sophia
c4b80c30ea Test ips are de-duplicated when writing /etc/exports 2020-03-27 18:46:41 +03:00
sophia
f7d6070b0d Raise error when trying to install docker on centos8 2020-03-27 10:05:01 -04:00
Chris Roberts
217f2530db Use machine specific triggers instance when machine is available in runner 2020-03-26 17:20:55 -07:00
Brian Cain
8c11489ea7
Merge pull request #11466 from Danubian/patch-1
Fixing minor typo
2020-03-26 13:00:36 -07:00
Zack Maldonado
cbb34e7dbd
Fixing minor typo 2020-03-26 14:44:28 -04:00
Jaroslav Prokop
5208032594 Docker provider: catch container name when using podman.
When user is using podman's docker CLI emulation the containers would
fail to enter running state because the docker driver could not catch
the container name. This commit fixes that by adding a check if podman
docker emulation is used and pick the container hash correctly from the
output.
2020-03-25 19:34:31 +01:00
sophia
dd88258341 Update CHANGELOG 2020-03-25 13:34:21 -04:00
Sophia Castellarin
4ba98d459a
Merge pull request #11463 from soapy1/smb-redhat
Add suport for SMB on redhat
2020-03-25 13:33:23 -04:00
sophia
987ab17f4d Add suport for SMB on redhat 2020-03-25 12:27:04 -04:00
sophia
60b05426e1 Install containerd.io from docker on rhel_8
containerd.io is required for docker howerver it is not avilable
in official yum repos. It needs to be installed directly from
docker.

ref:
https://docs.docker.com/install/linux/docker-ce/centos/
https://linuxconfig.org/how-to-install-docker-in-rhel-8
2020-03-25 10:40:31 -04:00
sophia
9d53e8ccab Recognize rhel8 flavor 2020-03-25 10:36:02 -04:00
Chris Roberts
bcbbc825e0 Add test coverage on builder 2020-03-24 17:15:41 -07:00
Chris Roberts
2e0e772897 Add test coverage on trigger action 2020-03-24 14:32:34 -07:00
sophia
2fbc6fdac0 Update CHANGELOG 2020-03-24 10:29:38 -04:00
Sophia Castellarin
2dadeb3ee5
Merge pull request #11461 from soapy1/get-docker-image-id
Get correct docker image from build output
2020-03-24 09:27:20 -05:00
sophia
a706a0cb6c Update CHANGELOG 2020-03-24 10:25:40 -04:00
Sophia Castellarin
e07d3c80e2
Merge pull request #11355 from terryburton/master
docker provider: Don't explode when removing an image if it is in use
2020-03-24 09:22:36 -05:00
Chris Roberts
4b65368852 Update builder to use generic trigger action 2020-03-23 17:10:17 -07:00
Chris Roberts
505715500d Include autoloading for trigger constant 2020-03-23 17:09:46 -07:00
Chris Roberts
5f6ac0a6e4 Update trigger action files 2020-03-23 17:08:44 -07:00
Chris Roberts
8fad4865bb Update before trigger action to be generic trigger action 2020-03-23 17:08:21 -07:00
Terry Burton
b566b0ee13
rmi docker provider tests: May also be in use by a stopped container 2020-03-23 23:28:18 +00:00
Terry Burton
d372ba0b5d
Merge pull request #1 from soapy1/rmi-test
Test rmi functionality for docker provider
2020-03-23 23:24:12 +00:00
sophia
114742f3f8 Test rmi functionality for docker provider 2020-03-23 15:39:30 -05:00
sophia
324294993e Check for docker buildkit output first
When buildkit is enabled docker will write out
`writing image <image id>`
When buildkit is not enables docker will write out
`Successfully builld <image id>`
It is more likely that searching for the `writing image` will not
clash with build output than when searching for `Successfully built`.
eg. when installing python packages with pip, it is common to use
the verbage `Successfully built`.
2020-03-23 13:54:49 -05:00
sophia
380c25a7ae Get last image id from docker output 2020-03-23 10:10:19 -05:00