Releases: openshift-pipelines/pipelines-as-code
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)
v0.21.5
Pipelines as Code version v0.21.5
OpenShift Pipelines as Code v0.21.5 has been released 🥳
This minor release fixes multiple bugs:
-
Fix secret cleanup issue when pac performs a cleanup when max-keep-runs is exceeded
PR: #1487
-
Fix using git-clone clustertask when detected avail
We now detect cluster task by default (unless user set it to false) for the git-clone if available we use it. If not we use the hub task.
PR: #1478
-
Fix fetching oldest revision when there are multiple commits as part of the same push / tag for GitLab
PR: #1488
-
Fix special character escaping for repository name
PR: #1475
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.21.5/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.21.5/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-21-5.pipelines-as-code.pages.dev
Changelog
- e7edace: Fix secret cleanup issue (@savitaashture)
- 29cf1ad: Fix using gitclone clustertask when detected avail (@chmouel)
- 73b082a: Release yaml generated from 3216956 for release v0.21.4 (@)
- 1cae5c6: chore: add k8s resource name formatter (@vbelouso)
- 4e4c471: chore: repository name sanitizer (@vbelouso)
- e2a7999: fix(gitlab/webhooks): revision when there are multiple commits (@TheiLLeniumStudios)
v0.21.4
Pipelines as Code version v0.21.4
OpenShift Pipelines as Code v0.21.4 has been released 🥳
This is a minor release addressing a security issue on the github.com/grpc/grpc-go dependency:
- This addresses GHSA-qppj-fm5r-hxr3 by not allowing more server handlers to be run than the HTTP/2 MAX_CONCURRENT_STREAMS setting.
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.21.4/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.21.4/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-21-4.pipelines-as-code.pages.dev
Changelog
- 3216956: Bump tektoncd/pipeline and grpc (@piyush-garg)
v0.19.6
Pipelines as Code version v0.19.6
OpenShift Pipelines as Code v0.19.6 has been released 🥳
This is a minor release addressing a security issue on the github.com/grpc/grpc-go dependency:
- This addresses GHSA-qppj-fm5r-hxr3 by not allowing more server handlers to be run than the HTTP/2 MAX_CONCURRENT_STREAMS setting.
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.19.6/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.19.6/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-19-6.pipelines-as-code.pages.dev
Changelog
- ffcd0e5: Bump grpc to v1.56.3 (@piyush-garg)
- 4116001: Release yaml generated for pac release v0.19.5 on branch release-v0.19.x (@)
- c683abd: Release yaml generated for pac release v0.19.5 on branch release-v0.19.x (@)
- 5420645: Release yaml generated for pac release v0.19.5 on branch release-v0.19.x (@)
- 4578b04: Release yaml generated for pac release v0.19.5 on branch release-v0.19.x (@)
v0.17.7
Pipelines as Code version v0.17.7
OpenShift Pipelines as Code v0.17.7 has been released 🥳
This is a minor release addressing a security issue on the github.com/grpc/grpc-go dependency:
- This addresses GHSA-qppj-fm5r-hxr3 by not allowing more server handlers to be run than the HTTP/2 MAX_CONCURRENT_STREAMS setting.
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.17.7/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.17.7/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-17-7.pipelines-as-code.pages.dev
Changelog
- f05fd60: Bump tektoncd/pipeline and grpc (@piyush-garg)
v0.19.5
Pipelines as Code version v0.19.5
OpenShift Pipelines as Code v0.19.5 has been released 🥳
This is a minor release addressing a security issue on the golang.org/x/net dependency:
- HTTP/2 rapid reset can cause excessive work in net/http - commits
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.19.5/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.19.5/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-19-5.pipelines-as-code.pages.dev
Changelog
- 6d22d26: Bump golang.org/x/net from 0.8.0 to 0.17.0 (@piyush-garg)
- 659eabe: Bump images to go 1.19 (@piyush-garg)
- fdd6f68: Pin golangci-lint to v1.52.2 (@piyush-garg)
v0.17.6
Pipelines as Code version v0.17.6
OpenShift Pipelines as Code v0.17.6 has been released 🥳
This is a minor release addressing a security issue on the golang.org/x/net dependency:
- HTTP/2 rapid reset can cause excessive work in net/http - commits
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.17.6/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.17.6/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-17-6.pipelines-as-code.pages.dev
Changelog
- 57103cf: Bump golang.org/x/net from 0.7.0 to 0.17.0 (@piyush-garg)
- cd370ea: Pin golangci-lint to v1.52.2 (@piyush-garg)
v0.21.3
Pipelines as Code version v0.21.3
OpenShift Pipelines as Code v0.21.3 has been released 🥳
This is a minor release addressing a security issue on the golang.org/x/net dependency:
- HTTP/2 rapid reset can cause excessive work in net/http - commits
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.21.3/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.21.3/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-21-3.pipelines-as-code.pages.dev
Changelog
- d7df408: Bump golang.org/x/net from 0.14.0 to 0.17.0 (@dependabot[bot])
- ff98644: Release yaml generated from 26acc37 for release v0.21.2 (@)
v0.21.2
Pipelines as Code version v0.21.2
OpenShift Pipelines as Code v0.21.2 has been released 🥳
This minor release fixes multiple bugs:
-
Fallback to other ACL rules if the policy is set but fail to match user #1460
When policy is set and it did not match we were not falling back to other ACL
rules and we were not checking if the other ACL rules were matching (like
OWNERS file). -
Make sure the CustomConsole map is not nil before accessing it #1461
There is a case where SetParams when using CustomConsole is not called
before DetailURL which would crash the container that has been fixed
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.21.2/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.21.2/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-21-2.pipelines-as-code.pages.dev
Changelog
- 63fbe23: Add a helper tool to create gitea repo (@chmouel)
- ae3e406: Add displayName to generic task (@chmouel)
- e114245: Add ingress for gitea (@chmouel)
- 26acc37: Fallback to other ACL rules if the policy is set (@chmouel)
- 0bca432: Fix getting python file for Makefile target (@chmouel)
- 00da4d7: Fix golden for tkn pac generate (@chmouel)
- b342ab3: Fix spelling mistake with codespell (@chmouel)
- c780b38: Make sure the map is not nil before accessing it (@chmouel)
- f76aca3: some misc fixes for create-repo (@chmouel)
- 232c143: update images to latest go-toolset (@chmouel)
v0.21.1
Pipelines as Code version v0.21.1
OpenShift Pipelines as Code v0.21.1 has been released 🥳
This minor release fixes multiple bugs:
-
Gitlab: Only create prun when a MR update with push happen
We were creating a pipelinerun when an MR was updated for every event,
which mean every actions like adding labels or setting a status will
create a new PipelineRun.We only want it to get it kicked when it is created or reopen or when a
there is a commit push attached to that update.PR: #1432
-
Fix running /test as gitops Comment on specific pipelinerun
PR: #1434
-
Fix error when we have multiple PipelineRun with the same generateName
PR: #1446
-
Fix having multiple comment on the Git provider platforms (using webhook) method posted twice when there is concurrent operator running and updating the pipelinerun.
PR: #1434 -
More robust E2E tests and multiple fixes related to this.
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.21.1/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.21.1/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-21-1.pipelines-as-code.pages.dev
Changelog
- 59f43ba: Bump docker/build-push-action from 4.2.1 to 5.0.0 (@dependabot[bot])
- 8e81792: Bump docker/login-action from 2.2.0 to 3.0.0 (@dependabot[bot])
- 2d07c24: Bump docker/metadata-action from 4.6.0 to 5.0.0 (@dependabot[bot])
- 59acafd: Bump docker/setup-buildx-action from 2 to 3 (@dependabot[bot])
- ada19cb: Bump docker/setup-qemu-action from 2 to 3 (@dependabot[bot])
- 2117adf: Do checks if the pipeline run is the latest later (@chmouel)
- 4f75daf: Don't lint merge commits (@chmouel)
- 04b04ae: Fix E2E races and failures (@chmouel)
- b495656: Fix TestGetGitInfo unit test (@chmouel)
- 3efd1a3: Fix append issue to avoid duplication of pipelineruns (@savitaashture)
- c181181: Fix excluding the merge commit from gitlint (@chmouel)
- 31d1b65: Fix java template (@savitaashture)
- 1da7790: Fix the broken functionality of gitops comments for pull requests (@savitaashture)
- 0171235: Gitea: Make sure we check for the exact number of status (@chmouel)
- 496dfbc: Make sure we use the latest pipelinerun object (@chmouel)
- cbfac7e: Move scm.go out of gitea to its own package (@chmouel)
- f4272ca: Only create prun when a MR update with push happen (@chmouel)
- bfcce18: Really fix not linting merge commits (@chmouel)
- f057ff6: Revert "sleep between running tests" (@chmouel)
- 9aead6b: Reworded help messages with better english (@chmouel)
- 04a2fbd: Skip e2e changes the global ConfigMap for now (@chmouel)
- 47d66db: Tests: Don't cleanup tests when TEST_NOCLEANUP is set (@chmouel)
- 3bc01ac: Wait a bit more for the cleanup to happen (@chmouel)
- 0934337: [E2E Test] Fix wait.Success (@chmouel)
- 7c413fc: [Gitea E2e] Add more logs while looking for Comment (@chmouel)
- f697eeb: sleep between running tests (@chmouel)