v0.37.0
Pipelines as Code version v0.37.0
OpenShift Pipelines as Code v0.37.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.37.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.37.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-37-0.pipelines-as-code.pages.dev
Changes since v0.36.0
π Features & Enhancements
-
π Structured Logging: Structured logging now includes repository context for improved readability and debugging. (5949341)
-
ποΈ Artifact Hub Support: Support has been added for resolving tasks and pipelines from Artifact Hub. (5034528)
-
ποΈ Jira Integration: You can now create Jira tickets directly from pull request comments. (5e98945)
-
βοΈ Customizable CR Names: Added template support for customizing the names of auto-configured Repository CRs. (1ba08cf)
-
π Relative Task Resolution: Support has been added for fetching remote tasks using relative URLs. (8c752e3)
-
β οΈ CEL Error Reporting: Invalid CEL expression errors are now reported as comments directly on the pull request. (c0f65c7) -
π GitHub API Monitoring: Implemented intelligent monitoring and instrumentation for GitHub API calls in E2E tests. (15d764c, 8346f33, bc8e716)
-
π» Cursor IDE Rules: Comprehensive development and linting rules have been added for the Cursor IDE. (32e2093)
-
π§© Payload Parsing Enhancement: The ParsePayload function has been enhanced to use a more direct client function for API calls. (db0e832)
-
π§ͺ Improved Error Clarity: Error messages for commit info have been clarified and new tests have been added. (f3a73b4)
π Bug Fixes
-
π‘οΈ Webhook Secret Validation: A guard has been added to prevent a controller crash when checking webhook secrets for nil responses on GitHub. (e18edee)
-
π Concurrency Deadlock: A deadlock in the concurrency tryAcquire method has been prevented. (d1ea889)
-
π PipelineRun Annotation: The PipelineRun is now correctly annotated when the "started" status is reported. (a1d7e4e)
-
π€ Missing .tekton Directory: Fixed an issue where pull requests could remain in a 'pending' state indefinitely if the repository - was missing a .tekton directory. (846416e)
-
π€« YAML Validation Noise: Validation errors are no longer incorrectly reported for non-Tekton resources, reducing noise. (4f415fb)
-
πΊ Homebrew Packaging: Resolved issues with Homebrew packaging and updated the cask installation documentation. (ecd0637, 3639f67)
-
ποΈ Bitbucket DC Branch Deletion: Branch deletion events, which do not contain a commit SHA, are now correctly ignored to prevent processing errors. (7340740)
π§Ή Housekeeping & CI
-
π¦ E2E Test Triggers: E2E tests are now triggered more efficiently, running only when workflow files change and based on the author's association with the repository. (a5b9453, f120625)
-
β Commit Validation: Commit and pull request title validation in the CI has been improved and unified. (fe32890, ce23998)
-
π§ Git-Clone Task Path: The git-clone task location has been updated to its new canonical path. (0ad67b6)
-
β»οΈ Finalizer Naming: The controller's finalizer name has been updated to be more explicit. (a0bcb6f)
-
π Dependency Update: The jenkins-x/go-scm dependency has been updated to the latest version. (28a095f, 4ae3540)
-
π§Ό Code Cleanup: An unused ConvertPacStructToConfigMap function and its tests have been removed. (70eb7ba)
-
π Linter Fix: The noctx linter is now satisfied by using exec.CommandContext in the CI. (3e8fe4c)
-
π CI Python Image: The CI now uses a standard Python image to install ruff, improving portability. (cce78bb)
-
π Linter Naming Fix: A var-naming error from the revive linter has been fixed. (87df55c)
-
π₯ E2E Test Permissions: E2E tests can now be triggered by a wider range of trusted contributors. (633f025, 78a7418)
-
π·οΈ Event Type Refactor: The internal event type LabelUpdate has been refactored to the more descriptive pull_request_labeled. (fdd6549)
-
ποΈ Catalog ID Refactor: The default ArtifactHub catalog ID has been refactored to pacpipelines. (542f1a0)
-
π Documentation
ποΈ Jira Integration Docs: Added new documentation, guidelines, and templates for creating Jira issues. (e790bc0) -
π PR Template Update: The pull request template has been updated to include sections for dependencies and other details. (4888d6d, 098a2a0)
-
ποΈ Typo Fixes: Corrected various minor typos in documentation and warning messages. (bca681c, 9e43cbb, 52d6a16)
Changelog
- 5949341: Feat: structured logging with source repo context (#2165) (@infernus01)
- 4888d6d: Update .github/pull_request_template.md (@chmouel)
- f4b1be2: chore: Allow insensitive case for pr title (@chmouel)
- 9e43cbb: chore: Correct typos in warning and event messages (@chmouel)
- fe32890: chore: Improve commit and pull request title validation (@chmouel)
- e7a2b7b: chore: Make go-testing PipelineRun targeted by all branches (@zakisk)
- f120625: chore: Run E2E tests based on author association (@chmouel)
- 52d6a16: chore: Some minor typos in docs (@zakisk)
- 0ad67b6: chore: Update git-clone task location (@chmouel)
- 934dddc: chore: add PipelineRun status in logs when creating PipelineRun (@zakisk)
- 098a2a0: chore: add deps in pr template (@zakisk)
- 70eb7ba: chore: remove unused ConvertPacStructToConfigMap func and tests (@infernus01)
- a5b9453: chore: trigger E2E tests only on workflows change (@zakisk)
- ce23998: chore: update PR template and unify commit validation in CI (@chmouel)
- 28a095f: dep: update jenkins-x/go-scm version (@zakisk)
- 4ae3540: deps: update jenkins-x/go-scm version (@zakisk)
- db0e832: enhance: Use Client Function for API Call in ParsePayload (@zakisk)
- f3a73b4: enhance: clarify commit-info error & add tests for verifyRepoAndUser (@zakisk)
- e790bc0: feat: Add Jira issue creation guidelines and templates (@chmouel)
- 5e98945: feat: Add PipelineRun to create JIRA tickets via comments (@chmouel)
- 5034528: feat: Add support for Artifact Hub (@chmouel)
- 1ba08cf: feat: Add template support for auto-configured repository CR names (@zakisk)
- 32e2093: feat: Implement comprehensive development rules for Cursor (@chmouel)
- 15d764c: feat: Implement intelligent GH API call monitoring (@chmouel)
- 8346f33: feat: add instrumentation in e2e for GH API calls (@chmouel)
- bc8e716: feat: add instrumentation in e2e for GH API calls (@chmouel)
- 8c752e3: feat: add relative TaskRef fetching functionality (@martindbrv)
- c0f65c7: feat: report invalid CEL expression errors as PR comments (@zakisk)
- 7340740: fix(bitbucketdatacenter): ignore branch deletion events in ParsePayload (@infernus01)
- 87df55c: fix(ci): golangci-lint revive var-naming error in linters (@zakisk)
- 3e8fe4c: fix(ci): use exec.CommandContext to satisfy
noctx
linter (@zakisk) - e18edee: fix(github): guard checkWebhookSecretValidity against nil response (@zakisk)
- ecd0637: fix(homebrew): goreleaser issue and cask install doc (@dronenb)
- 633f025: fix: Allow contributors to trigger end-to-end tests (@chmouel)
- 78a7418: fix: Allow infernus01 to trigger E2E workflow (@chmouel)
- a1d7e4e: fix: Annotate PLR when when started status is reported (#2208) (@gbenhaim)
- 4f415fb: fix: Ignore non-Tekton resources errors reporting (@chmouel)
- 846416e: fix: Improve handling of missing .tekton directory for ok-to-test events (@zakisk)
- d1ea889: fix: Prevent deadlock in tryAcquire method (@chmouel)
- 3639f67: fix: homebrew packaging (@chmouel)
- c6fdb38: fix: skip pr title check for MIRRORED PR (@chmouel)
- cce78bb: fix: use python image to install ruff (@zakisk)
- fdd6549: refactor(triggertype): rename LabelUpdate to pull_request_labeled (@infernus01)
- 542f1a0: refactor: artifacthub catalog ID to pacpipelines (@chmouel)