🎉 Optional workspaces and more startup options 🎉
-Docs @ v0.17.0
-Examples @ v0.17.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.17.0/release.yaml
Upgrade Notices
N/A
Changes
Features
- ✨ Base entrypoint image on distroless (#3286)
Binary file (standard input) matches
- ✨ Provide configuration option to disallow omitting known_hosts (#3283)
Provide configuration option to disallow omitting known_hosts in Git SSH Secret.
- ✨ Introduce Optional Workspaces (#3274)
Introduce optional workspaces: A Task or Pipeline may declare a workspace optional and conditionally change their behaviour based on its presence. A TaskRun or PipelineRun may omit that workspace and thereby modify the Task or Pipeline behaviour.
- ✨ Update CRD definition to use apiextensions v1 (#3236)
Update CRD to use apiextensions.k8s.io/v1 instead of v1beta1
- ✨ Bump knative to enable new features (#3181)
knative is upgraded to a more recent version
- ✨ Make DefaultThreadsPerController, QPS and Burst configurable via flags (#3156)
Allows DefaultThreadsPerController, QPS, and Burst to be configured via flags
- ✨ Fix(git): add warning of the mismatch of git cred and url (#3136)
Fix(git): Tekton's credentials initialization now detects when an SSH credential is used with a non-SSH URL (and vice versa) in Git PipelineResources and will log a warning in Step containers.
- ✨ Add minimal initial API spec document (#3131)
Add initial minimal API specification document
-
✨ Emit an event if overwriting PodTemplate affinity (#2859)
-
✨ Add cloud events to metrics (#2720)
-
✨ Run enhancements (#3313)
-
✨ Introducing InternalTektonResultType as a ResultType (#3138)
Deprecation Notices
N/A
Backwards incompatible changes
N/A
Fixes
- 🐛 Replace variables in Sidecar Script block (#3318)
Fixed issue where script blocks in sidecars didn't have their variables replaced.
- 🐛 Fix issue where workspace volume variable and pod volume conf differ (#3315)
Fixed a bug where a workspace's volume name did not match the value from workspace..volume variables.
- 🐛 Sort pod container statuses based on Step order in taskSpec (#3256)
Steps in the TaskRun status field are now sorted according to the Step order specified in the taskSpec
- 🐛 Fix version label on created pods 👇 (#3193)
Fix version label on created pods
- 🐛 default service account (#3168)
Service account when missing from pipelinerun/taskrun spec and ConfigMap, controller sets it to default in the spec.
- 🐛 Add support for repeated PVC-claim but using subPath in AA-validation (#3099)
Fixes a bug with validation for the Affinity Assistant when the same PVC is used for multiple workspaces but with different subPaths
- 🐛 Fix annotation on v1beta1 field. (#3328)
- 🐛 Fix validation error on parameters 🐒 (#3309)
- 🐛 Use the test context in Reconcile tests (#3285)
- 🐛 Accept CloudEvents in any order for CE reconcile test (#3292)
- 🐛 Log cloud events to help debug issue 2992 (#3282)
- 🐛 Refactor cancellation test (#3266)
Misc
- 🔨 Derive cancel patch bytes once at controller startup (#3316)
Fail more loudly at controller startup when we fail to marshal the JSON Patch request to cancel TaskRuns owned by cancelled PipelineRuns.
-
🔨 Remove test builders from validate_params_test.go (#3281)
-
🔨 Replace google/cloud-sdk with GCR equivalent. (#3280)
gcloud images now use GCR hosted equivalent instead of DockerHub.
- 🔨 Enhance v1beta1 validation code for pipelinerun 🍸 (#3279)
Binary file (standard input) matches
- 🔨 Enhance v1beta1 validation code for pipeline 🍸 (#3277)
Binary file (standard input) matches
- 🔨 Enhance v1beta1 validation code for taskrun 🍸 (#3270)
Binary file (standard input) matches
- 🔨 Enhance v1beta1 validation code for clustertask 🍸 (#3268)
Binary file (standard input) matches
-
🔨 Omit cleaning up the Affinity Assistant if disabled (#3214)
-
🔨 Enhance v1beta1 validation code for task 🍸 (#3185)
Binary file (standard input) matches
- 🔨 tekton: migrate release task and pipeline to v1beta1 (#3106)
Release pipeline and tasks are now using the v1beta1 API
- 🔨 refactoring pipelinerunstate - no logic changed at all (#3326)
- 🔨 Add missing json annotations (#3291)
- 🔨 test: remove extra logs in task_validation_test.go (#3290)
- 🔨 Include golang version in docs. (#3272)
- 🔨 Remove unused test builder methods (#3261)
- 🔨 Remove test builders from pipelinerun cancel_test.go (#3260)
- 🔨 Remove test builders from apply_test.go (#3259)
- 🔨 refactoring PipelineRunState to simplify logic for retrieving next tasks (#3254)
- 🔨 Remove test builders from v1alpha1/pipeline_validation_test.go (#3250)
- 🔨 Clean up metrics_test.go (#3247)
- 🔨 Apply replacements in tasks and finally tasks separately (#3244)
- 🔨 pkg/*: remove more v1alpha1 reference. (#3233)
- 🔨 refactoring - pipelinerunstate (#3231)
- 🔨 Clean up dag_test.go (#3230)
- 🔨 Clean up examples_test.go (#3229)
- 🔨 Remove test builder references from test/**/adoc.go (#3228)
- 🔨 pkg/{termination,pod,reconciler}: use v1beta1 struct 🍶 (#3222)
- 🔨 Clean up multiarch_utils.go (#3200)
- 🔨 Clean up e2e entrypoint_test.go (#3199)
- 🔨 Clean up e2e Git PipelineResource tests (#3198)
- 🔨 Update e2e cancellation tests (#3195)
- 🔨 Remove tb.ArrayOrString (#3184)
- 🔨 Remove release-note block indentation in PR template 🌮 (#3269)
- 🔨 Change git pipeline tests for s390x (#3265)
- 🔨 Makefile: fix the all target 🎪 (#3191)
- 🔨 TestReconcile_ExplicitDefaultSA flakiness fix 🍂 (#3189)
Docs
- 📖 Fix the pipelinerun docs about completion time (#3332)
Fixed incorrect documentation about pipeline run completion time and status.
- 📖 Add docs demonstrating how to share a Workspace with Sidecars (#3322)
Added an example and documentation showing how to share a Workspace between Steps and Sidecars in a Task.
- 📖 Add a short example of using optional workspaces in when expressions (#3308)
Added a short example of using optional workspaces in when expressions.
-
📖 Fix some typos in docs (#3297)
-
📖 Update variables.md to mention the risk of not escaping your own parameters. (#3296)
-
📖 Update Release Cheet Sheat, remove instructions from README (#3252)
Removed release directions from README in favor of release-cheat-sheet.
-
📖 Move metadata under taskSpec in the documentation (#3246)
-
📖 Rename Artifact Storage to PipelineResource Storage in install doc (#3209)
Clarified storage configuration for PipelineResources in install doc
-
📖 Change Timeout Field (#3157)
-
📖 Add a clarifying comment to new workspace test (#3329)
-
📖 Add a short note documenting the new git ssh secret feature flag (#3294)
-
📖 Improve documetation for entrypoint binary (#3288)
-
📖 Adding link to documentation on supported fields for pod templates. (#3284)
-
📖 Add 0.16.3 docs link 📝 (#3248)
-
📖 Add docs for v0.16.x 📝 (#3216)
-
📖 Add nop-image to release instructions (#3186)
-
📖 Add results path variable to results docs (#3144)
Thanks
Thanks to these contributors who contributed to v0.17.0!
- ❤️ @AlexReiff
- ❤️ @FogDong
- ❤️ @GregDritschler
- ❤️ @imjasonh
- ❤️ @Peaorl
- ❤️ @adshmh
- ❤️ @afrittoli
- ❤️ @andreyvelich
- ❤️ @barthy1
- ❤️ @bobcatfish
- ❤️ @jerop
- ❤️ @jlpettersson
- ❤️ @kobayashi
- ❤️ @mattmoor
- ❤️ @pierretasci
- ❤️ @piyush-garg
- ❤️ @popcor255
- ❤️ @pritidesai
- ❤️ @psschwei
- ❤️ @sbwsg
- ❤️ @vdemeester
- ❤️ @wlynch
- ❤️ @yaoxiaoqi
Extra shout-out for awesome release notes:
- 😍 @FogDong
- 😍 @imjasonh
- 😍 @Peaorl
- 😍 @adshmh
- 😍 @afrittoli
- 😍 @andreyvelich
- 😍 @jlpettersson
- 😍 @kobayashi
- 😍 @pierretasci
- 😍 @popcor255
- 😍 @pritidesai
- 😍 @sbwsg
- 😍 @vdemeester
- 😍 @wlynch
- 😍 @yaoxiaoqi