Skip to content

Commit

Permalink
Merge pull request #497 from inspec/mj/bk-frc
Browse files Browse the repository at this point in the history
I understand how vault secrets in expeditor work now.
  • Loading branch information
miah committed Jul 24, 2019
2 parents c84771a + 680fbb6 commit 490e222
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .expeditor/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,4 @@ pipelines:

- coverage:
description: Generate test coverage report
secrets:
coveralls:
path: secret/coveralls/train
field: repo_token
env:
- CI_ENABLE_COVERAGE: true
- CI_NAME: Buildkite
- CI_BUILD_NUMBER: $BUILDKITE_BUILD_NUMBER
- CI_BUILD_URL: $BUILDKITE_BUILD_URL
- CI_BRANCH: $BUILDKITE_BRANCH

13 changes: 12 additions & 1 deletion .expeditor/coverage.pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
---
steps:
expeditor:
secrets:
COVERALLS_REPO_TOKEN:
path: secret/coveralls/train
field: repo_token

steps:
- label: coverage
commands:
- /workdir/.expeditor/buildkite/coverage.sh
expeditor:
executor:
docker:
image: ruby:2.6-stretch
environment:
- CI_ENABLE_COVERAGE="true"
- CI_NAME="Buildkite"
- CI_BUILD_NUMBER=$BUILDKITE_BUILD_NUMBER
- CI_BUILD_URL=$BUILDKITE_BUILD_URL
- CI_BRANCH=$BUILDKITE_BRANCH

0 comments on commit 490e222

Please sign in to comment.