0.9.0
OpenShift Pipelines as Code version 0.9.0
We are thrilled to announce the release of Pipelines as Code 0.9.0 π
This release brings many features and a new architecture (see the new flow diagram here)
We have separated the controller from the reconciler. A new service called "watcher" will watch the pipelinerun execution and report the status of the provider when a PipelineRun
has finished.
We have added a new webhook validator to make sure only one Repository is created with one git repository URL.
This release also adds support for tls certs in controller and documentation is available here
From this release, /test
and /retest
comment behave identical and will trigger all pipelinerun or a single one when passing a PipelineRun
as argument.
We have incoming webhook support as documented here this let you set-up a URL to start a PipelineRun
inside your repository without having to send a new commit.
Breaking Changes
tkn-pac CLI is redesigned and a few commands are changed as below
- tkn pac repository create -> tkn pac create repository
- tkn pac repository delete -> tkn pac delete repository
- tkn pac repository describe -> tkn pac describe
- tkn pac repository list -> tkn pac list
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/0.9.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/0.9.0/release.k8s.yaml
Documentation
Full documentation is available here :
Changelog
- bb7f8f5: Add probes for pac watcher (@sm43)
- bba2e38: Add repo-url annotation to generated PipelineRun (@chmouel)
- eb2c497: Add state label to pr and update reconciler to watch only started pr (@sm43)
- 68dbaad: Add support for incoming webhook (@chmouel)
- cf323f6: Adds GH installation id, ghe url in pr to create client in reconciler (@sm43)
- 880702c: Adds check for pipelinerun completed state in reconciler (@sm43)
- a60fb33: Adds dockerfile for watcher and update build workflow (#694) (@sm43)
- 24e1a36: Adds support for tls certs in controller (@sm43)
- 64e8bb7: Adds unit test for reconciler (@sm43)
- b662fa4: Adds webhook to validate repository url (@sm43)
- 34cb5a0: Adds yamls for webhook (@sm43)
- 58ed515: Allow update to existing repository (@sm43)
- e87395f: Build tkn-pac docker image to its own (@chmouel)
- 2ad2518: Cleanup docs: remove timeout docs as no longer supported (@sm43)
- ed52167: Cleanup wait code as we now have reconciler watching pipelineRun (@sm43)
- b1b785d: Cleanup: remove obsolete code and fix test/lint (@sm43)
- b388e96: Fix cli instruction broken link and updated doc for repo command (@savitaashture)
- d0875a9: Fix release.yaml generation on openshift (#696) (@chmouel)
- 5ac0353: Fixes bad console link in status report (@sm43)
- a909727: Fixes func names in cli after rebase (@sm43)
- 5ca55eb: GH App: pass checkrun id as label and use in reconciler to update status (@sm43)
- 4ea5b59: Skip running e2e parallel (@sm43)
- 178ceb3: Update
/test
and/retest
comment (@sm43) - c8f4ac2: Update dependences (@chmouel)
- fa1af04: Update documentation (@chmouel)
- 09f1e48: Update indirect dep gopkgs yaml v3 to final (@chmouel)
- 94adcfe: Update repo create references to create repo (@sm43)
- dd9059f: Updates logger with sha and pr name to filter logs easily (@sm43)
- 4a540f0: Use RHEL UBI9 (@chmouel)
- 372bb16: Use repository lister instead of client (@sm43)
- 8793330: [chore] Compress go-cache file before uploading to uploader (@chmouel)
- f4b25e4: add deployment and role for watcher (@sm43)
- a383c92: add e2e for repo creation and failure due to webhook validation (@sm43)
- f60f2d3: add gitlab e2e on incoming-webhook (@chmouel)
- d811915: add info about kind for quickly testing (@chmouel)
- b800dc3: add link to pac flow diagram (@chmouel)
- 21239a4: add pipeline run created check in unit test (@sm43)
- 61b46d8: add provider type to sample for incoming-webhook (@chmouel)
- d6ca3f9: add support for gitlab webhook-incoming (@chmouel)
- 1f3f234: add support for incoming webhook on bitbucket cloud (@chmouel)
- 5ecf2d7: add unit test for reconciler func (@sm43)
- 045e9e1: adds event type and sha in logs to easily filter them (@sm43)
- f81722e: adds reconciler to watch pipelinerun status (@sm43)
- a0d2ca8: adds service account for watcher and cleanup unnecessary scopes (@sm43)
- 36af311: allow redefining the prot of the watcher/controller (@chmouel)
- 7d6df48: clarify git_provider type in docs (@chmouel)
- e656d41: cleanup repo command (@sm43)
- 92e029b: cleanup repo describe command (@sm43)
- 6fe451a: cleanup repo list command (@sm43)
- e0c2762: cleanup: removes repo create cmd (@sm43)
- e4cf92c: controller starts and reconciler reports status (@sm43)
- 2740ce0: detect provider and build event from pipelinerun (@sm43)
- 5639a6f: e2e: delete repository in the namespace before deleting ns (@sm43)
- 3a9f95f: enable aur again (@chmouel)
- 2822134: fix building tkn image (@chmouel)
- 5af8177: fix image name for ghrc tkn-pac (@chmouel)
- 2072ffe: fixes bitbucket cloud failure due to pull request number (@sm43)
- 0a6b399: fixes github-enterprise in provider label (@sm43)
- 8926e31: fixes gitlab failure with reconciler due to project id (@sm43)
- a646f26: fixes lint error, delete is inbuilt keyword (@sm43)
- 01c7ed5: fixes skipped unit test (@sm43)
- 859f0dd: fixes watcher failure due to missing env (@sm43)
- aba2a1b: init gh client before if installation id is found (@sm43)
- af33d84: make sure pipelinerun is set on incoming webhooks (@chmouel)
- 1f0bacb: make sure to use rhel8 everywhere (@chmouel)
- d0c0076: refactor github client init (@sm43)
- 2cd3db1: refactors code to write test easy (@sm43)
- 5b68b42: remove the "don't remove this line" line (@chmouel)
- f0ed247: rename "event" to "event-id" in logs (@sm43)
- e7c638b: rename repo create command to create repo (@sm43)
- 65bd642: renames repo delete command to tkn pac delete repo (@sm43)
- 220bfac: renames repo describe command to tkn pac describe (@sm43)
- aca080e: renames repo list command to tkn pac list (@sm43)
- 811a9eb: skip upload for aurs on release (@chmouel)
- 6dfb021: skip/fix tests (@sm43)
- 61ef510: try to fix savecache (@chmouel)
- 22d7262: update build workflow for webhook image (@sm43)
- af9397e: updates docs for command refactor (@sm43)
- 7e1647b: updates release yaml script for webhook (@sm43)