summaryrefslogtreecommitdiff
path: root/scripts/ci
Commit message (Collapse)AuthorAgeFilesLines
* Fix hab testing script.Pete Higgins2020-08-252-0/+2
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Add Linux support to habitat test pipelineChristopher A. Snapp2020-07-131-0/+3
| | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* Add windows + linux hab tests to verify pipelineChristopher A. Snapp2020-07-132-0/+57
| | | | | | | This removes the verify/habitat pipeline by bringing windows and linux verification tests into the default verify pipeline. Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* improve required hab version detectionRobb Kidd2020-04-281-3/+2
| | | | | | | | The original implementation--written by me--was incredibly naive in only testing the minor version. This is much better in using a Version class that knows how to compare actual version numbers. Signed-off-by: Robb Kidd <robb@thekidds.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>