Tentative buildkite setup. Not activated yet.

Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
Ryan Davis 2019-11-05 16:05:18 -08:00
parent aeafaada51
commit bbba778980
4 changed files with 15 additions and 6 deletions

View file

@ -0,0 +1,13 @@
#!/bin/bash
exit 0 # don't do this quite yet...
set -ue
echo "--- bundle install"
cd www
bundle install --jobs=7 --retry=3 --without tools maintenance deploy
echo "+++ bundle exec rake"
bundle exec rake www V=1 PUSH=1

View file

@ -37,12 +37,6 @@ pipelines:
- CI_ENABLE_COVERAGE: true
- LANG: "C.UTF-8"
- SLOW: 1
- www/build:
description: Build website.
definition: .expeditor/wwwbuild.yml
- www/deploy:
description: Deploy website to inspec.io
definition: .expeditor/wwwdeploy.yml
- integration/resources:
description: Test core resources with test-kitchen.
definition: .expeditor/integration.resources.yml
@ -140,6 +134,8 @@ subscriptions:
- workload: artifact_published:unstable:inspec:{{version_constraint}}
actions:
- built_in:build_docker_image
- bash:.expeditor/buildkite/wwwrelease.sh:
post_commit: true
- workload: artifact_published:current:inspec:{{version_constraint}}
actions:
- built_in:tag_docker_image