summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Cache gems in Buildkite testingTim Smith2020-04-152-12/+18
| | | | | | Also improve the output. This is all work synced from master. Signed-off-by: Tim Smith <tsmith@chef.io>
* Download and verify the Ruby installer, then move into placebtm/15-fix-win-func-testBryan 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'. Backport of #9603 Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Use $env:temp instead of c:/btm/15-fix-windows-func-testBryan McLellan2020-04-031-4/+4
| | | | | | The drive root has more restrictive permissions Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* Trying to get buildkite output more readable / navigable.Ryan Davis2020-03-161-5/+3
| | | | Signed-off-by: Ryan Davis <zenspider@chef.io>
* Set env vars in the container setup scriptTim Smith2020-03-161-0/+4
| | | | | | We're setting the same env vars in each job. Seems entirely pointless. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add more folding to the windows functional testsTim Smith2020-03-161-5/+3
| | | | | | Make this easier to debug in the future Signed-off-by: Tim Smith <tsmith@chef.io>
* Use the aws cli to download ruby in the windows testsTim Smith2020-03-161-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-161-2/+0
| | | | | | This shaves 5 seconds off the non-functional / berkshelf times Signed-off-by: Tim Smith <tsmith@chef.io>
* More foldingTim Smith2020-03-161-1/+3
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add logging / log folding to BKTim Smith2020-03-162-0/+5
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Refresh the apt cache thoughTim Smith2020-03-161-0/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Stop installing packages on our constainers that are already thereTim Smith2020-03-161-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 testsswitch_windows_15Tim 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>
* 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