Skip to content

Tekton Pipeline release v0.47.0 "Chartreux Rachael" LTS

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 25 Apr 10:06

πŸŽ‰ Trusted Resources, Matrix Execution and various improvements πŸŽ‰

-Docs @ v0.47.0
-Examples @ v0.47.0

Installation one-liner

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

Attestation

The Rekor UUID for this release is 24296fb24b8ad77a26cba25047813dca68dd316baedd830ade34aac05e6f51ccd73a54a013021440

Obtain the attestation:

REKOR_UUID=24296fb24b8ad77a26cba25047813dca68dd316baedd830ade34aac05e6f51ccd73a54a013021440
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.47.0/release.yaml
REKOR_UUID=24296fb24b8ad77a26cba25047813dca68dd316baedd830ade34aac05e6f51ccd73a54a013021440

# 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.47.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

Upgrade Notices

Changes

Features

  • ✨ Migrate Propagated Workspaces to Stable (#6432)

Propagated workspaces is now a stable feature.

  • ✨ [TEP-0091] use verification mode in trusted resources (#6406)

The mode of VerificationPolicy determines how failing policies for trusted resources are handled. When set to warn, failing policies will log a warning but not fail the taskrun/pipelinerun. When set to enforce, failing policies will cause the taskrun/pipelinerun to fail if the policy cannot be verified.

  • ✨ TEP-0118: Implement Fanning Out logic to support Matrix Include Parameters in a Task Run (#6341)

Users can now specify aPipelineTask with Matrix Include Parameters to generate explicit combinations or add
a specific combination of input values for Matrix Parameters.

  • ✨ [TEP-0091] Add mode for VerificationPolicy (#6328)

Add mode field into VerificationPolicy to controls whether fail taskrun/pipelinerun or not when fails verification

  • ✨ [TEP-0091] change feature flag resource-verification-mode to trusted-resources-verification-no-match-policy (#6324)

[action required] for trusted resources users, please change feature flag resource-verification-mode to trusted-resources-verification-no-match-policy, please refer to https://github.com/tektoncd/pipeline/blob/main/docs/trusted-resources.md#enable-trusted-resources to learn how to config the new trusted-resources-verification-no-match-policy feature flag

  • ✨ [TEP-0089] SPIRE for non-falsifiable provenance - IsSpireEnabled (#6524)

  • ✨ TEP-0118: Update TaskRun Validation for Matrix Include Params (#6418)

  • ✨ [TEP-0047] add display name to pipeline spec and task spec (#6294)

Fixes

  • πŸ› Fix resolutionrequest conversion (#6509)

bug fix: reduced webhook log spam related to conversion of ResolutionRequests

  • πŸ› [TEP-0133] Apply default resolver to finally tasks (#6481)

TEP-0133: Apply default resolver to finally tasks

  • πŸ› Make sure we pass the live config to the conversion webhook (#6450)

Make sure the conversion webhook sees the live configmaps instead of the default ones

  • πŸ› Avoid occasional failures when using remote resolution (#6424)

Avoid occasional failures of TaskRun/PipelineRun execution using remote resolution.

  • πŸ› Avoid retry on permanent errors in pipelinerun (#6297)

When encountering a permanent error during the creation of run resources in pipelinerun, stop retrying and set the failure reason to "CreateRunFailed".

  • πŸ› Fix no logs in stdout/stderr if uses stdoutConfig (#6162)

users can still view the output through the Pod log API if stdoutConfig.path or stderrConfig.path is specified

  • πŸ› Fix for PipelineRuns getting stuck in the running state in the cluster (#6095)

Fix a bug that made big PipelineRuns get stuck in the running state in the cluster

  • πŸ› Fix Timeouts Default in v1 PipelienRun (#6546)
  • πŸ› Fixed nil panic scenarios. (#6465)
  • πŸ› fix: add PodAdmissionFailed reason to avoid confusing failed status (#6295)
  • πŸ› fix taskrun failing with duplicate unique image found (#6260)
  • πŸ› Added Skip Logic: Matrix parameters cannot be empty arrays (#6140)
  • πŸ› test: add unit tests for pkg/resolution/resource (#6433)

Misc

  • πŸ”¨ Fix v1beta1.CustomRun GVK (#6562)

BREAKING CHANGE: v1beta1.CustomRuns GVK was changed to properly match it's type (Runs -> CustomRuns). This may break relationships that are relying on the incorrect GVK value. Clients not relying on the GVK value from the Go type are unaffected.

  • πŸ”¨ TEP-0114: Remove support for v1alpha1.Run (#6508)

action required: v1alpha1.Run objects are no longer supported. You must upgrade to v1beta1.CustomRun before upgrading to this release. See https://github.com/tektoncd/pipeline/blob/main/docs/migrating-v1alpha1.Run-to-v1beta1.CustomRun.md for migration instructions

  • πŸ”¨ [TEP-114] Remove the feature flag custom-task-version to stop supporting v1alpha1 Run (#6499)

action required: Feature flag custom-task-version is removed, tekton pipeline will stop supporting v1alpha1 Run and only use v1beta1 CustomRun.

  • πŸ”¨ [TEP-0074] Remove git-init code (#6417)

pkg/git has been removed

  • πŸ”¨ Keep securitycontext fields simple in e2e (#6547)

allow e2e tests to run on openshift using securitycontext fields simple

  • πŸ”¨ Revert removal of PipelineResources related fields (#6436)

Revert removal of client fields for PipelineResources for backwards compatibility. PipelineResources are still no longer functional and will not work with this version of Tekton.
Example command to list tasks that use PipelineResources and must be deleted before upgrading (works for other Tekton CRDs as well):
kubectl get taskruns --all-namespaces -o json | jq -r '.items[] | select(.metadata.annotations["[tekton.dev/v1beta1Resources](http://tekton.dev/v1beta1Resources)"] | (. != "{}") and (. != "") and (. != null)) | .metadata.namespace + "/" + .metadata.name + " " + .metadata.creationTimestamp'

  • πŸ”¨ Remove third_party directory (#6416)

Images built as part of releases no longer contain contents of third_party/. (Images still contain contents of vendor/.)

  • πŸ”¨ Remove RunControllerName from the Codebase (#6531)
  • πŸ”¨ TEP-0089: Refactor setting of "enforce-nonfalsifiability" feature flag (#6527)
  • πŸ”¨ 6483-Step1: move validation code out of pipeline_types.go (#6526)
  • πŸ”¨ Hygiene: enabled presets and various linters. (#6518)
  • πŸ”¨ Hygiene: enable exhaustive linter. (#6484)
  • πŸ”¨ Cleanup: addressed various nolint items. 🧹 🧹 🧹 (#6477)
  • πŸ”¨ chore: cleanup unused functions in the resources (#6473)
  • πŸ”¨ Refactor Overwriting Combinations in Matrix (#6463)
  • πŸ”¨ Cleanup: move taskspec_test to resources_test pkg (#6458)
  • πŸ”¨ Split up and refactor isCustomTask (#6447)
  • πŸ”¨ Clean Up: Update []Param to the new Params type (#6446)
  • πŸ”¨ Clarify ParamValue syntax (#6445)
  • πŸ”¨ Cleanup Resolution import path (#6438)
  • πŸ”¨ Refactor Matrix Implementation (#6407)
  • πŸ”¨ Hygiene: enable errorlint. (#6340)
  • πŸ”¨ refactor getTaskRunCreations in the pipelineRun reconciler test suite (#6293)
  • πŸ”¨ Remove v1alpha1 Runs Client setup in init test (#6571)
  • πŸ”¨ Add link to examples of good release notes to template (#6564)
  • πŸ”¨ Use the system-installed version of golangci-lint. (#6560)
  • πŸ”¨ Add timeouts tests for v1beta1 PipelineRun Defaults (#6548)
  • πŸ”¨ Bump k8s.io/api from 0.25.8 to 0.25.9 (#6545)
  • πŸ”¨ Remove TaskrunMetrics Blank Identifier in CustomRun Reconciler to Avoid Redundant TaskRun Informer Register (#6542)
  • πŸ”¨ Fix serviceAccountName in v1 Examples (#6541)
  • πŸ”¨ Bump k8s.io/api from 0.26.2 to 0.26.4 in /test/custom-task-ctrls/wait-task-beta (#6537)
  • πŸ”¨ Bump k8s.io/client-go from 0.25.8 to 0.25.9 in /test/custom-task-ctrls/wait-task-beta (#6536)
  • πŸ”¨ Bump k8s.io/client-go from 0.25.8 to 0.25.9 (#6535)
  • πŸ”¨ Bump k8s.io/code-generator from 0.25.8 to 0.25.9 (#6534)
  • πŸ”¨ Bump k8s.io/apimachinery from 0.26.3 to 0.26.4 (#6533)
  • πŸ”¨ create multi-arch Wait Custom Task Controller image (#6523)
  • πŸ”¨ Bump github.com/sigstore/sigstore from 1.6.1 to 1.6.2 (#6522)
  • πŸ”¨ Bump github.com/cloudevents/sdk-go/v2 from 2.13.0 to 2.14.0 (#6521)
  • πŸ”¨ tekton: update ko/koparse images in release pipeline (#6519)
  • πŸ”¨ Migrate v1beta1 RunResult to Unversioned Package (#6514)
  • πŸ”¨ Bump github.com/sigstore/sigstore from 1.6.0 to 1.6.1 (#6501)
  • πŸ”¨ Bump github.com/spiffe/spire-api-sdk from 1.6.1 to 1.6.2 (#6500)
  • πŸ”¨ Sync v1 TaskRun StepSpecs and SidecarSpecs Merge with v1beta1 Overrides Merge (#6497)
  • πŸ”¨ Downgrade to latest k8s.io/apimachinery from beta. (#6492)
  • πŸ”¨ Bump github.com/jenkins-x/go-scm from 1.13.12 to 1.13.13 (#6487)
  • πŸ”¨ Bump github.com/spiffe/go-spiffe/v2 from 2.1.3 to 2.1.4 (#6480)
  • πŸ”¨ chore: add copyright header to source files (#6474)
  • πŸ”¨ chore: modify test package name (#6472)
  • πŸ”¨ Replace v1beta1.TaskObject with *v1beta1.Task in TaskRun Reconciler (#6471)
  • πŸ”¨ Replace v1beta1.PipelineObject with *v1beta1.Pipeline in PipelineRun … (#6469)
  • πŸ”¨ Bump github.com/golangci/golangci-lint from 1.52.1 to 1.52.2 in /tools (#6440)
  • πŸ”¨ Add RoundTrip to Conversion Integration Test (#6439)
  • πŸ”¨ Rename PipelineResourceResult to RunResult (#6434)
  • πŸ”¨ Bump github.com/golangci/golangci-lint from 1.52.0 to 1.52.1 in /tools (#6428)
  • πŸ”¨ Bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#6427)
  • πŸ”¨ Bump k8s.io/client-go from 0.25.7 to 0.25.8 in /test/custom-task-ctrls/wait-task-beta (#6413)
  • πŸ”¨ Bump k8s.io/client-go from 0.25.7 to 0.25.8 in /test/custom-task-ctrls/wait-task-alpha (#6412)
  • πŸ”¨ Ignore k8s.io/* major/minor version in test/OWNERS test/README.md test/build_logs.go test/cancel_test.go test/clients.go test/columns.txt test/conformance_test.go test/controller.go test/controller_test.go test/conversion_test.go test/custom-task-ctrls test/custom_task_test.go test/dag_test.go test/diff test/doc.go test/duplicate_test.go test/e2e-common.sh test/e2e-tests-kind-prow-alpha.env test/e2e-tests-kind-prow-beta.env test/e2e-tests-kind-prow.env test/e2e-tests-kind.env test/e2e-tests-upgrade.sh test/e2e-tests.sh test/entrypoint_test.go test/examples_test.go test/featureflags.go test/git-resolver test/gohelloworld test/hermetic_taskrun_test.go test/ignore_step_error_test.go test/init_test.go test/kubectl.go test/larger_results_sidecar_logs_test.go test/markdown-lint-config.rc test/multiarch_utils.go test/names test/parse test/path_filtering.go test/path_filtering_test.go test/pipelinefinally_test.go test/pipelinerun_test.go test/presubmit-tests.sh test/propagated_params_test.go test/registry_test.go test/remote.go test/remote_test.go test/resolution.go test/resolvers_test.go test/resolvers_yaml test/retry_test.go test/secret.go test/serviceaccount_test.go test/sidecar_test.go test/start_time_test.go test/status_test.go test/step_output_test.go test/taskrun_test.go test/tektonbundles_test.go test/timeout_test.go test/trusted_resources_test.go test/trustedresources-keys test/trustedresources.go test/trustedresources_test.go test/wait.go test/wait_example_test.go test/windows_script_test.go test/windows_test.go test/workingdir_test.go test/workspace_test.go test/yamls go.mod (#6410)
  • πŸ”¨ Bump github.com/tektoncd/pipeline from 0.45.0 to 0.46.0 in /test/custom-task-ctrls/wait-task-alpha (#6404)
  • πŸ”¨ Bump github.com/tektoncd/pipeline from 0.45.0 to 0.46.0 in /test/custom-task-ctrls/wait-task-beta (#6401)
  • πŸ”¨ Bump github.com/golangci/golangci-lint from 1.51.2 to 1.52.0 in /tools (#6396)
  • πŸ”¨ Bump github.com/jenkins-x/go-scm from 1.13.9 to 1.13.12 (#6394)
  • πŸ”¨ Bump k8s.io/client-go from 0.25.7 to 0.25.8 (#6393)
  • πŸ”¨ Bump k8s.io/api from 0.25.7 to 0.25.8 (#6392)
  • πŸ”¨ Bump k8s.io/code-generator from 0.25.7 to 0.25.8 (#6391)
  • πŸ”¨ divide ApplyTaskResultsToPipelineResults tests into success and error (#6388)
  • πŸ”¨ Bump google.golang.org/protobuf from 1.29.0 to 1.30.0 (#6371)
  • πŸ”¨ [TEP074] Tombstone ResourceResult field with the removal of PipelineResources (#6301)

Docs

  • πŸ“– Migrate documentation to v1 API (#6414)

Migrate documentation from v1beta1 to v1 API

  • πŸ“– Update wording for end-of-life in releases.md (#6569)
  • πŸ“– Add developer guidance for API changes to CustomRuns (#6567)
  • πŸ“– Update development guide on creating new CRDs (#6566)
  • πŸ“– Update API compatibility policy for stable CRDs (#6532)
  • πŸ“– Fixed Broken Links in Cloud Events Documentation (#6517)
  • πŸ“– updating releases with the latest 0.41.2 (#6504)
  • πŸ“– Update min k8s version to 1.24 (#6478)
  • πŸ“– Small docs fix to make the timeout field value more obvious. (#6470)
  • πŸ“– Update docstring of v1beta1.PipelineObject (#6468)
  • πŸ“– doc: added a note on pulling task image from private repo (#6426)
  • πŸ“– fix:inconsistent 'retries' document example fields in customrun (#6422)
  • πŸ“– Add missing links for v0.46 release and move v0.42 to EOL section (#6421)
  • πŸ“– updating releases.md for 0.46 (#6389)

Thanks

Thanks to these contributors who contributed to v0.47.0!

Extra shout-out for awesome release notes: