Aller au contenu
EN English versionDemander une démo

Read pipeline status from Tekton

For the person who operates the platform. Procedure connector.ci.tekton, version 1, reviewed 2026-10-16 against the vendor’s own pages. It applies to the connector type ci/tekton.

It ships with the platform. In the console it opens with How to set this up, beside the form that adds the connector and on the connector’s settings.

Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.

  • A cluster where Tekton Pipelines is installed, and a namespace where the project’s PipelineRuns run.
  • The platform reads the cluster with the API’s own in-cluster service account: it must be allowed to get and list pipelineruns.tekton.dev in that namespace. If you only use GitHub Actions, the project needs no ci connector: checks are read through the scm connector.
  • The platform’s shared webhook secret (TRANIBOR_GENERIC_WEBHOOK_SECRET).
  1. Label each PipelineRun the platform should follow with tranibor/sha=<commit>; the connector finds a commit’s runs through that label (a run labelled choregos/sha is still found until 0.32.0). Runs that carry tranibor/project, tranibor/work-item and tranibor/run-id (or the former choregos/* labels) are also mapped back to their work item.
  2. Point Tekton’s CloudEvents sink at the platform: <api_url>/api/v1/webhooks/tekton?token=<the shared webhook secret>. Tekton’s sink is configured by URL and cannot add a header, which is why the secret travels in the query string. The parameter is token: the former spelling was removed in 0.24.0, so a sink URL set up with it is refused (401).
  • A Role granting get, list on pipelineruns in the namespace, bound to the API’s service account.
  • The shared webhook secret is the only credential of the sink. Treat the URL as a secret.
  1. Project settings, Connectors, CI, type Tekton Pipelines.
  2. namespace: where the runs live. pipeline: the Pipeline’s name, choregos-ci by default.

Press Test: the connector asks the cluster for the Tekton API and answers ok. Then start a build and watch its state change on the work item.

  • Forbidden from the cluster: the API’s service account lacks the Role above.
  • Status stays unknown: no PipelineRun carries the tranibor/sha (or choregos/sha) label of that commit.
  • Tekton events refused with 401: the secret in the sink URL differs from the platform’s.
  • Events never arrive: the sink URL is unreachable from the cluster, or Tekton’s config-defaults ConfigMap does not name it in default-cloud-events-sink.
Field What to put in it
namespace the namespace whose PipelineRuns carry the project’s builds
pipeline the Pipeline’s name (choregos-ci by default)