Tekton Pipeline release v0.9.0 "Bengal Bender"
Pre-releaseπ Script mode, improved pipeline resources, fewer PVCs, more dogfooding and much much more! π
-Docs @ v0.9.0
-Examples @ v0.9.0
Changes
Features
- β¨ Implement step scripts
Support step scripts for easier scripting inside container executions (#1432).
- β¨ Enhance the cluster resource type a bit
Makes it easier to use cluster resource on GKE. (#1466)
- β¨ TaskRunStatus includes sidecar status
The status of a task run includes the image ids of all sidecars. (#1515)
- β¨ git-init: add support for fetching submodules π
git-init
(thus GitResource
) will now init and update submodules recursively by default (#1531)
- β¨ Migrate PullRequestResource to go-scm.
Updates Pull Request resource to use go-scm. This is the first step towards extending the PullRequest resource to other SCM providers (e.g. GitLab) (#1521)
- β¨ Only make a PVC for a PipelineRun if we need to. ποΈ
PVCs for output -> input linking will now be created only when that linking is actually present in a Pipeline, fixing #937 (used to be created for all Pipelines that included any Task with an Output). (#1545)
Deprecation Notices
- π¨ Change the path used by the image digest exporter to the standard output path structure.
Image index.json files are now expected to be written to /workspace/output/ instead of /builder/home/image-outputs. The old location is still supported, but support for this will be removed in a future release (#1467).
- π¨ Remove the custom "name" parameter from cluster resources.
The 'name' parameter to the cluster resource is now deprecated. Please use the standard name parameter on the Task Resource binding instead. (#1474)
- π¨ Point $HOME to /tekton/home
Change $HOME to /tekton/home
/builder/home is still provided, backed by the same volume, but will be removed in a future release(#1628)
Backwards incompatible changes
In current release:
- π¨ Remove deprecated serviceAccount field from *Run π³
Remove deprecated serviceAccount field from TaskRun/PipelineRun in favor of serviceAccountName.
serviceAccount
was deprecated in v0.8.0. serviceAccountName
is supported starting v0.8.0 (#1618)
- π¨ Remove cmd/bash image
This is not strictly speaking an backward incompatible change, since the bash image was not part of the API.
Marking it here in case anyone depend on that image.
Use busybox directly to invoke shell commands in support of internal operations, instead of our own wrapper around busybox. (#1503)
- π¨ Remove cmd/gsutil image
This is not strictly speaking an backward incompatible change, since the gsutil image was not part of the API.
Marking it here in case anyone depend on that image.
Use google/cloud-sdk directly to invoke gsutil in support of internal operations, instead of our own wrapper around that image. (#1504)
- π¨ Remove cmd/nop
This is not strictly speaking an backward incompatible change, since the nop image was not part of the API.
Marking it here in case anyone depend on that image.
Use tianon/true instead of cmd/nop (#1510)
- π¨ Remove
outputImageDir
from the API
outputImageDir
is not supported anymore (#1467)
- π¨ GCS Resource now requires explicit auth
Users must now call gcloud auth activate-service-account --key-file $GOOGLE_APPLICATION_CREDENTIALS
before attempting to use a GCS resource that requires authentication.
Fixes
- π Have cmd/bash image actually use bash (#1446)
- π Randomly generate script heredoc to prevent collisions (#1453)
- π Fix 1059 - TaskRun controller update status and labels on error (#1204)
- π Replace ValidateFrom with pipelineSpec.Validate (#1452)
- π Add validation when applying task modifiers π§ (#1479)
- If the implementation of a PipelineResource tries to add steps or volumes that already exist, execution will fail before the pod is created.
- π Exit with a non-zero exit code when we skip a command in the entrypointer (#1501)
- Steps now exit with an exit code of 1 if they are skipped because a previous step failed.
- π Stop race condition on cloud event YAML test (#1517)
- π Disable colour in tkn logs (#1525)
- π Re-add support for github auth from the GITHUB_TOKEN env variable. (#1556)
- π Apply param replacements in step scripts (#1562)
- π Fix potential bug caught by gobugs (#1588)
- π Readd mounting volumes in workingdir (#1609)
- Fix workingdir-init to mount the volumes when starting the initContainer.
- π Align pull request resource and pullrequest-init (#1615)
- π Fix issue: Params in multiple condition of one task will be overwrite (#1620)
- π Fix incorrect logic in output resource handling (#1491)
- π Support stepTemplate alongside script mode (#1653)
[Fill list here]
Misc
- π¨ Update prerelease-check task name to be "checks" (#1449)
- π¨ Bump knative.dev/pkg to 528ad1c π₯ (#1412)
- π¨ Nightly release on latest tekton (#1422)
- π¨ Remove test/logs helper binary in favor of tkn β (#1414)
- π¨ Bump plumbing to latest version (#1465)
- π¨ Update golang to 1.13 version (#1320)
- π¨ Make cmp.Diff want vs got usage clear π° (#1480)
- π¨ Add support for release-postprocessing (#1457)
- π¨ Make ResourceRef in PipelineResourceBinding consistent with TaskRun (#1497)
- π¨ Make sure required PVC is created in reconciler test πΆ (#1482)
- π¨ Small e2e tests refactoring (#1505)
- π¨ Make PipelineSpec/PipelineRef in PipelineRun consistent with TaskRun (#1495)
- π¨ types: group vars πΌ (#1528)
- π¨ Tag published images (#1502)
- π¨ Reduce the number of github status updates. (#1537)
- π¨ Publish tag follow up (#1536)
- π¨ Make TestKanikoTaskRun more portable (#1516)
- π¨ Linting yamls with yamllint π· (#1544)
- π¨ Add securityContext to run as root for kaniko example π€ (#1560)
- π¨ Kaniko test follow up (#1558)
- π¨ Make kanikotest skip on environment using scc (#1563)
- π¨ Update the kaniko executor image version to 0.14.0 (#1564)
- π¨ Bump plumbing to latest changes π (#1566)
- π¨ Move Validatable/Defaultable interface checks out (#1571)
- π¨ Update to Kubernetes 1.13.4 libraries (#1572)
- π¨ Add kube client oidc authentication support for testing (#1577)
- π¨ Make sure v1alpha1.Condition satisfy webhook.GenericCRD β (#1580)
- π¨ Do not hardcode APIVersion in GetTaskRunRef πΌ (#1579)
- π¨ Preparation work to setup a v1alpha2 API version:
- π¨ Add Terminated, Running, and Waiting Container States to Test Builder (#1591)
- π¨ Fix nightly (and non-nightly) release Task and Pipeline πΌ (#1593)
- π¨ Move GetPod from pod.go to taskrun.go (#1595)
- π¨ Move working dir initialization out to pkg/pod/ (#1596)
- π¨ Move creds-init to pkg/pod (#1599)
- π¨ Increase linter timeout to 5m (#1613)
- π¨ Simplify and split apart MakePod
- π¨ Fix a gocritic lint issue: use switch instead of ifelse π (#1634)
[Fill list here]
Docs
- π Add a link to the 0.8.0 docs from README.md (#1447)
- π Fix a link 0.7 to 0.8 docs from README.md (#1451)
- π Update README with dogfooding cluster in place of prow (#1448)
- π Fix little typo (#1444)
- π Add link to step script in tasks.md (#1462)
- π Improve PipelineRun documentation (#1456)
- π Improve PipelineResource documentation (#1472)
- π Add a section to the docs on how to debug tasks. (#1470)
- π Make some docs a smidge more readable π (#1477)
- π Update Tutorial (#1475)
- π Document bug with sidecar usage of nop image (#1464)
- π Add and fix various docstrings and comments βοΈ (#1478)
- π Start using embedded resources in task examples (#1488)
- π Correct and refine the document of task debugging (#1487)
- π Fix output/input resource issue in docs. (#1492)
- π Update resources.md (#1506)
- π Fix Pull Request resource example file structure (#1532)
- π Added s3 bucket configuration doc/example (#1533)
- π Fix typo in cloud event resources documentation (#1540)
- π Add link to docs on how to run a local registry (#1598)
- π Document odd kubectl get output for pods w/ sidecars (#1600)
- π Add an example that demonstrates waiting for a sidecar to become Ready (#1622)
- π Update some simple examples to use script mode (#1469)
- π Fix tiny typo (#1658)
- π Add versioned links to docs and examples for v0.9.0 (#1660)
[Fill list here]
Thanks
Thanks to these contributors who contributed to v0.9.0!
- β€οΈ @imjasonh
- β€οΈ @adshmh
- β€οΈ @afrittoli
- β€οΈ @bobcatfish
- β€οΈ @chmouel
- β€οΈ @danielhelfand
- β€οΈ @dibyom
- β€οΈ @dlorenc
- β€οΈ @eddycharly
- β€οΈ @fraenkel
- β€οΈ @guillaumebreton
- β€οΈ @jonjohnsonjr
- β€οΈ @piyush-garg
- β€οΈ @sbwsg
- β€οΈ @thinkerou
- β€οΈ @tomfrenken
- β€οΈ @vdemeester
- β€οΈ @vincent-pli
- β€οΈ @withlin
- β€οΈ @wlynch
- β€οΈ @zhangtbj
Extra shout-out for awesome release notes:
- π @imjasonh
- π @bobcatfish
- π @dlorenc
- π @fraenkel
- π @vdemeester
- π @chmouel