v0.22.0
Pipelines as Code version v0.22.0
OpenShift Pipelines as Code v0.22.0 has been released 🥳
Changes
-
Support of remote task on remote Pipeline
- Pipelines as Code introduces the capability to add remote tasks on remote Pipeline, allowing to share a remote Pipeline across multiple repositories.Users can override tasks from the remote pipeline by adding a task with the same name.
- Doc: https://release-v0-22-0.pipelines-as-code.pages.dev/docs/guide/resolver/#overriding-tasks-from-a-remote-pipeline-on-a-pipelinerun
- Demo: https://youtu.be/PetZInZTbM8?si=4P6VoYnl_dSbMAjG
-
Pipelines as Code now enables access to the complete body and headers through the template variable, with CEL filtering available as a CEL expression.
-
Pipelines as Code now displays improved status messages, providing enhanced details that include both the Namespace and the associated PipelineRun.
-
Add GitOps comments functionality to push request
-
In Pipelines as Code, users can now include GitOps comments for commits on push requests, utilizing commands such as /test, /retest, and /cancel. The supported GitOps comments encompass:
- /test, /test branch:stable
- /retest, /retest branch:stable
- /cancel, /cancel branch:stable
- /test , /test branch:stable
- /retest , /retest branch:stable
- /cancel , /cancel branch:stable
-
Doc: test comments, cancel comments
-
Demos:
-
If a user specifies commands like /retest or /test without any argument in a comment on a branch, the test will automatically be performed on the main branch.
-
If the user includes a branch specification such as
/retest branch:test
or/test branch:test
, the test will be executed on the commit where the comment is located, with the context of thetest
branch.
-
-
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.22.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.22.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-22-0.pipelines-as-code.pages.dev
Changelog
- f2db9f7: Add GitOps comments functionality to push request (@savitaashture)
- e07e441: Add a better status message (@chmouel)
- efe8613: Add cel filtering for matching on body and headers (@chmouel)
- b9aaf90: Add ruff python linter (@chmouel)
- 8e9305f: Add support for body and headers in params (@chmouel)
- 0edaa50: Add support of remote task on remote Pipeline (@chmouel)
- df65bf3: Bump actions/checkout from 2 to 4 (@dependabot[bot])
- c0fd155: Bump golang.org/x/net from 0.14.0 to 0.17.0 (@dependabot[bot])
- d81b08e: Bump tektoncd/pipeline to v0.53.0 (@piyush-garg)
- 2a00049: Create codacy.yml (@chmouel)
- 081caff: Docs improvements and reorganization (@chmouel)
- 37ec9a9: Fix secret cleanup issue (@savitaashture)
- 33c9f63: Fix using gitclone clustertask when detected avail (@chmouel)
- 9569021: Make status message as templates (@chmouel)
- 6978c28: Redirect to the page on docs (@chmouel)
- 3e271fd: Remove 0.15.1 pin dependency (@chmouel)
- 03330fb: Remove codacy and add codeql (@chmouel)
- c499b22: Rephrase the getting started guide (@chmouel)
- 3ccb287: Update container images SHA256 to the latest (@chmouel)
- 8c59966: Update dependencies (@chmouel)
- adfd2fc: Update go-toolset to latest (@chmouel)
- 7f0f4f0: Update hugo-book to latest version (@chmouel)
- 1f1be2c: Use ruff in pre-commit (@chmouel)
- 6920760: chore: add k8s resource name formatter (@vbelouso)
- 48fe45f: chore: repository name sanitizer (@vbelouso)
- dd018a1: fix spelling mistake (@vbelouso)
- b8a129b: fix(gitlab/webhooks): revision when there are multiple commits (@TheiLLeniumStudios)
- f0b6fdd: pre-commit rule update (@chmouel)