Tekton Pipelines release v0.8.0 "Peterbald Maria"
Pre-releaseπ Embedded Resource and Pipeline Specs, S3 Artifact Support, Pipeline Metrics & More! π
-Docs @ v0.8.0
-Examples @ v0.8.0
Changes
Features
- β¨ Allow PipelineResource implementations to modify the entire Pod spec.
This change simplifies the interface by removing the GetUpload/Download container and volume methods and replaces it with a more generic "modifier" system. (#1345)
- β¨ Adding support to enable resourceSpec.
Its now possible to embed resourceSpec into PipelineRun. (#1324)
- β¨ Add support for specifiying "0" as no-timeout for PipelineRuns.
This was already done in #1040 for TaskRuns, but PipelineRuns seem to have been missed. (#1365)
- β¨ Add checking insecure flag when creating pipeline resources.
If insecure flag is true, user can create ClusterResource without cadata. (#1354)
- β¨ Resolve all PipelineResources first before continuing
For folks importing the client libraries, when ResourceBindings are instantiated for TaskRuns, they now need to explicitly declare the newly embedded struct PipelineResourceBinding. (#1353)
- β¨ Adding support to enable pipelineSpec
Its now possible to embed the whole pipeline specification into Pipeline Run using pipelineSpec (#1333)
- β¨ Provide a way to specify default service accounts
If pipeline controllers are deployed with a config-map that has default-service-account
key set to a non-empty string, pipeline-runs that do not specify a ServiceAccount will be modified (mutated) to the value of the default-service-account
. (#1227)
- β¨ Support runtimeClassName in pod templates
This change adds support for the Kubernetes 1.12+ runtime class feature by adding the runtimeClassName field to pod templates and propagating that to the underlying pod spec. (#1363)
- β¨ Add support for using S3-compatible APIs instead of GCS by passing through a boto configuration file.
It is now possible to use S3-compatible APIs instead of GCS for GCS storage resources. (#1361)
-
β¨ Update TaskRunStatus.ResourcesResult to be more generic.
- The Name and Digest fields on TaskRunStatus.ResourcesResult are deprecated and are replaced by the new Key and ResourceRef fields.
- Both sets of fields are present in this release, but a future release will remove the legacy fields.
-
β¨ Add pipeline metrics π (#1387)
Following Pipelines metrics are available at tekton-pipelines-controller:9090/metrics
endpoint
- Taskrun/Pipeline execution duration time
- Pipelinerun/Taskrun
success
andfailure
duration rates - Number of Taskruns and Pipelineruns are executing currently
- Pod scheduling latency for Taskruns
- β¨ Refactor Resource result output, and add support for Git resources.
The 'Git' PipelineResource now populates the taskRun.status.resourcesResult field with the commit used. (#1424)
- β¨ Support multiple SSH keys for the same host
Allow multiple SSH-auth secrets annotated for the same host (#1433)
Deprecation Notices
- π¨ The "Name" and "Digest" fields on TaskRunStatus.ResourcesResult are deprecated
The Name and Digest fields on TaskRunStatus.ResourcesResult are deprecated and are replaced by the new Key and ResourceRef fields.
- π¨ ServiceAccountName(s) replaces ServiceAccount(s)
The serviceAccount
field is deprecated. Use serviceAccountName
instead.
Fixes
- π Correct pod watching in Taskrun controller (#1269)
- π Clean up YAML tests (#1351)
- π Some of the task and pipeline names had capital letters that were invalid (#1381)
- π Remove the gitlab example taskrun. (#1403)
- π Add support for comment and label manifests. (#1408)
- Fixes bug where PullRequestResource could accidentally delete newly created upsteam resources in certain race conditions.
Misc
- π¨ Include vendored source in release-built images (#1338)
- π¨ Fix line breaks in PR template (#1337)
- π¨ Actually fix PR template line breaks (#1346)
- π¨ Tekton 0.3.1 does not support $() syntax (#1339)
- π¨ Fix some style issues noticed after #1345 was merged. (#1356)
- π¨ Use Tekton's nightly-built build-base image (#1352)
- π¨ Enable the "gosec" linter for CI, and fix the one issue in our code. (#1359)
- π¨ Avoid cases when comparing in TestGitPipelineRun. (#1362)
- π¨ Enable "gocritic" in CI, and fix associated errors. (#1360)
- π¨ Move nopImage and entrypointImage from pkg/β¦ package to cmd/controller (#1348)
- π¨ Inline the
ResourceDeclaration
struct inTaskResource
(#1366) - π¨ Update PipelineSpec Task name and TaskRef name validation to prevent errors at runtime (#1358)
- π¨ Helpful error message when multiple volumes share name (#1404)
- π¨ Enable the unparam linter, and fix outstanding issues. (#1388)
- π¨ Add vendored-source logic to full release pipeline. (#1340)
- π¨ Add logging to TimeoutHandler (#1335)
- π¨ Use a local registry in build-push-kaniko (#1415)
- π¨ Only mount artifact bucket volume once, even with multiple inputs. (#1370)
- π¨ Use kubectl create instead of apply (#1398)
- π¨ Use a subfolder in the release bucket (#1391)
- π¨ Adapt the release pipeline to Tekton v0.7.0+ (#1421)
- π¨ Allow entrypoint binary to wait for multiple files (#1430)
- π¨ Remove unused results field from pr and tr specs (#1425)
- π¨ Use correct version number for release link (#1428)
- π¨ Fail test if resource creation fails (#1399)
- π¨ Set defaults for Tasks embedded in TaskRuns (#1431)
- π¨ upgrade executor version (#1435)
- π¨ Use the pre-release check task from plumbing (#1434)
Docs
- π Small fixes to the release guide (#1322)
- π Add docker for desktop and minikube instructions (#1326)
- π Fix export comments (#1342)
- π Remove Docker Edge requirement from tutorial (#1385)
- π kubectl apply not work for examples with the genereateName (#1382)
- π Fix a tiny typo (#1390)
- π Added URL for permission (#1436)
- π Fix Typo in docs (#1442)
Thanks
Thanks to these contributors who contributed to v0.8.0!
- β€οΈ @16yuki0702
- β€οΈ @afrittoli
- β€οΈ @akihikokuroda
- β€οΈ @bobcatfish
- β€οΈ @cappyzawa
- β€οΈ @chandanikumari
- β€οΈ @chmouel
- β€οΈ @danielhelfand
- β€οΈ @dibyom
- β€οΈ @dlorenc
- β€οΈ @fraenkel
- β€οΈ @hrishin
- β€οΈ @imjasonh
- β€οΈ @impl
- β€οΈ @jbarrick-mesosphere
- β€οΈ @mnuttall
- β€οΈ @moredhel
- β€οΈ @nlewo
- β€οΈ @pritidesai
- β€οΈ @pwplusnick
- β€οΈ @sbwsg
- β€οΈ @vdemeester
- β€οΈ @vincent-pli
- β€οΈ @vtereso
- β€οΈ @withlin
- β€οΈ @wlynch