Skip to content

Commit

Permalink
chore: use codecov from the build container
Browse files Browse the repository at this point in the history
That's the best we can do now with https://about.codecov.io/security-update/

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
  • Loading branch information
AlekSi authored and talos-bot committed Apr 19, 2021
1 parent 9996d4b commit da92049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ local e2e_iso = Step("e2e-iso", privileged=true, target="e2e-iso", depends_on=[b

local coverage = {
name: 'coverage',
image: 'alpine:3.10',
image: 'autonomy/build-container:latest',
pull: 'always',
environment: {
CODECOV_TOKEN: { from_secret: 'codecov_token' },
},
commands: [
'apk --no-cache add bash curl git',
'bash -c "bash <(curl -s https://codecov.io/bash) -f _out/coverage.txt -X fix"'
'/usr/local/bin/codecov -f _out/coverage.txt -X fix'
],
when: {
event: ['pull_request'],
Expand Down

0 comments on commit da92049

Please sign in to comment.