Commit graph

28 commits

Author SHA1 Message Date
Ryan Davis
84fd8af96a Added SLOW=1 env var to run slow installer tests, otherwise skipped
+ Added SLOW=1 to appveyor (I hope?) and travis.
+ Off by default.

Speeds up installer tests from ~5.5 seconds to ~0.5 seconds.

Once this is established, we can push this up to the main helper and
generalize if it works out for us.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-05-17 02:26:07 -07:00
Miah Johnson
b1357a40c5 Use a updated OS Image in Appveyor
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-25 18:13:21 -07:00
Miah Johnson
4c3b88350c -x64 should be included in the version.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-25 16:39:35 -07:00
Miah Johnson
b32c246ead Enable 64bit Ruby for 24, 25, and 26.
Disable MSBuild mode entirely.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-25 16:31:57 -07:00
Miah Johnson
ddc5267bbb
Merge pull request #3980 from inspec/appveyor_windows_26
Bump appveyor.yml to build on 2.6 for unit-tests-ruby-2.6.
2019-04-25 15:28:24 -07:00
Ryan Davis
fff5a68658 Bump functionals to ruby 2.6.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-04-25 15:19:59 -07:00
Ryan Davis
4a055c1a81 Bump appveyor.yml to build on 2.6 for unit-tests-ruby-2.6.
Fixes windows testing for this variant. (Untested)

Signed-off-by: Ryan Davis <ryand-ruby@zenspider.com>
2019-04-25 15:05:31 -07:00
Tim Smith
b095e2192e Make sure we test on Ruby 2.6
Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-25 11:14:27 -04:00
Tim Smith
00ce6c02df Require Ruby 2.4 or later
Ruby 2.3 is no longer supported. Drop this release from InSpec and
instead support the 3 latest Ruby releases.

Signed-off-by: Tim Smith <tsmith@chef.io>
2019-04-16 21:19:40 -07:00
Clinton Wolfe
6f1c8ab6df Disable RDP login for appveyor
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 12:14:53 -05:00
Clinton Wolfe
fb1e6c4f03 Temporarily enable RDP login for appveyor
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-06 11:45:19 -05:00
Jared Quick
d33d189d93
Create appvayor workers for Windows functional tests. (#3397)
* Add more windows functional tests and create some appvayor workers.
* Fix uuid test for automate

Signed-off-by: Jared Quick <jquick@chef.io>
2018-11-08 12:00:14 -05:00
James Stocks
7c58285eb6 New resource to work with Windows security identifiers (SIDs) (#3405)
* Resource for a Windows Security Identifier (SID)
* Integration tests for security_identifier resource
* Address rubocop violations
* Improve security_identifier from PR feedback
* Update security_identifier tests
* Improve security_identifier unit tests
* Fix unit tests fpr security_identifier resource
* More security_identifier unit tests
* Add docs page for security_identifier resource
* Fix issues with documentation
* Improve docs
Link to Microsoft reference page, and use their term 'trustee' instead of 'entity' where applicable.

* Change exists to exist
* Test appveyor file changes.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-10-19 09:01:00 -04:00
Bryan McLellan
8588e543e0 Skip running appveyor on docs and examples (#3474)
Appveyor doesn't need to run if only docs or examples were changed.

This also avoids double-running by skipping the Expeditor commits.

Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2018-10-10 13:27:10 -04:00
Jared Quick
6445e2c6d5
Add windows functional tests (#3385)
* Add windows functional tests.
* Fix tests for 2012 server.
* Fix windows build script
* Add more functional tests for windows.
* Update comment with TODO.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-12 18:04:16 -04:00
Jared Quick
4e54475cec
Fix tests for ruby 2.5 (#3125)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-06-11 11:25:16 -04:00
Miah Johnson
ecbede56fa Ruby 2.5.0 is released and stable we need to start testing (#2604)
Add Ruby 2.5.0 to test matrix

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2018-02-13 12:39:47 -05:00
Jerry Aldrich
3fd25e2ac3 Add release-2.0 target branch to AppVeyor/Travis (#2510)
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-02-07 16:00:17 -05:00
Adam Leff
935c56394f Remove bundler install during Appveyor tests (#2322)
It appears that the Appveyor images changed recently and the Ruby
installs for all version (2.2, 2.3, and 2.4) already include Bundler
installed. Attempting to install it will hang the tests at an
interactive prompt asking if you want to override the install, and
--force'ing the install causes path issues and Rubygems won't be able
to activate the gem.

Removing the bundler install appears to solve the problem nicely.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-20 19:11:43 +01:00
Adam Leff
f05e22ad33 Require Ruby 2.3 and later (#2293)
* Require Ruby 2.3 and later

Ruby 2.1 is EOL, and Ruby 2.2 is on security fixes only. This moves
InSpec to support the current "normal maintenance" versions of Ruby
like Chef does and also bumps the versions used in Travis tests.

Signed-off-by: Adam Leff <adam@leff.co>

* Remove Ruby 2.2 from appveyor

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-16 22:02:35 +07:00
Dominik Richter
f3d182a2ed update minimum ruby from 2.1 -> 2.2, add 2.4 (#2029)
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2017-07-24 11:19:53 -04:00
Christoph Hartmann
efc8542320 drop ruby 1.9.3
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-01-03 11:06:01 +01:00
Victoria Jeffrey
4baf1ae99c move inquirer to deploy 2016-09-27 14:23:32 -04:00
John Keiser
75c15fd0b6 Add Ruby 2.3 to the test matrix, make it the primary test for most suites 2016-08-25 14:13:17 -04:00
Dominik Richter
7ed8a508a5 fix appveyor config 2016-04-29 19:23:46 -04:00
Dominik Richter
279af1aa14 update appveyor ruby to 2.2 + fix caching 2016-04-28 21:04:49 -04:00
Christoph Hartmann
54b8d9ca63 optimize appveyor 2016-02-22 14:50:26 +01:00
Christoph Hartmann
0160440ecc activate appveyor 2016-01-20 11:12:29 +01:00