Releases: openshift-pipelines/pipelines-as-code
v0.18.0
Pipelines as Code version v0.18.0
OpenShift Pipelines as Code patch version v0.18.0 has been released 🥳
Some of the major Features added to this version are:
- Support custom parameters on Repository CR Doc
- Add check suite support #1191
- Add 'tkn pac info install` command, to give you an overview of your install configuration and setup #1229
- Let user target a push or a incoming event for incoming webhook 2257276
- Enable error detection from container log enabled by default: #1209
- Error out if multiple pipelineruns with same name are found #1203
See the ChangeLog below for a more complete list of changes.
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.18.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.18.0/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 881bb8b: Add -f to pr logs command (@savitaashture)
- 73ee349: Add @sm43 to OWNERS file (@chmouel)
- 496b0dc: Add NO_COLOR to vale (@chmouel)
- 061f38c: Add check suite support for github provider (@chmouel)
- 3f72574: Add client side URL validation for Tekton Dashboard URL (@savitaashture)
- a393ddc: Add coverage via github workflow (@chmouel)
- cf22b58: Add information on 'tkn pac info' command for Pipelines as Code installation (@chmouel)
- e52bfa2: Add unit tests to info configmap (@savitaashture)
- bcdf0c5: Add unit tests to promt and status files (@savitaashture)
- 7558bd3: Always use latest ubi-minimal to build image (@chmouel)
- a49a9ab: Bump actions/setup-go from 3 to 4 (@dependabot[bot])
- 7aef575: Do not validate users when pull-request is from the same repository (@savitaashture)
- 4f79a68: Don't error out when repo is not found (@chmouel)
- 330f183: Don't show the secret content if we cannot create the secret (@chmouel)
- 881b184: Error out if multiple pipelineruns with same name are found (@sm43)
- 7130a67: Fix TestGiteaPullRequest e2e failure (@chmouel)
- 11337b9: Fix bad section for tkn pac logs (@chmouel)
- 9820da9: Fix custom console dashboard issue and added e2e (@savitaashture)
- 619ce45: Fix github user collaborator check (@pbrogan12)
- ceb66bf: Fix golangci-lint latest (@chmouel)
- 4c1dc1a: Fix label issue for original-prname (@savitaashture)
- d403fe3: Fix linter errors (@chmouel)
- af44809: Fix on-cel-expression used for event=push and target_branch=main (@savitaashture)
- fb7baad: Fix regexp for error reporting (@chmouel)
- d21cdd3: Let user target a push or a incoming event for incoming webhook (@chmouel)
- 6a61ac3: Make sure we clean the labels before creating the secrets. (@chmouel)
- 8eeca3f: Move pipelinerun labels to pipelinerun annotation (@savitaashture)
- ea46c2d: Not sure why GH_APPS_TOKEN is not working (@chmouel)
- 6a7aa10: Only run kind e2e on go and yaml changes (@chmouel)
- d6bb16e: Remove the gif easter egg (@chmouel)
- 4af49cf: Rephrase statuses documentation (@chmouel)
- 0e79399: Rephrase the Private Repositories documentation (@chmouel)
- 084bd5c: Report pipelinerun error properly (@chmouel)
- a99fdf5: Scope gitea e2e token to let do setup (@chmouel)
- 9c14eb6: Support custom params on CR (@chmouel)
- c2afeff: Sync vale to latest RHT rules or it will fails in CI (@chmouel)
- 5a63e6f: Update README.md (@chmouel)
- aae3394: Update all dependencies (@chmouel)
- 616b954: Update doc with another example on how to use the github token (@chmouel)
- c246338: Use a token that can post to pull request (@chmouel)
- 7ca41da: Use hook.pipelinesascode.com now, smee.io is not active anymore (@chmouel)
- dfef891: add fix-markdownlint makefile target (@chmouel)
- 8c80a7b: build images for arm64 architecture (@pbrogan12)
- 8c1bb96: cache docker image layers with builtins method (@chmouel)
- d97f318: document the fact that duplicate name are not allowed (@chmouel)
- 92f2de5: don't use git.io anymore (@chmouel)
- 61179d2: enable error detection from container logs on github apps by default (@chmouel)
- bd18d28: include -f into the code part or it will look weird (@chmouel)
- d4d18d3: make coverage difference in paac pipeline (@chmouel)
- a8048e9: make sure we access pull_request_target (@chmouel)
- b4c8bf0: make sure we access pull_request_target (@chmouel)
- 3440637: skip git test in coverage (@chmouel)
- 34660d7: trying to figure out why we cannot access secret (@chmouel)
- 04a38ee: use buildkit for building image (@chmouel)
- 00dd308: use default branch for kind-nightly (@chmouel)
v0.17.3
Pipelines as Code version v0.17.3
OpenShift Pipelines as Code patch version v0.17.3 has been released, see the changelog below for a list of bugfixes this releases bring.
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.3/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.17.3/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- b697a2c: Add -f to pr logs command (@savitaashture)
- c2ee473: Add client side URL validation for Tekton Dashboard URL (@savitaashture)
- 3832083: Backport fix to add scopes to user apps (@chmouel)
- c2eb938: Don't show the secret content if we cannot create the secret (@chmouel)
- 65f94d0: Fix TestGiteaPullRequest e2e failure (@chmouel)
- 8edc6a1: Fix label issue for original-prname (@savitaashture)
- 29786f2: Fix on-cel-expression used for event=push and target_branch=main (@savitaashture)
- 2ed5abb: Fix regexp for error reporting (@chmouel)
- 8601304: Remove the gif easter egg (@chmouel)
- a1e63ac: Report pipelinerun error properly (@chmouel)
- ec81dba: Scope gitea e2e token to let do setup (@chmouel)
- 7734988: Sync vale to latest RHT rules or it will fails in CI (@chmouel)
- 5403294: don't use git.io anymore (@chmouel)
- f7ad1a2: include -f into the code part or it will look weird (@chmouel)
v0.17.2
Pipelines as Code version v0.17.2
OpenShift Pipelines as Code patch version v0.17.2 has been released 🥳
This minor release fixes theses issues:
- Don't report error when the Repository CR is not found #1217 - Doc
- Error out if multiple pipelineruns with same name are found #1203 - Doc
- Fix Github collaborator check when you have more than 100 users #1187
- Fix custom console not working - #1216
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.2/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.17.2/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- ffeff4d: Don't error out when repo is not found (@chmouel)
- 7cadcea: Error out if multiple pipelineruns with same name are found (@sm43)
- 7888eee: Fix custom console dashboard issue and added e2e (@savitaashture)
- 66740a9: Fix github user collaborator check (@pbrogan12)
- 9825206: Fix golangci-lint latest (@chmouel)
- 2138a48: build images for arm64 architecture (@pbrogan12)
- 3fe959f: document the fact that duplicate name are not allowed (@chmouel)
v0.17.1
Pipelines as Code version v0.17.1
OpenShift Pipelines as Code patch version v0.17.1 has been released 🥳
This is a patch release on v0.17.1 with the following fixes:
- We are now properly detecting if there is a github app installation for tkn pac create repo and not ask for github webhook if it was globally installled. #1177
- We are now reporting properly the error when the PipelineRun could not get created. If there is an error on the PipelineRun and not on the tasks attached to the PipelineRun we used to not be able to report the failure properly. Now it should report properly on the Github Checks when there is an error. #1183
- We have clarified the error message when there is no match on a pipelinerun from the tekton dir #1174
- Let User bypass GH enteprise question in cli bootstrap github-app by respecting the github-auth-url switch #1184
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.1/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.17.1/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 4b1da61: Add label app.kubernetes.io/part-of while creating secret pipelines-as-code-secret (@savitaashture)
- a55fece: Added a check to watch on secret pipelines-as-code-secret to decide GithubApp or Webhook (@savitaashture)
- fe40c18: Fix tkn pac resolve (@chmouel)
- efab6ed: Let User bypass GH enteprise question in cli bootstrap github-app (@chmouel)
- e6a6804: Make sure coverage pipeline target the main branch (@chmouel)
- 6a68ddb: More helpful error message when we cannot find task/pipeline (@chmouel)
- b32c3e0: Properly report error when the PipelineRun could not get created (@chmouel)
- 2aef20f: Properly test resolve with golden output (@chmouel)
- bf32de0: Removed extra colon form provider pop up message (@savitaashture)
- a7a37a2: remove debug message which fill out logs (@chmouel)
v0.17.0
Pipelines as Code version v0.17.0
The latest version of Pipelines as Code, version v0.17.0, has been released 🥳
The main objective of this major release is to support the new Tekton v1 API, which means that Pipelines-as-Code is now compatible with Tekton v0.44 and higher. Although Pipelines-as-Code can still read PipelineRun and Tasks in the .tekton/ directory as v1beta1, it will generate v1 PipelineRun on the Cluster.
Moreover, a new feature has been added that allows users to configure a custom console/dashboard for links generated by Pipelines-as-Code. For more information on this, please refer to the Documentation and PR links provided.
In addition, the functionality of incoming webhooks has been improved. Now, there is no need for a Personal Token when using the Github App driver. As long as you have the Repo CR into the namespace matching the URL and an incoming webhook secret, Pipelines-as-Code will automatically generate temporary tokens for Github API operations. To see an example, please refer to the example provided in the documentation.
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.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.17.0/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 381bc0d: Add gitea e2e-test for secret hiding feature (@chmouel)
- c6ef106: Add test to cover ListRepos and fixed review comments (@savitaashture)
- 2ba2dbb: Add unit test for GetStatusFromTaskStatusOrFromAsking (@chmouel)
- 7a71a87: Added e2e test to verify Incoming for GithubApp (@savitaashture)
- 234e4aa: Added multi-arch support (@mayurwaghmode)
- 17691b4: Adjust the pac pipeline run on push (@chmouel)
- 1a68cb4: Bump docker/build-push-action from 3.3.0 to 4.0.0 (@dependabot[bot])
- 0227d0f: Bump golang.org/x/net from 0.5.0 to 0.7.0 (@dependabot[bot])
- e4331d3: Bump ravsamhq/notify-slack-action from 1 to 2 (@dependabot[bot])
- 5e8e41c: Detect properly PAC_DIR install (@chmouel)
- 461f329: Enhance incoming webhook for github apps (@savitaashture)
- c2efac6: Enhance incoming webhook for github apps (@savitaashture)
- a95dd0b: Fix gitea e2e test getting log of bad yaml (@chmouel)
- c5344a5: Fix issue related to repository URL if it contains at the end (@savitaashture)
- e2e1680: Fix pylint errors (@chmouel)
- 2b6f35a: Fix string comparision for ErrorDetectionSimpleRegexp (@savitaashture)
- c2bd1ce: Make sure we use upstream git-clone (@chmouel)
- 80f33a0: Makefile: replace /bin/bash to bash (@vdemeester)
- fdf873e: Migrate to tekton1 API (@chmouel)
- 2640e5c: Only execute the e2e tests on push (@chmouel)
- 59a9cd3: Rephrase introduction again (@chmouel)
- a9738ae: Revert "Migrate to tekton1 API" (@chmouel)
- 911c86e: Revert "Revert "Migrate to tekton1 API"" (@chmouel)
- c876c92: Separate slow e2e test to nightly (@chmouel)
- 7453774: Update documentation to reference the github token scoping (@chmouel)
- 7a6a982: Update pkg/consoleui/custom.go (@chmouel)
- 3a29358: Updated incoming webhook implementation as per the review comments (@savitaashture)
- 918f834: Use local gitea now (@chmouel)
- a496c54: add custom console driver (@chmouel)
- ac63160: don't set TEST_GITEA_INTERNAL_URL when using internal gitea (@chmouel)
- be2382b: more helpful error about which remote ressource has failed to be parsed (@chmouel)
- 88981ec: remove validation for now (@chmouel)
- d0f856e: use git-clone task (@chmouel)
- c9280cf: use the same groupname as other in secret creation (@chmouel)
v0.16.0
Pipelines as Code version v0.16.0
OpenShift Pipelines as Code patch version v0.16.0 has been released 🥳
This new release brings those fixes and additions :
- Gitea driver should now show the comments without the blank lines in a nicer way PR
- token expiration check with github webhook driver would sometime fail, it now handles multiples cases PR
- Reference to a Tekton Resolver task or pipeline is now skipped by Pac Resolver PR
- There is a new env variable
target_namespace
which expand to the currently running namespace where the pr is run #1127 - We are now suporting tekton pipeline 0.44.0 minimal status #1136
- We are now testing windows binaries of tkn-pac in our main pipeline via wine #1120
- We are now showing the right binary for tkn-pac or when using downstream binary opc #1119
- Multiple e2e tests and improvements
- Fix configmap watcher, watching changes properly when new changes happen on the pipelines-as-code configmap #1135
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.16.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.16.0/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- fdfc538: Add dependabot in OWNERS (@chmouel)
- c296401: Add target_namespace env variable (@chmouel)
- 7c0e744: Add wine target (@chmouel)
- 23216ee: Bump actions/checkout from 2 to 3 (@dependabot[bot])
- 53ed2b4: Don't try to gpgsign or it will fail (@chmouel)
- 7ae90c8: Fix StartingPipelineRunText and use tkn instead of tkn-pac for log (@chmouel)
- 3ebea9d: Fix WaitForSecretDeletion (@chmouel)
- 991c6de: Fix configmap watcher update issue (@savitaashture)
- 0c4a8af: Fix creating windows binaries (@chmouel)
- dc17721: Fix makefiel for windows (@chmouel)
- 6a51e0c: Make our own parsing for token expiration (@chmouel)
- 86884c6: Remove the replacing of the \n by
(@chmouel) - 86a9b60: Rephrase pipelines as code introduction (@chmouel)
- 24bfecf: Revert "install gosmee binary directly instead of using go install" (@chmouel)
- 088943d: Revert "set variable globally" (@chmouel)
- 02163b8: Separate go steps to its own out of pull-request (@chmouel)
- e74ab9b: Set CI to True in gorelease task (@chmouel)
- 39257a5: Skip Tekton Resolver types in PAC Resolver (@chmouel)
- e0ef370: Skip task step logs which say that it is skipped (@chmouel)
- 13e207a: Start completion from the git toplevel (@chmouel)
- eecfa6e: Support tekton-pipeline >=0 0.44.0 minimal status (@chmouel)
- 796afed: Tekton Dashboard release file has been renamed (@chmouel)
- 3c264ce: Update all go dependencies (@chmouel)
- 7fcb989: Update golang image (@chmouel)
- 3d81681: Update pkg/provider/github/github.go (@chmouel)
- 7f14c13: Update to latest pipeline version and deps (@chmouel)
- 85e7d56: add gitea E2E test to test log snippet (@chmouel)
- bcb8a6e: adjust regexp for TestGiteaRetestAfterPush (@chmouel)
- b6791d3: describe the new way of disabling pac from osp on 1.9 (@chmouel)
- 975f696: disable generate vendor for now (@chmouel)
- 8d1e567: fix exiting from task on ubi-micro (need to be from a script) (@chmouel)
- 2fc2a84: go 1.20 support (@chmouel)
- 5e31e0d: install gosmee binary directly instead of using go install (@chmouel)
- 493528f: let use something else than ko (@chmouel)
- 84acb8d: make sure we always processing error in namespace (@chmouel)
- 6a7f043: make the tkn binary name modular at compile time (@chmouel)
- 5e32bbb: renable ghcr again (@chmouel)
- 1697e58: rename templates name around (@chmouel)
- 9dac0ea: set variable globally (@chmouel)
- aa8ac28: some more cosmetics to show nicer gitea status breakdown (@chmouel)
- 6c042ef: tmate (@chmouel)
v0.15.5
Pipelines as Code version v0.15.5
OpenShift Pipelines as Code patch version v0.15.5 has been released 🥳
This release contains a fix for the configmap watcher which didn't get integrated in 0.15.4 from the main branch:
- Fix configmap watcher, watching changes properly when new changes happen on the pipelines-as-code configmap #1135
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.15.5/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.15.5/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 3c2ab03: Fix configmap watcher update issue (@savitaashture)
v0.15.4
Pipelines as Code version v0.15.4
Pipelines as Code patch version v0.15.4 has been released 🥳
Pipelines as Code 0.15.4 is a patch release for the release-0.15.x branch (tracked by openshift-pipelines 1.9.x). It contains the following fixes and additions :
- Gitea driver should now show the comments without the blank lines in a nicer way PR
- token expiration check with github webhook driver would sometime fail, it now handles multiples cases PR
- Reference to a Tekton Resolver task or pipeline is now skipped by Pac Resolver PR
- There is a new env variable
target_namespace
which expand to the currently running namespace where the pr is run #1127
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.15.4/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.15.4/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 670026e: Add target_namespace env variable (@chmouel)
- d2537d5: Don't try to gpgsign or it will fail (@chmouel)
- 86af737: Fix StartingPipelineRunText and use tkn instead of tkn-pac for log (@chmouel)
- 2a6c07c: Fix WaitForSecretDeletion (@chmouel)
- 7165d79: Make our own parsing for token expiration (@chmouel)
- 0cb6780: Remove the replacing of the \n by
(@chmouel) - af1511e: Rephrase pipelines as code introduction (@chmouel)
- 8017f0d: Skip Tekton Resolver types in PAC Resolver (@chmouel)
- c983d26: Skip task step logs which say that it is skipped (@chmouel)
- 8bcea9b: Tekton Dashboard release file has been renamed (@chmouel)
- c173b01: add gitea E2E test to test log snippet (@chmouel)
- babf59c: adjust regexp for TestGiteaRetestAfterPush (@chmouel)
- cda7e74: describe the new way of disabling pac from osp on 1.9 (@chmouel)
- 52dd105: fix exiting from task on ubi-micro (need to be from a script) (@chmouel)
- dc38dc5: go 1.20 support (@chmouel)
- 25d0700: make sure we always processing error in namespace (@chmouel)
- bea95f7: make the tkn binary name modular at compile time (@chmouel)
- 5615dc2: some more cosmetics to show nicer gitea status breakdown (@chmouel)
v0.15.3
Pipelines as Code version v0.15.3
OpenShift Pipelines as Code bugfix version v0.15.3 has been released 🥳
Changes
- fix documentation for amending commits PR
- Don't error out when checking for token expiration on 404 PR
- Remove tkn pac resolve -f message on bootstrap PR
- set no color on window or tkn pac will not work 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.15.3/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.15.3/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 97b7226: Bump docker/build-push-action from 3.2.0 to 3.3.0 (@dependabot[bot])
- 4c73825: Bump docker/metadata-action from 4.1.1 to 4.3.0 (@dependabot[bot])
- 99adde6: Disable colours on windows unconditionally (@chmouel)
- 474a9db: Don't error out when checking for token expiration on 404 (@chmouel)
- 47d6237: Fix documentation referencing git amend instead of git commit --amend (@chmouel)
- dc38cdf: Fix getting remote task uri from another branch (@chmouel)
- 15d2726: Resolve tkn pac resolve -f message on bootstrap (@chmouel)
- d8ad628: refactor all getLogger function to a common package (@chmouel)
v0.15.2
Pipelines as Code version v0.15.2
OpenShift Pipelines as Code patch version v0.15.2 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.15.2/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.15.2/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 04bdb6b: Added some prints to check pac watcher issue (@savitaashture)
- e073ce2: Added some prints to check pac watcher issue and removed extra param (@savitaashture)
- 600ab9e: Fixes markdownlint error for bare url (@sm43)
- bab6465: Fixes the condition in watcher when to user repo secret (@sm43)
- 2d29ab5: Force watcher goroutine to start early (@savitaashture)