1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-12-01 06:43:19 +00:00
catalog/task/codecov/0.1/README.md
Yulia Gaponenko f4708d478e Add linux/amd64 platform annotation to the rest of the tasks
At this moment all tasks which can be executed on linux/s390x or
linux/ppc64le are tested and labelled accordingly.
The rest of the tasks can be labelled as `linux/amd64`, which
is default platform and where tasks are already tested via
default PR testing cycle.

Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com>
2021-10-29 17:08:38 +01:00

1.0 KiB

Codecov

Upload your code coverage to codecov.io

Installing the Task

kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/codecov/0.1/codecov.yaml

Parameters

  • codecov-token-secret: Name of the secret holding the codecov token. (Default: codecov-token)
  • codecov-token-secret-key: Name of the secret key holding the codecov token. (Default: token)
  • args: Extra arguments to be passed to the codecov script, more details here (Default: [-Z])

Platforms

The Task can be run on linux/amd64 platform.

Usage

Generate the code coverage file for your project inside your workspace, see here for the codecov.io documentation:

https://docs.codecov.io/docs/supported-languages

Follow with the codecov task to upload the coverage.

See this sample for a task uploading the coverage of a python application.