Skip to content

Tekton Results release v0.12.0 "Tekton Results"

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 15 Sep 19:32

-Docs @ v0.12.0
-Examples @ v0.12.0

Upgrade Notices

Breaking Change

If logging was enabled earlier, we need to pass the environment variable logs_api to the watcher deployment to enable logs streaming by the watcher to API.

Changes

Features

  • ✨ Add Global Retention Policy Agent for DB (#784)

Add Result Retention Policy Agent which removes older Result and their associated records.

  • ✨ Add Support for fetching forwarded logs from third party API (#782)

Enables the support for fetching logs from Third Party API. We have enabled the support for Loki for now. Later on, support for other logging stacks like Splunk, Google Cloud Logging, etc can be added.

  • ✨ Add a Converter Job which converts v1beta1 run in db to v1 run (#768)

Converter to convert older records from v1beta1 Tekton object to v1 Tekton object. This is controlled by the following fields in API:
CONVERTER_ENABLE: Whether to start converter or v1beta1 TaskRun/PipelineRun records to v1
CONVERTER_DB_LIMIT: How many records to convert at a time in a transaction |

  • ✨ Add Support for Tekton Pipeline v1 APIs (#762)

Records of TaskRuns and PipelineRuns are as stored as v1 in db instead of v1beta1.
Add support for storing PipelineRun and TaskRun objects as v1.
These CRs are reconciled as the v1 version of Pipelines API and then
stored in DB as v1. Existing v1beta1 resources are kept as it is.

Fixes

  • 🐛 Add finalizer to ensure that Runs are stored (#797)

Added finalizer to TaskRun and PipelineRun to ensure that TaskRun and PipelienRun are stored. This will block deletion until the deadline (Completion + store_deadline) lapses or Runs are stored when done.
This finalizer doesn't block if log streaming from watcher or pruner is enabled.

Misc

  • 🔨 Optimise GetLog API query in v1alpha3 Logs API (#808)
  • 🔨 Fix the Retention Policy Agent Name (#804)
  • 🔨 google.golang.org/grpc from 1.64.1 to 1.66.2 (#806)
  • 🔨 github.com/docker/docker from 26.1.4+incompatible to 26.1.5+incompatible (#785)
  • 🔨 github.com/docker/docker from 26.1.2+incompatible to 26.1.4+incompatible (#781)
  • 🔨 gorm.io/driver/sqlite from 1.5.1 to 1.5.6 (#775)
  • 🔨 google.golang.org/grpc from 1.64.0 to 1.64.1 (#772)

Docs

  • 📖 Change kind Role to ClusterRole for tekton-results-readonly (#780)

Thanks

Thanks to these contributors who contributed to v0.12.0!

Extra shout-out for awesome release notes: