Skip to content

Commit

Permalink
I understand how vault secrets in expeditor work now.
Browse files Browse the repository at this point in the history
Signed-off-by: Miah Johnson <miah@chia-pet.org>
  • Loading branch information
miah committed Jul 24, 2019
1 parent c84771a commit 680fbb6
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 680fbb6

Please sign in to comment.