Skip to content

Tekton Triggers release v0.25.0 "Tekton Triggers"

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 29 Aug 06:36

-Docs @ v0.25.0
-Examples @ v0.25.0

Installation one-liner

kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.25.0/release.yaml
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/previous/v0.25.0/interceptors.yaml

Attestation

The Rekor UUID for this release is 24296fb24b8ad77a3b75040e94727f4d7a7246d5e704172f48f5969d1202903ecd5fb22a0cc5b0f5

Obtain the attestation:

REKOR_UUID=24296fb24b8ad77a3b75040e94727f4d7a7246d5e704172f48f5969d1202903ecd5fb22a0cc5b0f5
rekor-cli get --uuid $REKOR_UUID --format json | jq -r .Attestation | jq .

Verify that all container images in the attestation are in the release file:

RELEASE_FILE=https://storage.googleapis.com/tekton-releases/triggers/previous/v0.25.0/release.yaml
INTERCEPTORS_FILE=https://storage.googleapis.com/tekton-releases/triggers/previous/v0.25.0/interceptors.yaml
REKOR_UUID=24296fb24b8ad77a3b75040e94727f4d7a7246d5e704172f48f5969d1202903ecd5fb22a0cc5b0f5

# Obtains the list of images with sha from the attestation
REKOR_ATTESTATION_IMAGES=$(rekor-cli get --uuid "$REKOR_UUID" --format json | jq -r .Attestation | jq -r '.subject[]|.name + ":v0.25.0@sha256:" + .digest.sha256')

# Download the release file
curl "$RELEASE_FILE" > release.yaml
curl "$INTERCEPTORS_FILE" >> release.yaml

# For each image in the attestation, match it to the release file
for image in $REKOR_ATTESTATION_IMAGES; do
  printf $image; grep -q $image release.yaml && echo " ===> ok" || echo " ===> no match";
done

Changes

Features

  • ✨ Add probes support in Triggers eventlistener (#1633)

Triggers now support probes setting on EventListener object
Triggers now have default value for failure-threshold as 3 for both readiness and liveness probes

  • ✨ Change Leader Election Config Map for Controllers and Webhook (#1624)
  • ✨ Move interceptor structs to their specific interceptor implementations (#1588)

Backwards incompatible changes

In current release:

  • 🚨 There are changes to move Interceptors structure to their specific interceptor implementations (#1588)
    So whoever depends on interceptor structure they have to change their import path
    This change effects for those who build something using Triggers code
    Example: Tekton CLI import path change and usage

Fixes

  • 🐛 Fix EL Status URL for kubernetesresource.serviceport (#1632)

Misc

  • 🔨 Remove third_party directory (#1579)
  • 🔨 drop manual use of knative.dev/pkg::injection.Dynamic (#1594)
  • 🔨 Fix SA1019 error by staticcheck due to deprecation (#1629)
  • 🔨 Bump tekton/pipelines v0.50.1 LTS in preparation of release (#1625)
  • 🔨 Update Cel-Go to v0.17.1 (#1622)
  • 🔨 Fix integraion Test by upgrading Knative (#1616)
  • 🔨 Update Cel-Go to v0.16.0 (#1613)
  • 🔨 Add v0.23.1 and v0.24.0 (as LTS) to releases.md (#1582)

Docs

  • 📖 Added clarification about escaping special character in TB (#1631)
  • 📖 Add AWS CodeCommit examples for push request and also README to configure AWS CodeCommit (#1619)
  • 📖 Add v0.24.1 to docs (#1608)

Thanks

Thanks to these contributors who contributed to v0.25.0!

Extra shout-out for awesome release notes: