diff options
author | Lamont Granquist <lamont@chef.io> | 2019-10-17 17:24:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-17 17:24:02 -0700 |
commit | b69770112b414436fd0a605d297a267bc59879bf (patch) | |
tree | 547d8ac45bb76bde2984debf35000ab02743d8a4 | |
parent | 46161bb40a142052ffa8a0030a91c10c6f50fc7d (diff) | |
parent | 66493e581d675dacaa3ace8f3d7a26520c3ac738 (diff) | |
download | chef-b69770112b414436fd0a605d297a267bc59879bf.tar.gz |
Improve habitat test pipeline (#9004)
Improve habitat test pipeline
-rw-r--r-- | .expeditor/config.yml | 2 | ||||
-rw-r--r-- | .expeditor/habitat-test.pipeline.yml | 17 |
2 files changed, 15 insertions, 4 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 3272e4c7eb..e21ca248f2 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -26,7 +26,7 @@ pipelines: - verify: public: true - habitat/build - - habitat-test: + - habitat/test: definition: .expeditor/habitat-test.pipeline.yml - omnibus/release - omnibus/adhoc: diff --git a/.expeditor/habitat-test.pipeline.yml b/.expeditor/habitat-test.pipeline.yml index 32e799a6dd..31e259f072 100644 --- a/.expeditor/habitat-test.pipeline.yml +++ b/.expeditor/habitat-test.pipeline.yml @@ -3,7 +3,18 @@ steps: - label: ":linux: Validate Habitat Builds of Chef Infra" commands: - - hab pkg install chef/chef-infra-client + - hab pkg install "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64LINUX" + - powershell -File "./habitat/tests/test.sh" -PackageIdentifier "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64LINUX" + expeditor: + executor: + linux: + privileged: true + single-use: true + +- label: ":linux: :two: Validate Habitat Builds of Chef Infra" + commands: + - hab pkg install "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64LINUXKERNEL2" + - powershell -File "./habitat/tests/test.sh" -PackageIdentifier "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64LINUXKERNEL2" expeditor: executor: linux: @@ -12,10 +23,10 @@ steps: - label: ":windows: Validate Habitat Builds of Chef Infra" commands: - - hab pkg install chef/chef-infra-client + - hab pkg install "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS" + - powershell -File "./habitat/tests/test.ps1" -PackageIdentifier "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS" expeditor: executor: windows: - os-version: 2016 privileged: true single-use: true |