Skip to content

Tekton Pipeline release v0.50.0 "Russian Blue Daneel Olivaw"

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 25 Jul 07:41

πŸŽ‰ v1beta1 deprecation (1 year support still) πŸŽ‰

-Docs @ v0.50.0
-Examples @ v0.50.0

Installation one-liner

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

Attestation

The Rekor UUID for this release is 24296fb24b8ad77a1665fb7556e457413b181806c513eeea26f12c0bd118bcf14912ee6bbee395d9

Obtain the attestation:

REKOR_UUID=24296fb24b8ad77a1665fb7556e457413b181806c513eeea26f12c0bd118bcf14912ee6bbee395d9
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/pipeline/previous/v0.50.0/release.yaml
REKOR_UUID=24296fb24b8ad77a1665fb7556e457413b181806c513eeea26f12c0bd118bcf14912ee6bbee395d9

# 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.50.0@sha256:" + .digest.sha256')

# Download the release file
curl "$RELEASE_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

  • ✨ Update Stability Level for CSI and Projected Volume Workspaces (#6954)

csi and projected volume workspaces are stable.

  • ✨ [TEP-0029] Isolated steps and sidecar workspaces to beta (#6922)

The "isolated workspaces" feature allows users to share a workspace with dedicated steps and sidecars, instead of the whole TaskRun. The feature has been promoted to "beta".

  • ✨ [TEP-0135] Revert PVC creation (#6893)

TEP-0135: Revert the owner of PVCs created by pipelinerun VolumeClaimTemplate back to pipelinerun. The PVCs bounded to the pipelinerun is now in bounded state when the pipelinerun is completed but not deleted.

  • ✨ [TEP-0137] Add events config map (#6883)

action required: The default-cloud-events-sink setting in the config-defaults config map is deprecated. The CloudEvents sink shall be configured now through the sink settings in the new config-events config map.

  • ✨ TEP-0135: Introduce coschedule feature flags (#6790)

tep-0135: introduce coschedule feature flag

  • ✨ Add support for consuming whole array results in matrix (#6603)

TEP-0090: Pipeline Tasks may now reference whole array results in a Matrix. See https://github.com/tektoncd/pipeline/blob/09d422cff057f67170b4c2f76097ac6ffded33ef/docs/matrix.md?specifying-results-in-a-matrix#specifying-results-in-a-matrix docs for more information.

  • ✨ [TEP-0135] Purge finalizer and delete PVC (#6940)
  • ✨ [TEP-0135] coschedule isolate pipelinerun (#6929)
  • ✨ TEP-0135: implement per-pipelinerun coscheduling (#6819)
  • ✨ Change ordering of ResolveResultRefs/ApplyTaskResults (#6792)

Fixes

  • πŸ› Add validation for feature-flags configmap to webhook (#6935)

Added validation for feature-flags configmap

  • πŸ› Fix units for metric taskrun_pod_latency (#6891)

Bug fix: taskruns_pod_latency metric renamed to taskruns_pod_latency_milliseconds and units corrected

  • πŸ› Perform webhook validation for remote pipelines (#6887)

bug fix: Remote Pipelines do not support propagated parameters and workspaces

  • πŸ› Fix PipelineRun reconciler panic for computed timeouts (#6886)

bug fix: Avoid controller panics for computed timeouts

  • πŸ› Fail PipelineRun when it can't create Runs (#6866)

bug fix: PipelineRun marked as failed when it cannot create TaskRuns or CustomRuns for a non-retryable reason

  • πŸ› Use the same validation for all taskrefs (#6854)

bug fix: Disallow taskref.name with taskref.resolver in pipeline tasks

  • πŸ› merge podTemplates instead of overriding (#6850)

Merge podTemplate specified in pipelineRun.spec.taskRunSpecs[].podTemplate along with pipelineRun.spec.podTemplate instead of only considering the one specified at the taskRunSpecs.

  • πŸ› Fix workingdirinit step for Windows tasks (#6820)

Fixed an issue where Windows tasks would fail if one or more steps were configured with a custom working directory.

  • πŸ› Fail upgrade tests when test script fails (#6871)
  • πŸ› Restore Upgrade Test Scenario2 by creating simple Task and Pipeline resources (#6855)
  • πŸ› Fix release pipeline (#6849)
  • πŸ› Fix flake of TestPipelineTaskTimeout (#6955)
  • πŸ› Fix flaky Affinity Assistant test (#6925)

Misc

  • πŸ”¨ Move feature flags testing functions into testing package (#6933)

Some exported functions moved from pkg/apis/config to pkg/apis/config/testing

  • πŸ”¨ cleaning up config-artifact-* (#6902)

config-artifact-pvc and config-artifact-bucket are deleted as resources from the tekton-pipelines-controller role.
CONFIG_ARTIFACT_PVC_NAME and CONFIG_ARTIFACT_BUCKET_NAME are deleted from the tekton-pipelines-controller deployment.

  • πŸ”¨ Bump knative/pkg to 1.10 (#6907)

native/pkg is updated to v1.10

  • πŸ”¨ [TEP-0137] Rename customrun package (#6884)

The CustomRun events controller has been moved to the pkg/reconciler/notifications package.

  • πŸ”¨ Replace redundant function CheckAlphaOrBetaFields (#6934)
  • πŸ”¨ Delete .ko.yaml (#6931)
  • πŸ”¨ Fix typo in AffinityAssistantBehavior (#6930)
  • πŸ”¨ Deduplicate examples tests between v1 and v1beta1 (#6908)
  • πŸ”¨ Reduce spam in integration test logs (#6873)
  • πŸ”¨ Remove yaml tests (#6872)
  • πŸ”¨ Add Testing: Failed Matrix PipelineRun for Out Of Bounds Array Indexing Results (#6852)
  • πŸ”¨ Refactor failure logic in pipelinerun resolution (#6801)
  • πŸ”¨ Bump k8s.io/api from 0.26.6 to 0.26.7 in /test/custom-task-ctrls/wait-task-beta (#6951)
  • πŸ”¨ Fix logger Fatalf message (#6946)
  • πŸ”¨ Do not require enable-api-fields=alpha for spire (#6939)
  • πŸ”¨ Bump github.com/sigstore/sigstore from 1.6.5 to 1.7.1 (#6912)
  • πŸ”¨ Bump github.com/spiffe/spire-api-sdk from 1.6.3 to 1.7.0 (#6911)
  • πŸ”¨ Bump github.com/opencontainers/image-spec from 1.1.0-rc3 to 1.1.0-rc4 (#6910)
  • πŸ”¨ Bump google.golang.org/grpc from 1.55.0 to 1.56.2 (#6904)
  • πŸ”¨ Ignore SA in assertion (#6898)
  • πŸ”¨ Add upgrade test against previous server version to prevent regressions (#6896)
  • πŸ”¨ Bump golang.org/x/sync from 0.2.0 to 0.3.0 (#6880)
  • πŸ”¨ Bump github.com/tektoncd/pipeline from 0.48.0 to 0.49.0 in /test/custom-task-ctrls/wait-task-beta (#6853)
  • πŸ”¨ Bump k8s.io/api from 0.26.5 to 0.26.6 in /test/custom-task-ctrls/wait-task-beta (#6835)
  • πŸ”¨ Bump k8s.io/client-go from 0.25.10 to 0.25.11 in /test/custom-task-ctrls/wait-task-beta (#6834)
  • πŸ”¨ Improve taskref_test coverage with more error test cases (#6813)
  • πŸ”¨ formating error (#6795)

Docs

  • πŸ“– [RFC] Increase support window for v1beta1 CRDs to 1 year (#6923)

Support window for beta CRDs increased to 1 year

  • πŸ“– Mark v1beta1 apis as deprecated (#6876)

action required: v1beta1 Task, TaskRun, Pipeline, and PipelineRun APIs are deprecated and will be removed. Please migrate to the v1 versions of these APIs following the migration guide at https://github.com/tektoncd/pipeline/blob/main/docs/migrating-v1beta1-to-v1.md.

  • πŸ“– Document that Workspaces can be unused (#6917)
  • πŸ“– documenting the latest patch release - v0.44.4 (#6895)
  • πŸ“– updating releases with 0.47.3 (#6875)
  • πŸ“– Add set-security-context to feature flags docs (#6865)
  • πŸ“– Add compatibility policy for ResolutionRequests (#6864)
  • πŸ“– Update releases.md (#6851)
  • πŸ“– Add instructions for picking commit in the release (#6735)

Thanks

Thanks to these contributors who contributed to v0.50.0!

Extra shout-out for awesome release notes: