summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* add exitstatus checks after bare commands in PowerShell scriptsRobb Kidd2020-04-274-11/+24
| | | | | | | Need these so the PowerShell scripts will exit when bare commands fail. Otherwise the build just keeps truckin' and the errors just pile up. Signed-off-by: Robb Kidd <robb@thekidds.org>
* Run Test Kitchen tests on Ruby 2.7ruby27_testingTim Smith2020-04-251-3/+3
| | | | | | Let's see all the warnings Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #9607 from chef/cache_gemsTim Smith2020-04-072-11/+16
|\ | | | | Cache gems in the verify pipeline to speed up tests
| * Move all the config version stuff to it's own sectionTim Smith2020-04-051-9/+11
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Improve folding and don't install gem docsTim Smith2020-04-052-3/+6
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Download and verify the Ruby installer, then move into placeBryan McLellan2020-04-061-14/+33
| | | | | | | | | | | | | | This should reduce or remove race conditions while downloading the same file on multiple container instances. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* | Improved Ruby download/install for functional testsBryan McLellan2020-04-051-9/+55
|/ | | | | | | | | | Adds more error checking and avoids trying to download Ruby if for some reason it already exists on disk and matches the SHA256 hash. The primary issue discovered when troubleshooting this script was that aws.exe was running asynchronous. That was 'fixed' with '| Out-Null'. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Use $env:temp instead of c:/btm/fix-windows-func-testBryan McLellan2020-04-031-3/+3
| | | | | | The drive root has more restrictive permissions Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Update Ruby to 2.7.1 / bundler to 2.1.4Tim Smith2020-04-011-3/+3
| | | | | | | | This resolves 2 CVEs in Ruby https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-7-1-released/ Signed-off-by: Tim Smith <tsmith@chef.io>
* If we can't remove the Ruby installer in windows tests that's coolfail_less_windowsTim Smith2020-03-201-1/+1
| | | | | | | We're failing a lot when we try to remove this file. Just move on with life. Signed-off-by: Tim Smith <tsmith@chef.io>
* Trying to get buildkite output more readable / navigable.Ryan Davis2020-03-161-5/+3
| | | | Signed-off-by: Ryan Davis <zenspider@chef.io>
* Add more folding to the windows functional testsTim Smith2020-03-091-5/+3
| | | | | | Make this easier to debug in the future Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #9466 from chef/faster_specsTim Smith2020-03-091-0/+4
|\ | | | | Set env vars in the container setup script
| * Set env vars in the container setup scriptfaster_specsTim Smith2020-03-061-0/+4
| | | | | | | | | | | | We're setting the same env vars in each job. Seems entirely pointless. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Use the aws cli to download ruby in the windows testsTim Smith2020-03-091-2/+1
|/ | | | | | This should fix our busted windows tests Signed-off-by: Tim Smith <tsmith@chef.io>
* Only run apt-get update when we need toTim Smith2020-03-061-2/+0
| | | | | | This shaves 5 seconds off the non-functional / berkshelf times Signed-off-by: Tim Smith <tsmith@chef.io>
* More foldingTim Smith2020-03-061-1/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add logging / log folding to BKTim Smith2020-03-062-0/+5
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Refresh the apt cache thoughTim Smith2020-03-061-0/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Stop installing packages on our constainers that are already thereTim Smith2020-03-061-3/+0
| | | | | | We have these baked into the containers now Signed-off-by: Tim Smith <tsmith@chef.io>
* Pull the windows Ruby installer from S3 for testsTim Smith2020-02-051-1/+1
| | | | | | | This should prevent failures when we get throttled pulling it from Github Signed-off-by: Tim Smith <tsmith@chef.io>
* Add ruby 2.7 testingLamont Granquist2020-01-284-4/+67
| | | | | | bumps to bundler 2.1.2 and rubygems 3.1.2 because ruby 2.7 comes with those Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* move minimum hab check/install to a reusable scriptRobb Kidd2019-11-052-10/+11
| | | | | | | | | | | | | | | | And use it in both the verify/habitat and habitat/test pipelines. verify/habitat needs hab >= 0.85 to both build with environment variables that don't include the studio path[1] and to binlink the runtime with stubs that include the package and system environment.[2] habitat/test needs hab >= 0.85 to binlink the runtime with stubs that include the package and system environment. [1] https://github.com/habitat-sh/habitat/pull/6850 [2] https://github.com/habitat-sh/habitat/pull/6826 Signed-off-by: Robb Kidd <robb@thekidds.org>
* add more error checks to hab package testsRobb Kidd2019-11-051-0/+1
| | | | | | | | The PowerShell scripts calling PowerShell scripts was apparently swallowing the errors being thrown from inner layers. Check the error level of those scripts and throw another error if need be. Signed-off-by: Robb Kidd <robb@thekidds.org>
* only install hab 0.85 if not already installedhabiwindochefRobb Kidd2019-11-011-3/+10
| | | | Signed-off-by: Robb Kidd <robb@thekidds.org>
* add tests for the Windows habitat planRobb Kidd2019-11-011-0/+37
| | | | | | | | | | | | | | | | | | Adds a test PowersShell script to habitat/tests/ to run some simple tests on executable version output and then run the functional specs suite like the omnibus_test script does. scripts/ci/verify-plan.ps1 will perform a throwaway build of the plan under a "ci" origin and then run the test script upon the built package. The habitat/verify pipeline was updated to run the verify-plan.ps1 script. Signed-off-by: Robb Kidd <robb@thekidds.org> add Windows plan verification to verify-hab pipeline Signed-off-by: Robb Kidd <robb@thekidds.org>
* Bump Ruby to 2.6.5 to address CVEs #8951Christopher A. Snapp2019-10-022-6/+6
| | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* Avoid rake failures in the test kitchen testsTim Smith2019-09-301-4/+4
| | | | | | Also skip the docs installs here to speed things up Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix Windows Integration and Functional tests for BKJaymala Sinha2019-09-273-2/+49
| | | | | | | | | * Use default windows 2019 image * Skip 8dot3name tests as default disabled on 2019 * Use windows privileged executor for functional tests * Use windows docker image for chocolatey tests Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Run windows verification in powershellJaymala Sinha2019-09-053-0/+40
| | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Don't create interfaces.d anymoreTim Smith2019-06-091-1/+0
| | | | | | It's in the container now Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't install net-tools on opensuseTim Smith2019-06-081-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Make sure we have the interfaces.d directory on UbuntuTim Smith2019-06-081-3/+4
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove package install that's in the container nowTim Smith2019-06-081-5/+0
| | | | | | This should speed things up a bit Signed-off-by: Tim Smith <tsmith@chef.io>
* Add tests for CentOS & SUSETim Smith2019-06-083-46/+26
| | | | | | Cross your fingers Signed-off-by: Tim Smith <tsmith@chef.io>
* Enable All BK verification testsJaymala Sinha2019-06-043-0/+82
| | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Add more verification testsJaymala Sinha2019-04-121-1/+0
| | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Add Verification tests in Buildkitejsinha/migrate_verify_bkJaymala Sinha2019-04-111-0/+10
| | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* [OC-3564] remove unused scriptsSeth Chisamore2012-10-303-130/+0
| | | | | These scripts are no longer needed now that none of the Chef Server components live in this repository.
* update features screen script for expanderBryan McLellan2011-02-091-2/+2
|
* add screen script for starting rake dev:features:start:*Bryan McLellan2011-02-091-0/+28
|
* update features infrastructure for chef-expanderDaniel DeLeo2011-02-031-44/+63
|
* make screen-based dev environment start script 0755Daniel DeLeo2010-07-311-0/+0
|
* no more sudo in mac dev startDaniel DeLeo2010-03-291-4/+4
|
* Merge branch 'CHEF-925' of git://github.com/timh/chef into timh/CHEF-925Adam Jacob2010-02-081-1/+7
|\
| * updated cucumber.yml to work with cucumber 0.6, fixing CHEF-925; fixed ↵Tim Hinderliter2010-02-051-1/+7
| | | | | | | | incorrect whitespace in template feature (tab embedded in a scenario description); added terminal escape sequences to scripts/mac-dev-start so that process names are in tab titles
* | Adding Web UI Rake TasksAdam Jacob2010-02-031-2/+1
|/
* chef-731, initial version only supporting 'dev', not 'features'jtimberman2009-11-231-0/+24
|
* Adding mac-dev-start script, that spawns terminals for you on macAdam Jacob2009-09-261-0/+54