Releases: openshift-pipelines/pipelines-as-code
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)
v0.15.1
Pipelines as Code version v0.15.1
OpenShift Pipelines as Code patch version v0.15.1 has been released 🥳
- If user is not allowed to run CI then don't proceed with execution
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.1/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.15.1/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 1d39fbd: Fixes user verfication, if not allowed then don't proceed (@sm43)
- 3d0c2ad: Force controller & watcher goroutine to start "early" (@vdemeester)
- 779a4fa: Reconciler: Retry reporting provider status if failed (@sm43)
- 603a5aa: Rephrase the documentation (@chmouel)
- a3ff410: e2e-run and kind install small fixes (@chmouel)
v0.15.0
Pipelines as Code version v0.15.0
OpenShift Pipelines as Code patch version v0.15.0 has been released 🥳
-
You can now cancel pipelinerun with the /cancel comment, all of them to target a specific one PR Doc
-
We are now scoping the github apps token to the target repository, it would previously be enabled to be used on every repositry installation. You can change that behaviour with the
secret-github-app-token-scopped
setting and further with thesecret-github-app-scope-extra-repos
. Doc, PR -
PipelineRun concurrency is now ordered Alphabetically instead of randomly as previously PR
-
annotation matcher on push and pull_request for greedy match should work the same now 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.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.15.0/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- d89eb74: Add dependabot for github actions deps (@chmouel)
- a1a1270: Add my e2e-run and zsh completion scripts (@chmouel)
- ea0bac5: Add setting to SecretGHAppRepoScoped (@chmouel)
- a5f1e0d: Add setting to let extra repositories to be scoped (@chmouel)
- a06f120: Add some test for params.settings (@chmouel)
- dfb570d: Allow fetching raw url with token when using ghe (@chmouel)
- a8b9929: Bump actions/cache from 2 to 3 (@dependabot[bot])
- faa9d48: Bump actions/upload-artifact from 2 to 3 (@dependabot[bot])
- 57d9bf2: Bump docker/build-push-action from 2.5.0 to 3.2.0 (@dependabot[bot])
- 84c6dee: Bump docker/login-action from 1.10.0 to 2.1.0 (@dependabot[bot])
- 8a7e846: Bump docker/metadata-action from 3.3.0 to 4.1.1 (@dependabot[bot])
- 3898a3c: Controller cancels pipelineruns and reconciler reports status (@sm43)
- e002a89: Controller now adds execution order annotation for watcher (@sm43)
- f8e3a69: Detect an ingress with dashboard target on kube (@chmouel)
- 28b1810: Don't scope token to the base repo on gh pull request (@chmouel)
- f7a1dd4: Fix example for github-add-comment example (@chmouel)
- 7c9b164: Fix github apps and scoping on issuecomment/retest (@chmouel)
- d5c5d44: Fixes logURL for GitHub App PipelineRuns (@sm43)
- 6b8bd58: Handle ref/heads/* for both base branch and target branch (@sm43)
- 31469c4: Improve unittest coverage in sort package (@chmouel)
- e5d51a8: Patch pipelines-as-code configmap for e2e-test (@chmouel)
- d6a7bda: Reuse patch pipelinerun code in reconciler (@sm43)
- cdf2a6d: Reword error message when failing to match pr (@chmouel)
- 77d8ba7: Scope token creation to the repository by default (@chmouel)
- c12b5e4: Show Tekton Dashboard string if configured (@chmouel)
- 416b5e8: Splits matchrepo func for verifying and preparing pipelineruns (@sm43)
- 9997371: Upade header from OpenShift Pipelines to OpenShift Pipelines as Code (@savitaashture)
- 4595b2d: Update bootstrap video (@chmouel)
- bf339f7: Update doc regarding the temp installation token (@chmouel)
- 7073660: Update ghapp token to use pass (@chmouel)
- 5986e04: Update kind-e2e-tests.yaml (@sm43)
- 1362586: Update youtube video walkthought (@chmouel)
- 45d25fe: Updated ClusterRole for secret to fix incoming webhook and also updated readme (@savitaashture)
- 76cbdb5: Updates Priority Queue to works as normal FIFO Q (@sm43)
- be246ee: Watchers creates queue based on execution order in annotation (@sm43)
- 83ba9e9: adds detection for cancel comment in providers (@sm43)
- 39940a1: ghapp_token improvements and documentation (@chmouel)
- cab1197: parse payload for cancelling pipelineruns (@sm43)
- 21ce6b4: remove non ending alphanumeric characters from labels (@chmouel)
- ecb4ccd: set t.helper for test helper test functions (@chmouel)
- c39fb6b: statuses.md doc update and rephrasing (@chmouel)
- 74546cd: switches to listers for querying repositories (@sm43)
- fdfd333: use github apps installation token to run the test (@chmouel)
v0.14.3
Pipelines as Code v0.14.3
Pipelines as Code patch version v0.14.3 has been released 🥳
Features
- tkn pac resolve command now ask for a token when we detect a
git_auth_secret
in template PR , resolve-DOC , private-repo-DOC
pac-resolve.mp4
-
We are now hiding secrets from the log snippets, this avoid leaking secrets by looking into the
PipelineRun
and grab the environment variable on every tasks and steps attached to the PipelineRun, fetch the values of the secrets and if there are any match of those values in the log snippet it will replace them with a*****
palceholder. PR , error-snippet-DOC , error-log-snippet-setting-DOC -
There are some update on tkn-pac create repo , tkn-pac webhook add tkn-pac generate commands
-
tkn-pac create repo
-
Add webhook when GithubApp is configured
tkn-pac create repo
won't add Github webhook when GithubApp is configuredtkn-pac create repo
add Gitlab webhook when GithubApp is configuredtkn-pac create repo
add Bitbucket Cloud webhook when GithubApp is configured
-
Add webhook when GithubApp is not configured
tkn-pac create repo
add Github webhook successfully and detect provider by command itselftkn-pac create repo
add Gitlab webhook successfully and detect provider by command itselftkn-pac create repo
add Bitbucket Cloud webhook successfully and detect provider by command itself
-
-
tkn-pac webhook add
- Add webhook to existing repository
- Re-add a webhook to existing repo because the webhook was deleted on the Git provider
-
tkn-pac generate
- Added extra info regarding push
$ ./tkn-pac generate ? Enter the Git event type for triggering the pipeline: Pull Request ? Enter the target GIT branch for the Pull Request (default: main): ℹ Directory .tekton has been created. ✓ A basic template has been created in /home/sashture/Go/src/github.com/savitaashture/cee/.tekton/pull-request.yaml, feel free to customize it. ℹ You can test your pipeline manually with: tkn-pac resolve -f .tekton/pull-request.yaml | kubectl create -f- ℹ You can test your pipeline by pushing generated template to your git repository
-
For more details refer to the hackmd.io document , PR
-
The secrets automatically generated for git_auth_secret are now a "owner reference" with pipelinerun. They will automatically get cleaned right with the PipelineRun instead of right after the pipelinerun execution. PR , Doc
-
The automatic secret now include a "token" key with the short lived token generated. PR , Doc.
-
Updated tkn-pac logs to show repo name instead of pr PR
-
Checking for github webhook token expiration was previously not working properly, we are now detecting properly if the token has expired. 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.14.3/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.14.3/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- d493833: Add condition to check existance of GithubApp only for github repo and not for Gitlab or Bitbucket (@savitaashture)
- 911fae9: Add documentation about fine grained webhook token (@chmouel)
- 1ea74cc: Apply suggestions from code review (@chmouel)
- 1ea29f0: Detect existing secret if it exist and reuses it (@chmouel)
- 7ddac64: Detect git_auth_secret in tkn pac resolve (@chmouel)
- 0a8cbfd: Fix checking token expiration on webhook (@chmouel)
- f7e5e30: Fix gitea test for cli generation (@chmouel)
- c03480a: Fix pylint latest error (@chmouel)
- 99de10c: Fix tkn pac resolve with remote task (@chmouel)
- ab58012: Fix: watcher was breaking when taskref was used in pipelinerun (@sm43)
- 71d49f7: Hide secrets from log snippets (@chmouel)
- 3dcdbc8: Only report expired token error when there is one (@chmouel)
- f625295: Refactor secrets (@chmouel)
- cb971ce: Separate installing ingress dashboard and pac (@chmouel)
- 415836e: Update commands of create repo, webhook add and generate (@savitaashture)
- 1244f38: Updates basic auth secret owner reference with pipelinerun (@sm43)
- 112b5df: Use gitea from the nightly cluster instead from kind (@chmouel)
- ace2127: Workaround some gitea bugs (@chmouel)
- 12dcb84: add more gitea hack workaround (@chmouel)
- 50a3259: detect installation locally (@chmouel)
- 0944329: fixes pod breaking due to nil client & removes duplication (@sm43)
- e10a28b: refactor the text in a common code (@chmouel)
- 8288716: rephrase resolver documentation (@chmouel)
- 43c29da: show repo name instead of pr when using tkn pac logs (@chmouel)
v0.14.2
OpenShift Pipelines version v0.14.2
OpenShift Pipelines as Code patch version v0.14.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.14.2/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.14.2/release.k8s.yaml
Documentation
documentation is available here :
Changelog
- 8bebeb6: Add --last to tkn pac logs (@chmouel)
- 9e010b7: Add completions for namespaces (@chmouel)
- 16cf9ff: Add shell completion on repo for multiple commands (@chmouel)
- ef2ded5: Revert "Pins down k8s version to avoid failure due to deprecated res in pipelines" (@sm43)
- 54b239f: Update documentation about tkn pac logs (@chmouel)
- c4aa3a1: Update webhook secret generation (@savitaashture)
- 6a9414b: add ci check for the generate drelease yaml (@chmouel)
- b411d01: fix empty lines when generating release.yaml (@chmouel)
- 8b5a2d3: let ask the user to install gosmee port forwarder (@chmouel)
v0.14.1
OpenShift Pipelines version v0.14.1
OpenShift Pipelines as Code patch version v0.14.1 has been released 🥳
This is a minor release fixing some bugs introduced in v0.14.0 release, see the Changelog for more details
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.14.1/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.14.1/release.k8s.yaml
Documentation
documentation is available here :