v0.20.0
Pipelines as Code version v0.20.0
OpenShift Pipelines as Code v0.20.0 has been released 🥳
Changes
-
Allow setting policies on actions to be executed by set of users
- Policies allow your teams to do some actions and reject member who are not part of those teams.
- Currently actions supported are pull_request and ok_to_test
- Doc: https://main.pipelines-as-code.pages.dev/docs/guide/policy/
-
Add support for multiple catalog hubs to fetch the tasks
-
tkn pac commands
tkn pac create repo
,tkn pac bootstrap
andtkn pac webhook add
will check for pac installation in onlypipelines-as-code
oropenshift-pipelines
namespaces by default or if value is provided by--pac-namespace
flag- PR #1357
-
Add
--v1beta1
flag fortkn pac resolve
command to get the PipelineRun as v1beta1- PR #1293
-
Enable default metrics for pac controller
- PR #1328
Fixes
-
Now if the author is private member of the repository's organization, then PipelineRun will be triggered for pull request
- PR #1286
-
CEL expression in Pipelines as Code has new values target_url and source_url available for filtering
- PR #1272
-
Fix branch Matching where pipelinerun was getting triggered if baseName of branch is same
- PR #1352
-
Fix status check showing skipped for pipelinrun waiting for approval
- PR #1310
-
Delete git-clone basic-auth secret when deleting a pipelinerun
- PR #1341
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.20.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.20.0/release.k8s.yaml
Documentation
The documentation for this release is available here :
https://release-v0-20-0.pipelines-as-code.pages.dev
Changelog
- 1974080: Add --v1beta1 flag for pipelinerun output (@chmouel)
- a9bbc42: Add a bit more information about application name (@chmouel)
- 6ec4bf8: Add a getting started documentation (@chmouel)
- 67ca423: Add a note about commit messages in the PR template (@chmouel)
- 0e4cddb: Add comment to gitea test file (@savitaashture)
- 34e15f5: Add condition check to verify secret-github-app-token-scoped enabled or not (@savitaashture)
- 2a3ce49: Add detailed info and addressed review comments (@savitaashture)
- 2b5e919: Add some help to the install.sh script (@chmouel)
- 89c385b: Add support for multiple catalog hubs (#1351) (@chmouel)
- 43320b2: Add test for deleting secret with PipelineRun (@chmouel)
- cac9555: Allow setting policies on actions (@chmouel)
- 1e915d3: Apply vale rules on README.md as well (#1335) (@chmouel)
- d5dd075: Bump docker/build-push-action from 3.3.0 to 4.1.1 (@dependabot[bot])
- cfa64cd: Bump docker/login-action from 2.1.0 to 2.2.0 (@dependabot[bot])
- b5b9362: Bump docker/metadata-action from 4.4.0 to 4.5.0 (@dependabot[bot])
- 51b0b16: Bump docker/metadata-action from 4.5.0 to 4.6.0 (@dependabot[bot])
- 60d61fd: Cancel old jobs attached to PR when there is update (@chmouel)
- 557ccab: Create service monitor for pac controller (@prietyc123)
- c04c9cc: Delete git-clone basic-auth secret when deleting a pipelinerun (@chmouel)
- 2ced6ce: Enable default metrics observability for pac controller (@prietyc123)
- 1db4c6a: Enforce the Pipelines-as-Code name (@chmouel)
- 81e9ebb: Fetch the hugo binary ourselves (@chmouel)
- 4d3be68: Fix GitHub token scope issue when secret-github-app-token-scoped key is enabled and repo level as well as global configuration provided (@savitaashture)
- f7cb9ed: Fix a bunch of gitea e2e random failures (@chmouel)
- eb26ff0: Fix branch matching based on base name (#1352) (@savitaashture)
- 2eab30c: Fix branch matching when there is a slashes in the base branch name (@savitaashture)
- 8584c25: Fix branch push command in release pipeline (@piyush-garg)
- 1105759: Fix comments on test (@chmouel)
- 550f16e: Fix coverage and add info about OWNER_ALIASES (@chmouel)
- 3850340: Fix e2e failure for TestGiteaParamsOnRepoCR (@savitaashture)
- 78c0159: Fix extra space in binary names (@piyush-garg)
- ccdb73a: Fix goreleaser.yaml indentation and deprecations (@piyush-garg)
- 855f3a0: Fix help message on -o flag (@chmouel)
- 8891b49: Fix java template (@piyush-garg)
- f09a8a7: Fix linter bugging on deprecated v1beta1 (@chmouel)
- dc310ca: Fix message when the repository cannot be matched (@Roming22)
- 3ea94cb: Fix secret on custom params documentation (@chmouel)
- 77c4488: Fix the branchMatching for refs/tags (@piyush-garg)
- 00c137c: Fix the path of release yaml in release script (@piyush-garg)
- 895ed8a: Fix ubuntu failing to install pkgs (@piyush-garg)
- 289f39a: Generate dropdown of versions (@chmouel)
- 0c4aee5: Improve logging doc with @mramendi proposed changes. (@AndrienkoAleksandr)
- bcd314f: Improve testing for unknown secret in custom param (@chmouel)
- fda3734: Make sure we add workspaces.source as safe.dir (@chmouel)
- 74edb48: Make sure we fetch everything in git (@chmouel)
- 1eb8efe: Make sure we test for Pending Approval (@chmouel)
- f27acce: Make target_url and source_url field available in cel (@piyush-garg)
- da170b1: Move logging docs to settings.md (@AndrienkoAleksandr)
- 8bd7be7: Not list configmaps in all namespaces (@piyush-garg)
- e0918f4: Only rebuild the Docker image when Go files changes (@chmouel)
- 9b0c3bb: Refactor filtering of the eventype to its own func (@chmouel)
- 55ca7d9: Rephrase docs for private repos (@chmouel)
- d67db4b: Rephrase running.md documentation (@chmouel)
- c203a31: Revert "Fix the path of release yaml in release script" (@piyush-garg)
- c9a7c05: Revert "set, then unset, pending pipelinerun regardless of concurrency limit in startPR" (@chmouel)
- 0c393f1: Simplify auto-generated pac-gitauth secret URL (@Bibz87)
- 9e3a84c: Simplify branchMatch function (@chmouel)
- fff2583: Try to fix uploading file to nightly (@chmouel)
- b08102e: Update GitHub token scope e2e test to verify for global configuration (@savitaashture)
- 162753e: Update all dependencies (@chmouel)
- 1214f15: Update custom param doc with proper syntax for filter (#1355) (@savitaashture)
- f2fadc4: Update docs/content/docs/install/settings.md (@AndrienkoAleksandr)
- ef120fa: Update gitea scope to 1.20 (@chmouel)
- fd9c788: Update installtion doc with operator configuration info (@savitaashture)
- e59c744: Update status check for skipped pipelinerun from skipped to Pending approval (@savitaashture)
- 13a970a: Update to go-github v53 (@chmouel)
- 0de4722: Use 'Pipelines as Code' in the logging doc (@AndrienkoAleksandr)
- 2b58855: Use sync.Map instead of map (@piyush-garg)
- fe5ecc7: [cli] Don't error when user cannot acces pac ns (@chmouel)
- e6e6339: add /src as safe in dockerfile (@chmouel)
- 76706d5: add placeholder reconcile test (@chmouel)
- ae3835d: add workspace.source.dir as safe for git (@chmouel)
- 7aff449: add workspace.source.dir as safe for git in release pipeline yaml (@savitaashture)
- a81cda4: add workspace.source.dir as safe for git in release pipeline yaml (@savitaashture)
- 76c8852: cancel-in-progress the container building on github action (@chmouel)
- f471e70: capitalize console name (@chmouel)
- 2934a05: change pull_request_template to make it friendlier (@chmouel)
- 61b8359: convert .tekton/release-pipeline.yaml to use git (@chmouel)
- 4f08ba0: disable depguard for now (@chmouel)
- fb5dbb9: don't just list the public members of a org (@chmouel)
- 16cbdcc: double default retry backoff for piplinerun patch (@gabemontero)
- 7a8ba3d: fix error message when fataling (@chmouel)
- 7260744: fix generate-coverage-release (@chmouel)
- 7cd27f0: fix ghapp_token when we don't output jwt tokens (@chmouel)
- c301546: fix gitea not starting (@chmouel)
- 20fb304: fix goreleaser deprecation notice (@chmouel)
- 6c472f5: fix markdownlint (@chmouel)
- 77351e9: fix some gosec errors on golangci 1.54.2 (@chmouel)
- 7e18c5a: fix wine install with latest ubuntu gpg keys (@chmouel)
- db7355a: generate release yaml in current dir (@piyush-garg)
- 2a0a47c: install latest ko (#1330) (@chmouel)
- 56f7234: install wine from the default ubuntu repo (@chmouel)
- 92475af: more return original pipelinerun vs. nil on patch (@gabemontero)
- aa136bf: print installed gitea version (@chmouel)
- 4803c1d: return original pipelinerun vs. nil on patch error (@gabemontero)
- 13aa6e5: set, then unset, pending pipelinerun regardless of concurrency limit in startPR (@gabemontero)
- 6b0fdff: tkn pac resolver fixes (@chmouel)
- 84e6206: update all deps and container images (#1282) (@chmouel)
- 9e3f885: updates gitea sdk to main and fork structs (@chmouel)
- 9198838: use curl from docker hub (@chmouel)
- 0488f72: use git instead of github api to upload release.yaml file (@chmouel)
- 8efd0f8: when pushing to gitea use a loop to try multiple times on errors (@chmouel)