Skip to content

Commit

Permalink
move context
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj committed Jun 10, 2022
1 parent 42b5c50 commit ced9eb4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ commands:
- run:
name: "Remove plugins/parsers/influx/machine.go from coverage"
command: sed -i '/github.com\/influxdata\/telegraf\/plugins\/parsers\/influx\/machine.go/d' coverage.out
- run:
name: "variable check"
command: echo ${COVERALLS_TELEGRAF_TOKEN}
- run:
name: "Upload test coverage"
command: /go/bin/goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=${COVERALLS_TELEGRAF_TOKEN}
Expand Down Expand Up @@ -184,6 +187,8 @@ commands:
jobs:
test-go-linux:
executor: telegraf-ci
context:
- telegraf-coveralls
steps:
- checkout
- restore_cache:
Expand Down Expand Up @@ -501,8 +506,6 @@ workflows:
filters:
tags:
only: /.*/
context:
- telegraf-coveralls
- 'test-go-linux-386':
filters:
tags:
Expand Down

0 comments on commit ced9eb4

Please sign in to comment.