Releases: openshift-pipelines/pipelines-as-code
v0.28.0
Pipelines as Code version v0.28.0
OpenShift Pipelines as Code v0.28.0 has been released 🥳
This is a major release with new features and usual bugfix and refactoring.
- Enhanced
pipelines_as_code_pipelinerun_count
metric counter to enable filteration of PipelineRun count by Repository or Namespace. PR - Setting Controller, Webhook and Watcher Deployments securityContext readOnlyRootFilesystem to true
to increase the security and to avoid being flagged by the security scanner. PR - Fix of multiple blocker issues related to global repository functionality. PR-1742, PR-1745 and PR-1753
- Redesign and Enhancement of PAC Resolver to cover few scenarios like PR
- PAC will not resolve Pipelines unnecessarily which are not part of the PipelineRuns filtered for the event
- Now you can use different version of same Task in different PipelineRuns/Pipelines.
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.28.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.28.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-28-0.pipelines-as-code.pages.dev
Changelog
- b2d646f: .github/workflows: small "step" name fix… (#1737) (@vdemeester)
- 5173774: Add E2E tests to test error reporting on UI for invalid PR Yaml (@zakisk)
- a501969: Add repository and namespace tags to PipelineRun count metric (@zakisk)
- 6f16e11: Add stepactions e2e test (@chmouel)
- 196d736: Bump Pipeline to v0.62.3 (@savitaashture)
- 0d10037: Bump Pipelines to v0.62.1 and Gitea to v1.22.1 (#1749) (@savitaashture)
- e0d2f45: Bump docker/build-push-action from 6.1.0 to 6.5.0 (@dependabot[bot])
- edf5788: Bump docker/build-push-action from 6.5.0 to 6.6.1 (@dependabot[bot])
- eb42954: Bump docker/build-push-action from 6.6.1 to 6.7.0 (@dependabot[bot])
- a44838e: Bump docker/login-action from 3.2.0 to 3.3.0 (@dependabot[bot])
- 27b72c7: Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (@dependabot[bot])
- 7bb525f: Fix 503 http error when handling incoming webhook requests (#1747) (@enarha)
- 2d465fe: Fix PAC watcher panic when concurrency_limit is set ( <>)
- 77e61ea: Fix empty secret namespace issue in reconciler (@zakisk)
- d56bd5e: Fix goreleaser issue (@savitaashture)
- 8b75702: Fix vale config file according to latest version (@piyush-garg)
- 7c9970d: Fix vale config file according to latest version (@piyush-garg)
- d87fe97: Redesign PAC Resolver (@piyush-garg)
- 5c88f74: Set readOnlyRootFilesystem as true for PAC resources (#1756) (@savitaashture)
- bba037c: Update PVC storage to 3Gi (@savitaashture)
- 67b4705: Update golangci.yml to latest (@chmouel)
- f530d14: Update to latest go-gitlab and go-github (@chmouel)
- d6b0103: Update vendor dependencies to latest (@chmouel)
- 9ca0a1a: feat: Improve lang detection and update templates (@chmouel)
- 03fcbc7: fix: controller crash when provenance is set only on the global repo (@savitaashture)
- 763b96a: use python-312 (@chmouel)
- 9bf2293: vale rules update (@chmouel)
v0.27.2
Pipelines as Code version v0.27.2
OpenShift Pipelines as Code v0.27.2 has been released 🥳
This minor release address mainly a regression on the {{ event_type }}
variable which was previously changed to different type of comments depending of the gitops comment (for example retest-all would be set when the user issue a /retest) it is now reply as before to {{ pull_request }}
to not break pipelinerun who were relying on it.
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.27.2/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.27.2/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-27-2.pipelines-as-code.pages.dev
Changelog
- b466ac7: Add log for TestGHPullRequestConcurrencyMultiplePR (@chmouel)
- 4f338ba: Bump docker/build-push-action from 5.4.0 to 6.0.0 (@dependabot[bot])
- dc5b23e: Bump docker/build-push-action from 6.0.0 to 6.1.0 (@dependabot[bot])
- 7bd9ed0: Bump github.com/hashicorp/go-retryablehttp from 0.7.5 to 0.7.7 (@dependabot[bot])
- 8b04645: Bump ko-build/setup-ko from 0.6 to 0.7 (@dependabot[bot])
- afeee53: Implement GetTaskURI for GitLab provider (@chmouel)
- d149fa8: Replace deprecated GetMergeRequestChanges function ( <>)
- 35d7f7c: Tweak the non-matching pipelinerun test (@enarha)
- 639d92c: Update resolver.md (@yuzp1996)
- 24cc9ce: feat(docs): use /dev/random for generating secrets (@chmouel)
- f80c589: feat: Allow non-admin users to get install info (@chmouel)
- 7663fb1: fix: Correct event-type setting for on-comment prs (@chmouel)
- be424e4: fix: Revert GitOps event_type to pull_request (@chmouel)
- 9cd8ba8: move to upstream ruff image (@chmouel)
- 5fb31b5: update goreleaser to version 2 (@chmouel)
v0.27.1
Pipelines as Code version v0.27.1
OpenShift Pipelines as Code v0.27.1 has been released 🥳
This is a minor release addressing issues for the v0.27.0 which targets the OpenShift Pipelines 1.5.x release.
Bugfixes
- 721ea87: Fix 404 error for GitLab provider (@savitaashture)
- ac44a7c: Fix GH installation match verification (@enarha)
- 37e085b: Fix tkn-pac issue GitHub App name with quote fails (@enarha)
- 225cd25: Make sure to check if we can make API calls (@chmouel)
- 9dcbe19: Fix secret generation issue when GitOps comments are executed on commits (@savitaashture)
- 17aae4b: Refactor configutil and fix bug with catalog parsing (@piyush-garg)
- 51cfb93: do not use map to update console struct (@chmouel)
- 6d4be45: sync 'error-detection-simple-regexp' default value (@jkandasa)
Additions
- 789342d: Expose source URL and branch via annotation (@MartinBasti)
Misc
- eaba6fe: Add test for when concurrency and startPR error (@chmouel)
- e505fa6: Bump docker/build-push-action from 5.3.0 to 5.4.0 (@dependabot[bot])
- 4ebd181: Bump docker/login-action from 3.1.0 to 3.2.0 (@dependabot[bot])
- 3d1efd5: Bump jaxxstorm/action-install-gh-release from 1.11.0 to 1.12.0 (@dependabot[bot])
- 562cddf: Extract the slack notification to a stepaction (@chmouel)
- 35e3307: Fix golangci lint error (@chmouel)
- 50140f6: Pre-commit update (@chmouel)
- 7567b96: Vale rules update (@chmouel)
- 3f9bcd0: feat(cel): Add unittests for CEL package (@chmouel)
- 0e97e1d: fix code spelling (@chmouel)
- 1c020a8: fix goreleaser (@chmouel)
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.27.1/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.27.1/release.k8s.yaml
Documentation
The documentation for this release is available here :
v0.24.7
Pipelines as Code version v0.24.7
OpenShift Pipelines as Code v0.24.7 has been released 🥳
This minor release fix an Pipelines-as-code controlelr crash when using concurrency if a PipelineRun could not be created and reported as error by the Tekton controller.
Jira: https://issues.redhat.com/browse/SRVKP-5496
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.24.7/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.24.7/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-24-7.pipelines-as-code.pages.dev
Changelog
- 365b061: Add test for when concurrency and startPR error (@chmouel)
- 7d026f4: Fix codespell linter error (@chmouel)
- c6fc148: Release yaml generated from b472b7a for release v0.24.6 ( <>)
- fa5c20d: Update sort package to latest & adds nil check for PRun before sorting (@sm43)
- edab9bf: fix code spelling (@chmouel)
v0.27.0
Pipelines as Code version v0.27.0
OpenShift Pipelines as Code v0.27.0 has been released 🥳
This is a major release with new features and usual bugfix and refactoring.
- Add support for global repository as a fallback to other repository
setting. Doc - PR Jira SRVKP-4425 SRVKP-4069 - Add a subset support for OWNERS_ALIASES Doc - PR Jira SRVKP-3251
- Fix a panic in the watcher panic with pending runs, concurrency not set PR - Jira SRVKP-4499
- Our dogfooding Pipelines-as-Code cluster is now running Arm64 and is now nightly tested on this platform and we are now using stepactions and tekton-caches for our internal caching (see our tekton directory for examples)
- Fix checkrun status issue PR
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.27.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.27.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-27-0.pipelines-as-code.pages.dev
Changelog
- 41927c2: Add new slack notification task (@chmouel)
- a806fee: Add support for OWNERS_ALIASES (#1668) (@enarha)
- 931c336: Disable execinquery linter (@chmouel)
- de3ce9b: Fix checkrun status issue (@savitaashture)
- 9493299: Fix codecov uploading for go tekton pipeline (@chmouel)
- ffc9e81: Fix documentation doublons (@chmouel)
- 44e735e: Fix tkn pac generate when no git remote url (@chmouel)
- b204245: Generate nightly on arm64 as well (@chmouel)
- fda67be: Generate nightly on arm64 as well (@chmouel)
- bb1ea27: Make sure to use GitOps instead of GitOPS (@chmouel)
- c00a212: Properly scope the cache for each image build (@chmouel)
- ce7a1d4: Update hugo-book theme (@chmouel)
- 9d1a018: Use arm64 images across (@chmouel)
- 16596b4: [Feature] Introduce global repository setting (@chmouel)
- 9437ba0: add blog post for osp 1.15 (@chmouel)
- 192184c: don't check for init function in resolve.go (@chmouel)
- a299120: fix codecov again (@chmouel)
- 7eee8f0: fix codecov on generate-coverage-release (@chmouel)
- cdf4a69: fix github link to be permanent (@chmouel)
- e8a2251: fix reChangedFilesTags regex (@chmouel)
- 6c8f99f: remove e2e-tests PipelineRun (@chmouel)
- 6fedb30: use tekton-cache for caching and stepactions (@chmouel)
- 85a14cd: watcher panic with pending runs, concurrency not set (@gabemontero)
v0.24.6
Pipelines as Code version v0.24.6
OpenShift Pipelines as Code v0.24.6 has been released 🥳
This is a minor release fixing a panic in the watcher panic with pending runs, concurrency not set PR Jira
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.24.6/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.24.6/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-24-6.pipelines-as-code.pages.dev
Changelog
- bbc987c: Move to aarch64 (@chmouel)
- acc3e2d: Release yaml generated from 53e8d73 for release v0.24.5 (@)
- fca09b0: Remove deprecated deadline option from go-lint (@chmouel)
- b472b7a: add golangci-lint errcheck warning (@chmouel)
- 00b83ad: watcher panic with pending runs, concurrency not set (@gabemontero)
v0.26.0
Pipelines as Code version v0.26.0
OpenShift Pipelines as Code v0.26.0 has been released 🥳
This is a major release with major new changes:
-
Passing arguments to /test, /retest or gitops comments. You can now pass argument as key/value to the gitops commands to let you redefined the standard params or custom params. PR Doc
2parameters-as-args.mp4
-
ConfigMap is now getting watched on changse instead of read every time on every requests, which should generate less loads on the cluster PR
-
Pipelines-as-Code random entropy has now increased from 4 to 6 which should avoid name conflicts when there is a lot of pipelineruns PR
-
Validation Error of a PipelineRuns are now reported properly to the events stream of the user PR
-
When there is a initial failure with Pipelines as Code when for example there is an issue with the cluster, the error was previously left after doing a /retest until we update the PR with a new SHA, this now should get cleared PR
-
When we were doing gitops commands (like /test /retest or others) we were previously acting on deleted comments, we are now only acting on newly created comment PR
-
A lot of refactoring under the hood to make the code a bit more optimised.
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.26.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.26.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-26-0.pipelines-as-code.pages.dev
Changelog
- bf0a99c: Add doc for passing arguments to GitOps commands (@chmouel)
- 755cbbd: Add e2e for pass-arguments-to-gitops-comments (@chmouel)
- d9750b2: Adds configutils package to validate and assign config (@sm43)
- 5ecb9ea: Cleanup unused code (@sm43)
- 25443d2: Console UI: define a copy of pacopts instead from run (@sm43)
- 77935d3: Custom Console ui: removes SetPacInfo func with a NewCustomConsole (@sm43)
- 9e41b50: Do not run e2e tests as unit tests (@chmouel)
- 2e6478a: Filter some of the noises from the logs (@chmouel)
- df22211: Fix e2e tag for gitops_commands_test file (@savitaashture)
- 6ca12e7: Fix matching proper PipelineRun with /test (@chmouel)
- d87b05f: Fix some links in the documentation (@chmouel)
- b69cf31: Fixes pacopts pointer usage in reconciler (@sm43)
- 318d7e3: Fixes race condition for accessing info.pacopts (@sm43)
- 8f18421: Fixes setting pacopts for detected provider while starting from queue (@sm43)
- 9237056: Increase the entropy in generated pac secrets (@chmouel)
- 28178ab: Make sure we get the oldest repository (@chmouel)
- ca26fcb: Move consoleui inside a lock since its based on dynamic config (@sm43)
- e1942e2: Only act on events for newly created comments (@chmouel)
- d568d99: Puts a mutex lock in ConfigToSettings to avoid race condition (@sm43)
- d291f32: Refactor info/pacopts: init params run with default values (@sm43)
- 0b91ecd: Refactors configure repo: moves config check inside provider pkg (@sm43)
- 655c751: Report tekton yaml validation error to the user (@chmouel)
- 1fe9f45: Resolve inconsistent status of a PipelineRun after a failure (@savitaashture)
- 459a40b: Setup pac config syncer (#1662) (@sm43)
- 2053951: Skips using Info.Pac and switch to GetPacOpts (@sm43)
- 6a90a1b: Switch PacOpts to a pointer (@sm43)
- bcfd5e9: Switch sinker, match, pipelineascode to use pacopts copy (@sm43)
- 59881f6: Switch to using GetPacInfo for pacopts (@sm43)
- 230cdfe: Update all dependencies (@chmouel)
- 2b6614a: Update providers to use a copy of pacopts (@sm43)
- e553256: Update sort package to latest & adds nil check for PRun before sorting (@sm43)
- 19f33c3: Use debug instead of info when we are skiping the doublons (@chmouel)
- cad06ec: Use pacopts from provider instead of run (@sm43)
- f10ee61: add golangci-lint errcheck warning (@chmouel)
- c703cd8: fix TestGithubPushRequestGitOpsCommentCancel (@chmouel)
- 3274759: github.provider.token, cache github.ListRepos (@chmouel)
- 9aeb4b2: increase pvc size (@chmouel)
- 28cbb70: move to golang official image from dockerhub (@chmouel)
- 39e9eee: pass arguments as parameters to gitops comments (@chmouel)
- c684849: report error to slack when running e2e on nightly (@chmouel)
- 32a8ddf: report only scheduled runs to slack (@chmouel)
- d1dbd12: try to fix documentation for cloudfare docs (@chmouel)
v0.25.0
Pipelines as Code version v0.25.0
OpenShift Pipelines as Code v0.25.0 has been released 🥳
- Add on-comment annotation to match PipelineRun to a comment - PR Doc
- Add support to run a /test of a PipelineRun without having the need to have a event match PR Doc
- Multiple fixes when using a concurrency with a max-keep-runs annotations fixes
- We are now checking for yaml errors in PipelineRuns and report it to the Checks interface PR
- Use v1 URLS for Openshift Console driver PR
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.25.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.25.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-25-0.pipelines-as-code.pages.dev
Changelog
- 55cfb7f: Add e2e tests for incoming webhook on GHE/Webhook (@chmouel)
- 57966d5: Add kind along with the tekton resource name (@savitaashture)
- f367c9f: Add on-comment annotation to match PipelineRun (@chmouel)
- 5c91a98: Add support for GitOPS comments with GitHub webhook (@chmouel)
- 5e4489d: Add support to run PR without an event matching (@chmouel)
- b0fda10: Better error message when we don't have a match (@chmouel)
- a329810: Bump docker/build-push-action from 5.1.0 to 5.2.0 (@dependabot[bot])
- 2ccd5a5: Bump docker/build-push-action from 5.2.0 to 5.3.0 (@dependabot[bot])
- aa074c3: Bump docker/login-action from 3.0.0 to 3.1.0 (@dependabot[bot])
- 281c02a: Bump github.com/cloudevents/sdk-go/v2 from 2.15.1 to 2.15.2 (@dependabot[bot])
- 2e54362: Bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3 (@dependabot[bot])
- 35c3be6: Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (@dependabot[bot])
- 61f880a: Bump jaxxstorm/action-install-gh-release from 1.10.0 to 1.11.0 (@dependabot[bot])
- 5fc22de: Cleanup by removing labels from pipelinerun (@savitaashture)
- 576b137: Correct typo (@avinashsingh77)
- 9556419: Don't try to cleanup Pending PipelineRuns (@chmouel)
- 226781a: Fix TestGithubSecondPullRequestConcurrency test (@chmouel)
- 63c761d: Fix all revive errors (@chmouel)
- 1799bf6: Fix dockerfile (@chmouel)
- 8bfeac7: Fix metrics emission for GitHubApp Enterprise (@savitaashture)
- c14c6d6: Fix release pipeline for wrong version (@piyush-garg)
- 50cb248: Fix selecting non completed pipelineRun on cleanup (@chmouel)
- cf07000: Gitlab: Fix posting prun status on GitOPS comments (@chmouel)
- aaf2da9: Improve e2e-tests on GH concurrency (@chmouel)
- 2edc2eb: Improve ghcr image push workflow (@piyush-garg)
- 728357a: Improve multiarch image push workflow on release (@piyush-garg)
- e4b2619: Install ko/gosmee from actions (@chmouel)
- efedf88: Move all comments logic to a separate package (@chmouel)
- 67a88c3: Move everything to use the TriggerType type (@chmouel)
- 4dddcf5: Only cleanups PRs after reconciliation (@chmouel)
- 2bf091e: Only fetch controller info if pr is not done (@chmouel)
- c6ff899: Pass task metadata annotations to the embedded task (@chmouel)
- 614d271: Print friendly error message on bad detected yaml (@chmouel)
- 3e2878f: Redirect docs.pipelinesascode.com to latest (@chmouel)
- 6b314ca: Remove deprecated deadline option from go-lint (@chmouel)
- 962b930: Remove detection of old basic auth secret (@chmouel)
- da5cda0: Remove golangci-lint builtin and uses make lint (@chmouel)
- b30bd22: Reorganize the GitHub test (@chmouel)
- de31018: Revert "Add support for GitOPS comments with GitHub webhook" (@savitaashture)
- 803b25f: Split trigger_comment variable to a single line (@chmouel)
- ca75e4d: Update all dependencies (@chmouel)
- 548c5bb: Use local binary for shellcheck (@chmouel)
- 71531ea: Use v1 for openshift console url (@chmouel)
- 1be9510: add ingress when deploying second controller (@chmouel)
- ba3f444: don't show noops event in nomatch (@chmouel)
- 66ff06f: e2e: Increase the number of controller logs lines (@chmouel)
- 75bc53f: e2e: separate cancel and retest GitOPS comments test (@chmouel)
- 2605f1e: error when installing pac on existing (@chmouel)
- 32e5429: fix TestGithubSecondPullRequestConcurrency count (@chmouel)
- f32eb1e: fix race conditions on pr concurrency (@chmouel)
- 7c93890: fix some linter errors (@chmouel)
- 512aa4e: fixes yaml examples and some typos (@chmouel)
- ddb573f: make target-branch a regexp (@chmouel)
- b4321b9: remove actions/cache from kind-e2e-tests.yaml (@chmouel)
- 8eb9454: setup concurrency tests on ghe (@chmouel)
v0.24.5
Pipelines as Code version v0.24.5
OpenShift Pipelines as Code v0.24.5 has been released 🥳
This release fix emission of metrics for GitHub Enterprise
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.24.5/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.24.5/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-24-5.pipelines-as-code.pages.dev
Changelog
- 53e8d73: Fix metrics emission for GitHubApp Enterprise (@savitaashture)
- ee28faa: Release yaml generated from f9139fa for release v0.24.4 (@)
v0.24.4
Pipelines as Code version v0.24.4
OpenShift Pipelines as Code v0.24.4 has been released 🥳
This release fix another issue with regard to concurrency and PipelineRun cleanups, where the cleaner would be too eager to clean scheduled pipelineruns PR
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.24.4/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.24.4/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-24-4.pipelines-as-code.pages.dev