blob: 8a71df9c170f09d809f544d477c989786b225389 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
---
expeditor:
defaults:
buildkite:
timeout_in_minutes: 60
retry:
automatic:
limit: 1
steps:
- label: ":windows: Validate Habitat Builds of Chef Infra"
commands:
- powershell -File "./scripts/ci/ensure-minimum-viable-hab.ps1"
- 'Write-Host "--- :hammer_and_wrench: Installing $EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS"'
- hab pkg install "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS"
- powershell -File "./habitat/tests/test.ps1" -PackageIdentifier "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS"
expeditor:
executor:
windows:
privileged: true
single-use: true
# Wait for the package testing to succeed before promoting whatever was tested.
- wait
- label: ":habicat: Promoting packages to the current channel."
commands:
- hab pkg promote "$EXPEDITOR_PKG_IDENTS_CHEFINFRACLIENTX86_64WINDOWS" current x86_64-windows
expeditor:
executor:
docker:
secrets:
HAB_AUTH_TOKEN:
path: account/static/habitat/chef-ci
field: auth_token
|