summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremiah Snapp <jeremiah@chef.io>2019-10-17 15:29:49 -0400
committerJeremiah Snapp <jeremiah@chef.io>2019-10-17 15:29:49 -0400
commit66493e581d675dacaa3ace8f3d7a26520c3ac738 (patch)
tree927b123875236e57dbca0f1211b670b94f064679
parent33dc27f56dcda80a0ee060e7e2ae4001106439b1 (diff)
downloadchef-snappj/improve-habitat-test-pipeline.tar.gz
Improve habitat test pipelinesnappj/improve-habitat-test-pipeline
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
-rw-r--r--.expeditor/config.yml2
-rw-r--r--.expeditor/habitat-test.pipeline.yml17
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