diff --git a/.expeditor/config.yml b/.expeditor/config.yml index 69b35952..ca5da0e4 100644 --- a/.expeditor/config.yml +++ b/.expeditor/config.yml @@ -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 diff --git a/.expeditor/coverage.pipeline.yml b/.expeditor/coverage.pipeline.yml index 21ad7efd..144ca229 100644 --- a/.expeditor/coverage.pipeline.yml +++ b/.expeditor/coverage.pipeline.yml @@ -1,6 +1,11 @@ --- -steps: +expeditor: + secrets: + COVERALLS_REPO_TOKEN: + path: secret/coveralls/train + field: repo_token +steps: - label: coverage commands: - /workdir/.expeditor/buildkite/coverage.sh @@ -8,3 +13,9 @@ steps: 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