mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Tentative buildkite setup. Not activated yet.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
aeafaada51
commit
bbba778980
4 changed files with 15 additions and 6 deletions
13
.expeditor/buildkite/wwwrelease.sh
Executable file
13
.expeditor/buildkite/wwwrelease.sh
Executable 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue