Skip to content

Tekton Pipelines release v0.7.0 "Lynx Point"

Pre-release
Pre-release
Compare
Choose a tag to compare
@afrittoli afrittoli released this 19 Sep 17:22

πŸŽ‰ Nightly Releases, Sidecars for Tasks, CloudEvent pipeline resource, and much much more! πŸŽ‰

-Docs @ v0.7.0
-Examples @ v0.7.0

Changes

Features

  • ✨ Add nightly release pipeline πŸŒ™.

Nightly build artifacts are available at gs://tekton-release-nightly and gcr.io/tekton-nightly (#1274).

  • ✨ Add namespace to cluster resource (#1255).

  • ✨ Verify if pipeline works after upgrading from previous release to current release.

This introduces upgrade testing πŸŽ‰πŸŽ‰ (#1162).

  • ✨ Allow declaring and passing resources to conditions.

Adds resource support for conditionals. Conditions have to declare the resources they can use and these can be passed in via the Pipeline and PipelineRun spec similar to TaskResources. (#1151)

  • ✨ Add sidecars to Tasks

Tasks can now define a list of sidecar containers to run alongside their steps (#1236)

  • ✨ Update build-gcs resource type to support .tar.gz archives (#1200)

  • ✨ Cloud Event output resource (#837)

New output resource CloudEventPipelineResource available.
When used in a Task, it will generate a cloud event upon completion of any TaskRun
that references that Task. The cloud event includes the entire body of the TaskRun.

Deprecation Notices

  • 🚨 Deprecation Notice for Results Field for PipelineRuns and TaskRuns

Adding code comments to bring awareness to Results field removal in v0.8.0 (#1278).

  • 🚨 Update build-gcs resource type to support .tar.gz archives

build-gcs resources will no longer support artifactType Archive, use ZipArchive and TarGzArchive instead (#1200)

Backwards incompatible changes

In current release:

  • 🚨 Support for ${} syntax removed in favor of $()

${} syntax will no longer perform variable replacement, $() must be used instead. Last release introduced this change in a backwards compatible manner, by supporting both $() and ${}; now we are making the change to remove support for the ${} syntax (#1311).

  • 🚨Change the behavior of outputs that are also used as inputs.

Tasks that take input and output resources of the same type must now copy or move the resource from the input directory to the output directory manually. Tekton no longer automatically reads outputs from the input directory when the same resource is supplied in both places (#1122).

  • 🚨Remove deprecated podSpec field in favor of podTemplate.

Remove deprecated podSpec (nodeSelector, affinity and tolerations) fields in favor of podTemplate (#1299).

  • 🚨Update build-gcs resource type to support .tar.gz archives

build-gcs resources cannot be used as an output resource (#1200)

Fixes

  • πŸ› Annotate TargetPath and OutputImageDir with omitempty (#1225)
  • πŸ› Accept any sidecar termination reason (#1265)
  • πŸ› Support Condition only resources in PipelineTask (#1270)
  • πŸ› Made the digest exporter report image digest if there is only one image. (#1237)
  • πŸ› Fix and work around timeout handler data races (#1308):
    • Removes potential race conditions in timeout handler
    • It drops logging from timeout_handler. We'll attempt to restore logging in a thread-safe manner in the future.

Misc

  • πŸ”¨ Remove "Building" status reason (#1226).
  • πŸ”¨ Refactor reconciler package to not reference api version (#1216)
  • πŸ”¨ Bump github.com/knative/pkg dependency and deps… (#1117)
  • πŸ”¨ Add a using resources section in resources.md (#1257)
  • πŸ”¨ Update xerrors dependency (#1277)
  • πŸ”¨ Use ubuntu images for sidecar tests (#1254)
  • πŸ”¨ Increase linter timeout to 3 minutes (#1318)
  • πŸ”¨ Only compare ImageID suffix in TestTaskRunStatus test (#1233)
  • πŸ”¨ Add YAML test for non-build-gcs GCS resource (#1223)
  • πŸ”¨ Delete gopath-test taskrun example / YAML test (#1224)
  • πŸ”¨ Rename taskrun-github-pr-yaml totaskrun-github-pr.yaml. (#1218)
  • πŸ”¨ Refactor input resource volume handling to remove a type switch statement (#1139)
  • πŸ”¨ Add GcsFetcher and GcsUploader images to release task and pipeline (#1196)
  • πŸ”¨ Fix release pipeline to handle #1122 (#1327)
  • πŸ”¨ Emit pipelinerun event when it is cancelled (#1230)
  • πŸ”¨ Add managed-by label to Pods created from TaskRuns (#1329)
  • πŸ”¨ Update Deployments to use the apps/v1 API version (#1330)

Docs

  • πŸ“– Fix #1211 - Remove reference to yqArg in pipeline tutorial (#1212)
  • πŸ“– Fix name variables in cluster resource doc. (#1261)
  • πŸ“– Fix typos in release doc. (#1317)
  • πŸ“– Update release README numbering (#1321)
  • πŸ“– Typos and correctness fixes for creds-init CLI doc (#1297)
  • πŸ“– Enhancements for PullRequest Resource docs (#1276)
  • πŸ“– Fix Pull Request resource example url. (#1316)
  • πŸ“– Add links to 0.6.0 docs (#1203)
  • πŸ“– [Doc] Fix typos and link errors for pipelines.md (#1245)
  • πŸ“– Correct a small error in tasks.md readme (#1217)
  • πŸ“– Fix a few comments (#1207)
  • πŸ“– Update v0.6.0 docs to include fixed tutorial πŸ€’ (#1208)
  • πŸ“– Fix braces in tutorial 😭 (#1206)
  • πŸ“– Doc updates for typos and clearification (#1192)

Thanks

Thanks to these contributors who contributed to v0.7.0!

Extra shout-out for awesome release notes: