summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2019-10-17 17:24:02 -0700
committerGitHub <noreply@github.com>2019-10-17 17:24:02 -0700
commitb69770112b414436fd0a605d297a267bc59879bf (patch)
tree547d8ac45bb76bde2984debf35000ab02743d8a4
parent46161bb40a142052ffa8a0030a91c10c6f50fc7d (diff)
parent66493e581d675dacaa3ace8f3d7a26520c3ac738 (diff)
downloadchef-b69770112b414436fd0a605d297a267bc59879bf.tar.gz
Improve habitat test pipeline (#9004)
Improve habitat test pipeline
-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