Skip to content

Tekton Results release v0.6.0 "Tekton Results"

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 15 May 14:24

-Docs @ v0.6.0
-Examples @ v0.6.0

Installation one-liner

kubectl apply -f https://storage.googleapis.com/tekton-releases/results/previous/v0.6.0/release.yaml

Changes

Features

  • ✨ Allow users/integrators to pass arbitrary keys/values through Result and RecordSummary annotations (#426)

Allow users/integrators to pass arbitrary keys/values to the Result.Annotations
and Result.Summary.Annotations fields, by adding the newly created annotations
results.tekton.dev/resultAnnotations and
results.tekton.dev/recordSummaryAnnotations to their PipelineRuns and TaskRuns.

Those annotations can be used to store relevant metadata (e.g. repository name,
Git commit SHA, pull request number among others) along with results into the
database, in order to be used later to retrieve those resources via the API.

  • ✨ Adding namespace setting (#419)

added namespace property to allow Watcher only watch a specific namespace

  • ✨ Feature: Add impersonation to tekton results API (#373)

Kubernetes impersonation headers can be used when authorizing access to Tekton Results APis.

ACTION REQUIRED: The NO_AUTH config parameter was renamed to AUTH_DISABLE

Fixes

  • 🐛 Remove reconciler unit test (#424)

Remove reconciler test that failed due to data race conditions. Test logic was previously moved to an e2e test.

  • 🐛 Fix: API Server panics when bearer token with invalid JWT format is passed (#421)

Fixes API Server panics when a bearer token with invalid JWT format is passed.

  • 🐛 Add logs to watcher ClusterRole resources (#402)

Grant the watcher permission to get, create, and update log records

  • 🐛 Fix: Error message for GetResult handler (#346)

Fix GetResult to return the standard "record not found" error if the database query does not find a result.

  • 🐛 Wait until all TaskRuns are ready for deletion to delete the PipelineRun (#333)

The PipelineRun controller now waits until all TaskRuns associated to a PipelineRun are done and up to date in the API server to delete the PipelineRun and consequentially, all TaskRuns in cascade. If the configured grace period to delete objects is very short (useful in larger clusters with high churn) and there's a lag in the controller's work queue, this guarantees that dependent objects (such as TaskRuns) won't be deleted while they're in an intermediate state in the Results API server.

Misc

  • 🔨 Add unique labels to api and watcher services (#425)

Added unique labels to api and watcher services.

  • 🔨 Use same listener for gRPC and REST request (#405)

ACTION REQUIRED: Config parameters GRPC_PORT and REST_PORT are replaced by a single parameter SERVER_PORT, which handles both gRPC and REST requests.

  • 🔨 Bump golang.org/x/text from 0.3.7 to 0.3.8 in /tools/tkn-results (#365)
  • 🔨 Update kustomization files to latest standard (#440)
  • 🔨 Fix version tag for results release (#444)
  • 🔨 Add khrm, sayan and enarha to approvers list (#435)
  • 🔨 Bump gorm.io/gorm from 1.24.3 to 1.25.0 (#433)
  • 🔨 Bump github.com/aws/aws-sdk-go-v2 from 1.17.6 to 1.17.8 (#430)
  • 🔨 Add e2e tests using gRPC and REST (#418)
  • 🔨 Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.0 (#413)
  • 🔨 Bump k8s.io/api from 0.25.5 to 0.25.8 (#409)
  • 🔨 Bump github.com/golang/protobuf from 1.5.2 to 1.5.3 (#397)
  • 🔨 Update install latest release to 0.5.0 (#394)
  • 🔨 Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.6 to 1.13.17 (#393)
  • 🔨 Bump github.com/aws/aws-sdk-go-v2/config from 1.18.6 to 1.18.17 (#392)
  • 🔨 Add release config to bucket's latest folder (#387)
  • 🔨 dependabot: do not update k8s.io/* major/minor updates (#386)
  • 🔨 Add Arm64 and Arm arch support (#385)
  • 🔨 Remove ppc64le and s390x release unittest (#384)
  • 🔨 Update ko in release task to v0.12 (#383)
  • 🔨 Bump golang.org/x/crypto from 0.0.0-20210920023735-84f357641f63 to 0.1.0 in /tools/tkn-results (#382)
  • 🔨 Create codeql-analysis.yml (#376)
  • 🔨 Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.15.0 to 2.15.2 (#374)
  • 🔨 Bump golang.org/x/net from 0.6.0 to 0.7.0 (#358)

Docs

  • 📖 Fix the command for redeploying all components (#380)

Fix the command for redeploying all the result components from the main.

  • 📖 Update install latest release to 0.5.0 (#394)
  • 📖 Docs: update developer docs and add openapi spec (#377)

Thanks

Thanks to these contributors who contributed to v0.6.0!

Extra shout-out for awesome release notes: