diff options
author | Jeremiah Snapp <jeremiah@chef.io> | 2019-10-17 15:29:49 -0400 |
---|---|---|
committer | Jeremiah Snapp <jeremiah@chef.io> | 2019-10-17 15:29:49 -0400 |
commit | 66493e581d675dacaa3ace8f3d7a26520c3ac738 (patch) | |
tree | 927b123875236e57dbca0f1211b670b94f064679 /.expeditor | |
parent | 33dc27f56dcda80a0ee060e7e2ae4001106439b1 (diff) | |
download | chef-66493e581d675dacaa3ace8f3d7a26520c3ac738.tar.gz |
Improve habitat test pipelinesnappj/improve-habitat-test-pipeline
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
Diffstat (limited to '.expeditor')
-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 |