Skip to content

v0.36.0

Compare
Choose a tag to compare
@osp-pac osp-pac released this 26 Jun 15:30
· 27 commits to main since this release
v0.36.0

Pipelines as Code version v0.36.0

OpenShift Pipelines as Code v0.36.0 has been released 🥳

Installation

To install this version you can install the release.yaml with kubectl for your platform :

Openshift

kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.36.0/release.yaml

Kubernetes

kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.36.0/release.k8s.yaml

Documentation

The documentation for this release is available here :

https://release-v0-36-0.pipelines-as-code.pages.dev

Changes since v0.35.1

🚀 Features & Enhancements

  • Kueue Integration: Pipelines-as-Code now natively reports PipelineRun status updates when integrated with the Kueue queuing system. #2120

  • Quieter Pull Requests: You can now disable status comments from PipelineRuns on GitHub pull requests to reduce noise. #2110

  • New Dynamic Variable: The {{ pull_request_number }} variable is now supported in push event triggers, making it easier to reference the original pull request. #2118

  • JSON Body Support: Incoming webhooks now support parameters provided in a JSON body. #2100

  • Direct PipelineRun Link: The initial "PipelineRun starting" comment now includes a direct link to the PipelineRun for easier access. #2114

🐛 Bug Fixes

  • on-path-change issue: Resolved an issue where the on-path-change annotation was not working correctly on pull request merge events in Bitbucket Data Center. #2145

  • No Commit in Payload: Empty commits in push events are now correctly invalidated in Bitbucket Data Center. #2138

  • GitLab Triggers: Fixed an issue on GitLab where pipelines could be triggered incorrectly on unsupported events. #2122

  • YAML Validation: Avoided reporting YAML syntax and validation errors for non-Tekton resources. #2147

  • YAML Error Formatting: Split long YAML validation error messages on push events for better readability. #2109

  • Stability Improvements: Added timeouts to the internal HTTP server, set stricter permissions on created directories, fixed handling of HTTP response body close errors, and corrected event types in logs for better provenance and debugging. #2116

🧹 Housekeeping & Chores

  • Test Coverage: Added new unit test cases for the GetCurrentControllerName function. #2107

  • Finalizer Naming: Updated the controller's finalizer name to be more explicit. #2099

  • Enhanced PR Mirroring: The script for mirroring external PRs has been significantly improved, with new functionality to update existing PRs, list and close them by their original state, and perform a dry run. #2125 #2142 #2144

  • GoReleaser Configuration: Migrated from the deprecated brews to the modern homebrew_casks configuration in GoReleaser. #2121

  • Audit Logging: For enhanced security, audit logging has been added to various clients within Pipelines-as-Code. #2127

📖 Documentation & Typos

  • CEL Expressions: Updated documentation to clarify the precedence of CEL expressions. #2119

  • YAML Validation Docs: Added clarification to the docs regarding YAML validation errors. #2135

Changelog

608c97b: Disable Github comments for pipeline start/end events to reduce PR noise (@PuneetPunamiya)
d2ac965: Revert "adding logs whenever client uses token which is security best practice" (@zakisk)
bca681c: Update privaterepo.md with missing colon (@fabriziosta)
9e37185: adding logs whenever client uses token which is security best practice (@mbpavan)
da83cb5: chore: Add test cases for GetCurrentControllerName (@zakisk)
67c2fb1: chore: Small typo in linters PipelineRun (@zakisk)
a0bcb6f: chore: Update controller finalizer name to include explicit part (@chmouel)
6aa79a5: chore: change scmclient to client in bibtucket dc (@zakisk)
f0e3411: chore: set environment variables for git execution (@chmouel)
6484b59: chore: update docs about CEL expression precedence (@zakisk)
8a4ed95: cleanup: remove redunant IsCancelComment func (@zakisk)
5a2151f: cleanup: removes unsupported enum values for Gitlab comment_strategy (@PuneetPunamiya)
eacd4ac: dcos: clarification about YAML validation error (@zakisk)
f07a394: feat(security): add audit logging to clients in pipelines-as-code (@mbpavan)
0c647e1: feat: Add JSON body support for incoming webhook parameters (@chmouel)
8dbb5f5: feat: Allow listing and closing mirrored PRs by original state (@chmouel)
b772b84: feat: Enable mirror script to update existing PRs (@chmouel)
ff0bf5d: feat: Enable updating existing mirrored pull requests (@chmouel)
1e99f6f: feat: Implement dry run functionality for mirror-pr script (@chmouel)
54151f7: feat: Implement script to mirror external PRs for E2E tests (@chmouel)
7e1d03c: feat: link to PipelineRun in Starting template (@aThorp96)
5dafa4a: feat: support PipelineRun running status reporting on Github with Kueue (@zakisk)
c05e765: feat: support pull_request_number variable on push events (@zakisk)
78eed25: fix(gitlab): trigger PipelineRun only on label change (@PuneetPunamiya)
6575e4d: fix: Improve Tekton gitlint step to list all failing commits (@chmouel)
6ba7b1e: fix: Set stricter permissions on created directories (@chmouel)
aa20b5b: fix: Split error message of yaml validation on push (@zakisk)
c4e24c5: fix: add timeouts to HTTP server (@chmouel)
46067b2: fix: avoid reporting errors for non-Tekton res (@chmouel)
002a60d: fix: handle response body close errors (@chmouel)
af3b914: fix: improve mirror-pr.sh script (@chmouel)
527ebbf: fix: inavlidate empty commits in push events in bitbucket dc (@zakisk)
f9fd3f3: fix: issue in on-path-change on pr merge in bitbucket data center (@zakisk)
313ace7: fix: migrate from brews to homebrew_casks in goreleaser (@zakisk)
445ab7e: fix: removed duplicate statement in overview page (@zakisk)
94e4bbd: fix: small typo in README.md (@zakisk)
640cb4f: fix: small typo in docs/install/setting.md (@infernus01)
d529a98: fix: small typo in test pipelinerun yaml (@zakisk)
1f9ba8c: fix: use correct event type in log in GetTektonDir func (@zakisk)
0e5b93c: foo (@chmouel)