github tektoncd/pipeline v0.50.0
Tekton Pipeline release v0.50.0 "Russian Blue Daneel Olivaw"

latest releases: v0.65.1, v0.62.5, v0.65.0...
15 months ago

🎉 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:

Don't miss a new pipeline release

NewReleases is sending notifications on new releases.