1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00
catalog/task/codecov/0.1
vinamra28 e763a4473e Use latest git-clone in Task's tests
With git-clone version 0.8 and onwards, it started running as non-root
and GKE clusters were having some issues, so, we temporarily moved all
tasks to use git-clone version 0.7. Ref: https://github.com/tektoncd/catalog/pull/1079

Since we have now moved to kind clusters in our CI, this issue is now
resolved and thus moving all tasks to use latest version of git-clone

Signed-off-by: vinamra28 <jvinamra776@gmail.com>
2023-09-22 09:32:22 +01:00
..
samples Add codecov task 2020-11-04 13:15:22 +00:00
tests Use latest git-clone in Task's tests 2023-09-22 09:32:22 +01:00
codecov.yaml Add linux/amd64 platform annotation to the rest of the tasks 2021-10-29 17:08:38 +01:00
README.md [TEP-0110] Update Tekton Catalog installation instructions 2022-08-16 16:25:52 +01:00

Codecov

Upload your code coverage to codecov.io

Installing the Task

kubectl apply -f https://api.hub.tekton.dev/v1/resource/tekton/task/codecov/0.1/raw

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.