Tekton Pipeline release v0.15.0 "Ragamuffin R2-D2"
π Cloud Events, Run
CRD, more variables and better docs π
-Docs @ v0.15.0
-Examples @ v0.15.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.15.0/release.yaml
Upgrade Notices
π£ The minimum Kubernetes version is now 1.16. π£
Known Issues
There is a known issue with PullRequest Resources in 0.15.0: Tasks that write a pr.json
file to be used by an output PullRequest PipelineResource will see permission errors when run: The output PullRequest Resource will attempt to read the pr.json
file but will not be able to because the injected PullRequest Step is not running as root
. To workaround this issue in the short term you can modify permissions on the pr.json
file to be world-readable (e.g. run chmod 777
on the pr.json
file in your Step). A 0.15 point release is planned to address this issue.
Changes
Features
-
β¨ Use cloud event native retries for cloud event pipeline resource (#3003)
Cloud events sent viaCloudEventPipelineResource
now use retries with backoff. -
β¨ Add pipeline run support for cloud events (#2938)
Add cloud events for pipeline runs via the configuration optiondefault-cloud-events-sink
.
When the default sink is setup, cloud events are sent, else they're disabled.
Send cloud events (when enabled) from the pipeline run and controller, for all non-error
events that are already notified via k8s events.
-
β¨ Add Default TaskRun Workspace Bindings to config-default (#2930)
Users can now set a defaultWorkspace
configuration for anyWorkspaces
that a Task declares but that a TaskRun does not explicitly provide. It can be set in theconfig-defaults
ConfigMap indefault-task-run-workspace-binding
. -
β¨ Add namespace variable interpolation for pipelinerun namespace and (#2926)
Add namespace variable interpolation incontext.
for pipelinerun namespace and taskrun namespace. -
β¨ Wire up webhook validation for Run objects (#2916)
-
β¨ Define a helper method pkg/controller.FilterRunRef (#2915)
-
β¨ Define v1alpha1 Run type and generated scaffolding (#2871)
Introduce the Run
CRD. The new CRD will support the definition of new
kind of Tasks to be integrated in the pipelines.
Run
s are an experimental alpha feature and should be expected to change
in breaking ways or even be removed.
Run
s are not currently integrated with Pipelines, and require a running
third-party controller to actually perform any work. Without a third-party
controller, Run
s will just exist without a status indefinitely.
-
β¨ Validate TaskRun compatibility with the Affinity Assistant (#2885)
A TaskRun that mount more than one PVC-backed workspace is incompatible
with the Affinity Assistant. Validation has been added to handle this case. -
β¨ Allow variable substitution inside csi volumes parameters (#2643)
This PR allow to use parameters in CSI volume parameters. -
β¨ PR upload validates comment file extension (#2462)
Comment files under a PullRequest need to have either:
- no extension: for comment files that contain comment as plain text
- .json extension: for comment files in JSON format
Deprecation Notices
None this time.
Backwards incompatible changes
None this time.
Fixes
- π Add omitempty for SchedulerName, ImagePullSecrets, HostNetwork (#3032)
- π Make string variable interpolation deterministic, and single-pass. (#3024)
- π Fix assignments to nil map issues (#3001)
- π Update shell-image to current gcr.io/distroless/base:debug SHA (#2999)
- π Use a hash of the workspace name in PVCs from template (#2961)
- π Remove ssh-keyscan from git credential initialization (#2953)
- π Dont write creds-init files if none of that type are mounted (#2940)
- π dep: update golang.org/x/text to v0.3.3 (#2929)
- π variable substitution in finally section (#2908)
- π change value of app.kubernetes.io/version label (#2900)
- π Include Task name in err message when validating (#2899)
- π cloudevent: make sure we enter the channel beforeβ¦ (#2895)
- π Fix TestTaskRunPipelineRunCancel failure (#2850)
[Fill list here]
Misc
- π¨ Run TestReconcileTimeouts as separate tests β° (#3030)
- π¨ Add nop-image to release configs (#3025)
- π¨ Align release-generated .ko.yaml with repo config (#3018)
- π¨ Remove default flag values for image names (#3016)
- π¨ Add a minimal nop image (#3014)
- π¨ deleting hard coded taskrun controller name (#3012)
- π¨ Some timeout refactoring (#3011)
- π¨ Update the google/go-containerregistry library to an actual release. (#2988)
- π¨ Use filepath.Join instead of string formatting. (#2985)
- π¨ Change podconvert.MakePod func into a configuration struct with methods (#2982)
- π¨ Remove the "baseBuildOverrides" flag from .ko.yaml (#2972)
- π¨ Enable the "misspell" linter, and fix some misspellings. (#2964)
- π¨ Enable the deadcode linter in golangci, and clean up dead code. (#2960)
- π¨ Remove an unused line of code from oci/resolver.go (#2959)
- π¨ Add pipeline artifact config to the shared config store (#2947)
- π¨ Add some missing json annotations. (#2920)
- π¨ [master] Auto-update dependencies (#2910)
- π¨ Use sets.NewString from apimachinery (#2909)
- π¨ Stop using PATCH to update labels/annotations (#2907)
- π¨ refactoring pipelinerun unit test (#2876)
- π¨ Pick up the latest knative/pkg and K8s 0.17.x (#2846)
- π¨ Remove legacy Cluster Resource behavior left in place for the 0.14.0 β¦ (#2808)
- π¨ Use MarkStatus* helpers in pkg/pod/status (#2804)
- π¨ Add a test to ensure that labels are updated as a part of TaskRun (#2785)
- π¨ Add kodata for the nop image (#3042)
- π¨ [master] Auto-update dependencies (#3037)
- π¨ Add .status.extraFields to the RunStatus type (#2991)
- π¨ tekton/release-pipeline: run test after precheck (#2955)
- π¨ Add Priti as an owner π (#2948)
- π¨ Makefile: bump golangci-lint to 1.28.0 βοΈ (#2904)
- π¨ Makefile: add a cross target π΅ (#2903)
- π¨ Update the pull_request_template for release-note π (#2882)
- π¨ Use OWNER_ALIASES defined teams and add area/* labels (#2839)
- π¨ Google/ko 5.0+ requires images to be prefixed by ko:// . (#2675)
Docs
- π small typo fix (#3040)
- π follow on from PR 3010, formatting fix and updating resource requirements for minikube (#3034)
- π Remove mention of ssh-keygen from auth doc (#3033)
- π Document using custom SSH port for git repos (#3022)
- π Fixes #2971, adding a section to the tutorial for using minikube when running locally (#3010)
- π Rewrite the Knative Build migration guide for clarity and flow. (#2996)
- π Fix: host.docker.internal instead of host.docker.local (#2993)
- π fixes 2978, missing command in monitoring steps (#2990)
- π Rewrite the "Pod Templates" documentation for clarity and flow. (#2983)
- π TUTORIAL: Fix docker registry credentials issue (#2980)
- π README: fix typo with doc text (#2976)
- π Fix minor format issues (#2963)
- π README.md: add v0.14.1 and v0.14.2 release, docs links (#2956)
- π Rewrites the "Labels" documentation for clarity and flow. (#2946)
- π Flesh out the docs on using results in Pipelines (#2945)
- π Document that Task Results dont get trimmed (#2942)
- π Rewrite the "Logs" documentation for clarity and flow. (#2939)
- π Document all locations that variable substitution is available (#2927)
- π Fix a typo in development.md file (#2923)
- π Rewrite the "Events" documentation for clarity and flow. (#2919)
- π Rewrite the "Container Contract" documentation for clarity and flow. (#2914)
- π Rewrite the "Metrics" documentation for clarity and flow. (#2913)
- π Add extended documentation about PersistentVolumes within a PipelineRun (#2912)
- π Fix documentation about cloudevents (#2911)
- π Update README docs pointing to 0.14.0 release (#2896)
- π Fix documentation about tasks (#2893)
- π Improve workspace documentation (#2890)
- π Rewrite the
Condition
documentation for clarity and flow. (#2867)
Thanks
Thanks to these contributors who contributed to v0.15.0!
- β€οΈ @GregDritschler
- β€οΈ @imjasonh
- β€οΈ @JustinKuli
- β€οΈ @NavidZ
- β€οΈ @Peaorl
- β€οΈ @R2wenD2
- β€οΈ @Yannig
- β€οΈ @adshmh
- β€οΈ @afrittoli
- β€οΈ @akram
- β€οΈ @bobcatfish
- β€οΈ @danielhelfand
- β€οΈ @dlorenc
- β€οΈ @du2016
- β€οΈ @frostmourner
- β€οΈ @jerop
- β€οΈ @jlewi
- β€οΈ @jlpettersson
- β€οΈ @juanri0s
- β€οΈ @mattmoor
- β€οΈ @pritidesai
- β€οΈ @psschwei
- β€οΈ @ricardochimal
- β€οΈ @rlandesman
- β€οΈ @sbwsg
- β€οΈ @sergetron
- β€οΈ @skaegi
- β€οΈ @vdemeester
Extra shout-out for awesome release notes:
- π @afrittoli
- π @jerop
- π @Yannig
- π @adshmh