summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Run more Travis tests on Ruby 2.5.1Tim Smith2018-10-161-13/+13
| | | | | | There's no reason to keep executing our TK tests against ruby 2.4. Signed-off-by: Tim Smith <tsmith@chef.io>
* add suse rspec testingdheerajd-msys2018-09-251-0/+17
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* review fixesLamont Granquist2018-08-101-0/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* we no longer need to uninstall rspec 3.8.0Lamont Granquist2018-08-101-1/+0
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* add centos-7 rspec testingLamont Granquist2018-08-101-0/+17
| | | | | | running rspec inside a test-kitchen provisioned centos-7 docker container Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Maybe hold off on rspec 3.8Seth Thomas2018-08-061-0/+1
| | | | Signed-off-by: Seth Thomas <sthomas@chef.io>
* Swap chef-12 for chef-14 branches in CITim Smith2018-07-171-0/+1
| | | | | | | chef-14 branch doesn't exist yet, but this way we won't have to update things when we fork Signed-off-by: Tim Smith <tsmith@chef.io>
* Enable Amazon Linux 2.0 tests againTim Smith2018-07-091-21/+17
| | | | | | | We've deployed a new omnitruck release which should correct the version identification bug we had before. Signed-off-by: Tim Smith <tsmith@chef.io>
* Temporary disable of Amazon Linux 2 from Travis CIStuart Preston2018-07-031-17/+19
| | | | Signed-off-by: Stuart Preston <stuart@chef.io>
* Rename the kitchen base test suite to end-to-endTim Smith2018-06-271-11/+11
| | | | | | It's our end-to-end test according to the readme. This just aligns the recipe/suite names with that so it's a bit more obvious what we're doing here. This also removes sudo installs since I moved that all to dokken-images now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove awesome customers testing and update kitchen configsTim Smith2018-06-161-46/+11
| | | | | | | | Awesome customers cookbook testing isn't even correct from learn chef anymore and it's not coming back in this form. There's no reason to keep carrying it around. This change also deps on kitchen 1.21 and uses the new name for the configs. Much easier to find if you're browsing the source in Finder/Explorer. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #7167 from chef/lcg/actuall-test-cheffsLamont Granquist2018-04-231-3/+4
|\ | | | | actually test against cheffs
| * test chef-zero against chef_fs in the chef/chef checkoutLamont Granquist2018-04-231-3/+4
| | | | | | | | | | | | goes red because we're really red here Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | removing foodcritic from travislcg/remove-foodcritic-from-travisLamont Granquist2018-04-231-4/+0
|/ | | | | | it doesn't depend on chef/chef so this test seems quite pointless. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Disable testing of poise in travis for nowpoiseTim Smith2018-04-231-4/+5
| | | | | | Disable this pending a Chef 14 compatible version of poise Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove duplicate knife-windows travis testingavoid_double_testTim Smith2018-04-211-4/+0
| | | | | | Not sure how this got in there, but we certainly don't need it. Signed-off-by: Tim Smith <tsmith@chef.io>
* bump ruby versionsLamont Granquist2018-04-021-30/+30
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #7004 from chef/amazon_linux_build_essentialTim Smith2018-03-201-1/+18
|\ | | | | Don't try to install old GCC packages on Amazon Linux 2
| * Test no Amazon Linux 2.0amazon_linux_build_essentialTim Smith2018-03-191-1/+18
| | | | | | | | | | | | It's enough different and we're starting to get a good number of users on the new version. Signed-off-by: Tim Smith <tsmith@chef.io>
* | remove bundle audittm/remove_bundle_auditThom May2018-03-201-6/+0
|/ | | | Signed-off-by: Thom May <thom@chef.io>
* Add the sudo resource from the sudo resourceTim Smith2018-03-151-13/+13
| | | | | | Copied as is with the new description fields added. Signed-off-by: Tim Smith <tsmith@chef.io>
* Test Ubuntu 18.04test_18.04Tim Smith2018-03-021-0/+17
| | | | | | We have a dokken image for 18.04 based off the beta and rebuilding on a schedule in Docker Cloud. Signed-off-by: Tim Smith <tsmith@chef.io>
* fix all the instances of thisLamont Granquist2018-02-281-12/+12
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* this really needs to be turned into a yml file...Lamont Granquist2018-02-281-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix travis to correctly run-as-rootlcg/testing-crazy-fucking-ideasLamont Granquist2018-02-211-6/+6
| | | | | | | A spec here was accidentally dropping privs from root which was causing subsequent chaos with file perms issues in later specs. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Disable sudo on unit testslcg/travis-tetingLamont Granquist2018-02-201-6/+6
| | | | | | This seems to make unit tests on travis somewhat more stable Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove testing of Debian 7bye_debian_7Tim Smith2018-02-041-17/+0
| | | | | | Debian 7 goes EOL 31st May 2018 Signed-off-by: Tim Smith <tsmith@chef.io>
* [ci skip] add comment about why we do what we do hereLamont Granquist2018-01-251-0/+3
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* allow uninstall of bundler to faillcg/uninstall-bundler-failsLamont Granquist2018-01-251-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* see what up with the proxy teststm/proxy_testsThom May2018-01-231-0/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* start branch for 14Thom May2018-01-191-35/+13
| | | | Signed-off-by: Thom May <thom@chef.io>
* Add Ruby 2.5 testing to TravisTim Smith2018-01-181-0/+20
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update to Ruby 2.4.3ruby243Tim Smith2018-01-051-27/+27
| | | | | | | | | This resolves this CVE https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/ It also backports a few bugfixes from 2.5.0: https://github.com/ruby/ruby/compare/v2_4_2...v2_4_3 Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't run sudo on every travis jobtravis_speedupTim Smith2018-01-041-1/+0
| | | | | | | We already specify sudo where we need it. Enabling it everywhere just means we have to run full boxes that take longer to spin up. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the Gemfile.lock and Berksfile.lock for kitchen testsintegration_docsTim Smith2017-12-221-13/+0
| | | | | | We're probably going to see some more failures with this change, but that's a good thing. If we have a bad kitchen change or a bad cookbook change we'll know now earlier. Less impact == better. Signed-off-by: Tim Smith <tsmith@chef.io>
* Break out unit/integration/functional tests in travis and test chef-configTim Smith2017-12-201-6/+36
| | | | | | Add the chef-config unit tests to the unit testing group Signed-off-by: Tim Smith <tsmith@chef.io>
* Fail if we can't modify the sudoers fileTim Smith2017-12-201-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove duplicate amazon linux test in the travis configTim Smith2017-12-071-25/+4
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the allowed_failures in TravisTim Smith2017-12-071-1/+0
| | | | | | It should all pass now Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix the name of the opensuse kitchen boxTim Smith2017-12-041-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add opensuse testing to TravisTim Smith2017-12-011-0/+18
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove the old amazon travis defamazon_testingTim Smith2017-12-011-18/+0
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add Amazon Linux kitchen run to TravisTim Smith2017-11-301-0/+18
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Turn back on Fedora testing in TravisTim Smith2017-11-281-18/+18
| | | | | | | Use the new openssh cookbook which has a Fedora fix Turn off use_privilege_separation which doesn't work on Fedora Signed-off-by: Tim Smith <tsmith@chef.io>
* Switch from the Travis container to the VMbtm/travisBryan McLellan2017-11-221-1/+1
| | | | | | | | | | | | | If `sudo` is `false`, then Travis CI will use a container for testing. If `sudo` is `required, then it will use a GCE VM. We've recently been seeing permission errors that appeared related to the Travis CI infrastructure. Switching to the VM resolves those errors. The downside is that it takes 50s instead of 5s to start up the tester, but given that our tests take 18 minutes that is okay. https://docs.travis-ci.com/user/reference/trusty/ Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Remove the webapp cookbook from integration testsTim Smith2017-09-181-10/+10
| | | | | | This isn't coming back. We'll replace it with the learnchef stuff in another PR. Signed-off-by: Tim Smith <tsmith@chef.io>
* Test on the latest Ruby and disable Amazon Linux testingTim Smith2017-09-181-43/+43
| | | | | | It's been failing for a LONG time. We need to fix it, but lets not waste cycles for now Signed-off-by: Tim Smith <tsmith@chef.io>
* Add Debian 9 testingTim Smith2017-09-181-0/+18
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update the chefspec URL for TravisTim Smith2017-06-081-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* simplify omnibus config and greenify builds againLamont Granquist2017-05-091-16/+16
| | | | | | | | | | | | | | this is also necessary for bundler-1.14.x i'm still not entirely clear why we ever needed all the fussy software gem configs or what the build-chef / build-chef-gem infrastructure ever did for us. it seems to have been mostly micro-optimization around building the software gems before bundle installing the project in order to take advantage of git caching. i aggressively don't care about that, this is quite fast enough. we can install nokogiri and libgecode early and that should take care of 98% of the build optimization issue. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>