Skip to content

Tekton Pipeline release v0.29.0 "Abyssinian Atom"

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 19 Oct 14:02

πŸŽ‰ πŸͺŸ Windows TaskRuns! πŸͺŸ πŸŽ‰

-Docs @ v0.29.0
-Examples @ v0.29.0

Installation one-liner

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

Attestation

The Rekor UUID for this release is 8ba5dcc45b9fad4d879a8b6815cdaa85fdee1d9fc24cf8811f103d537c602908

Obtain the attestation:

rekor-cli get --uuid 8ba5dcc45b9fad4d879a8b6815cdaa85fdee1d9fc24cf8811f103d537c602908 --format json | jq -r .Attestation | base64 --decode | 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.29.0/release.yaml 
REKOR_UUID=8ba5dcc45b9fad4d879a8b6815cdaa85fdee1d9fc24cf8811f103d537c602908

# Obtains the list of images with sha from the attestation
REKOR_ATTESTATION_IMAGES=$(rekor-cli get --uuid "$REKOR_UUID" --format json | jq -r .Attestation | base64 --decode | jq -r '.subject[]|.name + ":v0.29.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

⚠️ Known Issues

  • #4483 Implicit parameter mapping incorrectly passes params from the top-level Pipeline or PipelineRun to taskRef Pipeline Tasks. Mapping should only occur from top-level resource to Pipeline Tasks with in-line taskSpec. This issue only affects users with enable-api-fields: alpha in the feature-flags ConfigMap stored in the tekton-pipelines namespace.

Changes

Features

  • ✨ Build entrypoint image for Windows (#4260)

The entrypoint multi-arch image now includes an image built for Windows, allowing TaskRuns to execute on Windows nodes.

Notes:

  • πŸͺŸ There is a Windows page in the docs folder which outlines some important details about running Windows workloads in Tekton
  • πŸͺŸ If a Windows task and a Linux task are both sharing a PersistentVolumeClaim workspace, the affinity assistant may need to be disabled (those two tasks cannot run on the same node).
  • πŸͺŸ PipelineResources have not been tested for Windows tasks and probably won't work.
  • πŸͺŸ Windows TaskRuns require - at least for now - privileged mode

Thanks for all the contributors for making this possible. We look forward to users feedback!

  • ✨ Support for single-quote bracket notation for params (#4268)

Params and result can now be referenced with bracket notation using both single and double quotes in addition to dot notation. For example, the following are equivalent: $(param.myparam), $(param['myparam']), and $(param["myparam"]). Bracket notation has the additional benefit of allowing users to work with parameter names containing conflicting characters like "." (e.g. $(param['my.param']) or $(param["my.param"]).

  • ✨ Promoting "onError" to beta πŸŽ“ (#4251)

Announcement: onError in a step is now stable and available to include in your task definition without any flag.

Fixes

  • πŸ› Verify failure of PipelineRun in TestGitPipelineRunFail (#4273)
  • πŸ› release: Drop windows from pipeline-wide platforms (#4308)
  • πŸ› Don't pass the pipeline's default platforms value to the publish-image task (#4305)
  • πŸ› release: Include windows in pipeline default platforms (#4304)
  • πŸ› nightly: Configure auth before pushing combined base image (#4302)
  • πŸ› Fix nightly release process (#4301)
  • πŸ› Updates webhook cluster role to work with Owner References (#4269)
  • πŸ› Ignore env var ordering in taskrun reconciler tests (#4286)

Misc

  • πŸ”¨ Remove unused error type CannotConvertError (#4281)

Remove unused error type CannotConvertError

  • πŸ”¨ Split /tekton/run directories into separate volumes. (#4278)
  • πŸ”¨ Remove upgrade via defaulting (#4275)

Use only the conversion webhook to upgrade types, remove upgrade mechanism in the defaulter

  • πŸ”¨ Removing internal/builder/v1alpha1 and all usages (#4270)
  • πŸ”¨ Only add gcr.io images to publish results (#4283)

Due to a technical limitation, only images published to gcr.io, which are included in the release.yaml, are signed.
Images on eu.gcr.io, us.gcr.io and asia.gcr.io are not signed yet.

  • πŸ”¨ Fix unreachable code in TestReconcileCancelledFailsTaskRunCancellation (#4312)
  • πŸ”¨ Clean up a bunch of exported comments to actually match the element (#4311)
  • πŸ”¨ Update comment for dag.GetSchedulable (#4310)
  • πŸ”¨ Remove last lingering unnecessarily exported functions (#4296)
  • πŸ”¨ Switch test/*.go to using YAML rather than structs (#4288)
  • πŸ”¨ Convert test/cluster_resource_test.go's Tekton structs to YAML (#4284)
  • πŸ”¨ Removing internal/builder completely (#4277)
  • πŸ”¨ pkg/pod: extract overrideHomeEnv/WorkingDir outside (#4250)
  • πŸ”¨ pkgs: move affinity assistant to a pod transformer (#4245)
  • πŸ”¨ pkg/pod: simplify orderContainers returns (#4244)
  • πŸ”¨ Bump some stale dependencies in go.mod. (#4243)
  • πŸ”¨ Mount entrypoint volume as read-only. (#4242)
  • πŸ”¨ Mark Downward API VolumeMount as readonly. (#4236)
  • πŸ”¨ Have [Cluster]Task and Pipeline implement kmeta.OwnerRefable. (#4295)
  • πŸ”¨ Generate reconcilers for [Cluster]Tasks and Pipelines. (#4293)
  • πŸ”¨ Make sure images stored in registry mirrors are signed (#4262)
  • πŸ”¨ Remove sbwsg from OWNERS_ALIAS file (#4249)

Docs

  • πŸ“– Add reference to authoring recommendations (#4318)
  • πŸ“– fix couple of small typos (#4292)
  • πŸ“– Fix Example in Service Account Documentation (#4274)
  • πŸ“– Update ToC in TaskRuns documentation (#4265)
  • πŸ“– Document Alpha Features (#4246)
  • πŸ“– links to the patch release v0.28.2 (#4314)
  • πŸ“– adding an entry for v0.28.1 πŸ“’ (#4267)
  • πŸ“– adding links to pipeline release 0.28 (#4252)
  • πŸ“– Revamp Tekton developer docs for /tekton paths. (#4238)

Thanks

Thanks to these contributors who contributed to v0.29.0!

Extra shout-out for awesome release notes: