Skip to content
FR Version françaiseBook a demo
You are reading the documentation of version 0.29, archived. The current version is 0.30.

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 choregos/sha=<commit>; the connector finds a commit’s runs through that label. Runs that carry choregos/project, choregos/work-item and choregos/run-id 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 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)