Commit graph

47 commits

Author SHA1 Message Date
Tim Smith
b5ff949059 Update Ruby versions used for testing; fix Travis CI issues (#3678)
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-12-20 22:17:07 -05:00
Jared Quick
39b3b7135e
Add audit-cookbook integration testing (#3431)
* Add audit integration testing.
* Add some docs and feedback changes.
* Updated integration task to use paramaters and clean it up.
* Fix unit test

Signed-off-by: Jared Quick <jquick@chef.io>
2018-09-25 15:53:26 -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
Julian C. Dunn
153fd7182d Now that release-2.0 has merged into master you don't need to test it anymore! (#2718)
Signed-off-by: Julian C. Dunn <jdunn@chef.io>
2018-02-21 16:45:29 -08: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
Jared Quick
7d26674754 Remove the force uninstall bundler from travis. (#2533)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-06 15:09:52 +01:00
Adam Leff
c1f57d9875 Bump Omnibus Ruby (and Travis Rubies) to 2.4.3 (#2452)
Addresses CVE-2017-17405.

Signed-off-by: Adam Leff <adam@leff.co>
2018-01-16 14:28:19 -08:00
Adam Leff
ff5dbb79cb
Fixing Travis tests due to rvm/bundle issues (#2421)
Signed-off-by: Adam Leff <adam@leff.co>
2017-12-21 22:36:22 -05:00
Adam Leff
9ca69787d5 Split unit tests from functional (#2391)
Functional tests can sometimes be picky. Moving them to their own
matrix item so they're smaller and faster to re-run if needed.

Signed-off-by: Adam Leff <adam@leff.co>
2017-12-12 17:28:46 +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
Adam Leff
8b8d240fe6 Remove test/resources directory, update README (#2124)
* Remove test/resources directory, update README

The test/resources directory is stale and no longer used. Rather, we
favor Test Kitchen-backed integration tests in test/integration.

This change removes the stale tests and updates the README accordingly.

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

* Remove resources tests from travis

Signed-off-by: Adam Leff <adam@leff.co>
2017-09-06 12:05:25 +02:00
Adam Leff
a8bc555214 Add slack notifications for Travis CI builds to master (#2092)
Signed-off-by: Adam Leff <adam@leff.co>
2017-08-21 23:40:36 +02: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
Adam Leff
631424d305
Fix travis config for web acceptance environment
I must've been dealing with some fun travis caching because
after my last change was merged, this travis job disappeared.
The .travis.yml config I used was wrong... this should do it.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-04 17:41:50 -04:00
Adam Leff
bcac449547
Ignore web acceptance travis errors
The website acceptance job in Travis will fail for non-chef-github
users because we use encrypted environment variables. This job
should never hold up an accepted PR, so I'm moving it to the
allowed_failures section.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-04 16:24:37 -04:00
Adam Leff
8693749eef Move CI scripts directory
Per PR feedback, moving the CI scripts directory from the repo root.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 10:10:36 -04:00
Adam Leff
a1b7e3167e [www] Adding a website acceptance environment
If changes are detected in the docs or www directory, a website
build will be generated that pushes up to Netlify. This will allow
teams to validate web changes without requiring pulling down the
branch and building locally.

Signed-off-by: Adam Leff <adam@leff.co>
2017-04-12 10:10:36 -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
John Keiser
2b37bd6586 Fix bundle install on Ruby 2.1.9 2016-08-25 14:16:16 +02:00
Christoph Hartmann
02158fbfe4 restructure test suites in travis 2016-08-24 10:50:02 +02:00
Christoph Hartmann
96968171f2 allowed failures for unit/functional tests until travis is fixed 2016-08-10 17:00:50 +02:00
Steven Danna
9346f5dd34
travis experiment: lower docker concurrency
Signed-off-by: Steven Danna <steve@chef.io>
2016-08-10 12:52:21 +01:00
Steven Danna
b979579e5f
Remove some platforms from travis config
We can run these platforms before the release, but running them on every
commit means we wait a long time for travis builders.
2016-08-05 18:16:55 +01:00
Christoph Hartmann
5d78324059 add fedora 23 & 24 to kitchen integration tests 2016-08-05 10:52:03 +02:00
Christoph Hartmann
93a068b8fa update kitchen container, activate all in travis 2016-08-05 10:52:03 +02:00
Steven Danna
185787fa74
Set environment variables via Travis config
Using the `env` feature of the matrix builds is a little hack so that
one can quickly see what tests failed when looking at the build summary
page.

Signed-off-by: Steven Danna <steve@chef.io>
2016-08-04 13:32:35 +01:00
Steven Danna
72333a08ec
Only test PRs and pushes to master
Without this, Travis often ends up running 2 CI jobs for updates to a
PR: 1 for the update to the PR, 1 for the push to the branch.

By adding this bit of config, travis will still run a job for any update
to a PR, but won't run a duplicate job for the push to the branch that
the PR is based off of. We use this in chef/chef and chef/chef-server
to reduce unnecessary use of TravisCI resource.
2016-08-02 11:55:06 +01:00
Christoph Hartmann
ba95e461d3 run integration tests in docker 2016-05-16 18:25:17 +02:00
Dominik Richter
890ce1921f release via travis + test via rubygems 2016-04-18 10:46:12 -04:00
Stephan Renatus
d297b3dc6f travis/Gemfile: use train from github 2016-04-18 11:53:30 +02:00
Dominik Richter
0e1be01c5f set 5 parallel workers for travis functional tests 2016-03-16 15:38:12 +01:00
Dominik Richter
e53d33bc98 add functional test types 2016-03-16 08:23:13 +01:00
Stephan Renatus
bcee367104 dedup Gemfiles 2016-02-08 14:34:35 +01:00
Christoph Hartmann
925e1a7c4f ensure bundler is installed on travis 2016-02-05 12:54:19 +01:00
Christoph Hartmann
dbf22e7d51 bugfix: pin net-ssh 2.9 in gem file, since bundler is not selecting the right version 2016-01-22 11:29:18 +01:00
Stephan Renatus
5e44ac0396 using travis-ci's services:docker 2015-12-03 15:48:08 +01:00
Stephan Renatus
cac222090e workaround travis-ci's gem version 2015-12-03 15:45:19 +01:00
Christoph Hartmann
af613a14da do not load maintenance gems during testing 2015-10-30 17:30:44 +01:00
Dominik Richter
27fb80f5ee fix travis builds for 1.9.3 2015-10-25 23:22:52 +01:00
Christoph Hartmann
144393c7cd activate lint in travis 2015-10-05 15:51:23 +02:00
Dominik Richter
a85b47b5b4 split up tests for travis 2015-09-23 01:51:51 +02:00
Dominik Richter
f6e08a8ed6 switch from travis docker to kitchen-in-travis
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-23 01:01:51 +02:00
Dominik Richter
f789b16f5b let travis do dockerized resource tests 2015-09-22 19:43:11 +02:00
Christoph Hartmann
9a74f50836 add travis config 2015-09-22 02:15:41 +02:00