0.7.0
OpenShift Pipelines version 0.7.0
OpenShift Pipelines as Code version 0.7.0 has been released π₯³
0.7.0 brings many new features. The highlights are :
- Multiple pipelinerun on the same event. We previously would only support one Pipelinerun matching one Event. We now support multiple of them, the pipelineruns will be run in parallel and report back to the Git provider interface :
Screen.Recording.2022-04-29.at.13.57.38.mov
- tkn pac repo create now let you create a webhook configuration for gitlab or for github. It should detect as well which provider you previously installed on the cluster and skip webhook configuration if it needs to be.
- PAC generally report better errors when it fails to apply the PipelineRun.
Breaking Change
- We now have a special template variable that is able to handle multiple pipelineruns for private repositories support. You would need to change your secret from :
"secret: pac-git-basic-auth-{{repo_owner}}-{{repo_name}}"
to :
secret: {{ git_auth_secret }}
when detecting the old secret, pac wil fail the PR and ask kindly to the user to update 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/0.7.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/0.7.0/release.k8s.yaml
Documentation
full documentation is available here :
Changelog
- 23749ec: Add branch/tag to the generated documentation (@chmouel)
- 2ca1557: Add more debugging technique information in dev docs (@chmouel)
- a5d49d3: Add note about parallel testing. (@chmouel)
- 2278c6e: Add tools links and description (@chmouel)
- ea60d90: Adds event name in skipped event logs (@sm43)
- d1a5b5a: Allow configuring webhook even if github app is configured (@sm43)
- b0ab772: Better error message when we fail to apply PR (@chmouel)
- b46b9f6: Configure Gitlab webhook using PAC CLI (@sm43)
- 6f8bc7b: Confirm with use whether to use detected controller url (@sm43)
- 42ff292: Detect if we need to update the PipelineRun (@chmouel)
- ce8f333: Fix saving the golang cache (@chmouel)
- 6f4ca17: Fixes bootstrap cmd for OpenShift cluster (@sm43)
- 14ac069: Generate git auth secret randomly to a variable (@chmouel)
- c87d5b2: Get SHA from Before if head_commit is not passed. (@chmouel)
- b41d2b4: Give better reasons when not detecting payload (@chmouel)
- da14fcb: Move the schema initialization to init() (@chmouel)
- 262491a: Moved to GHCR (@chmouel)
- 04b764c: Refactor pipelinerun matchings to its own (@chmouel)
- 5e79454: Refactor webhook by CLI (@sm43)
- 69fddee: Remove emojis on the side on github checks status (@sm43)
- d89db11: Repo create cmd provides an option to configure GitHub webhook (@sm43)
- 07cef1f: Separate docs gen from pullreq PipelineRun (@chmouel)
- a75f141: Update badge link (@chmouel)
- a7aaf19: Update bootstrap cmd to add controller url in info configmap (@sm43)
- 0977c36: Update docs/content/dev/_index.md (@chmouel)
- 7f5ccc5: Update docs/content/docs/guide/authoringprs.md (@chmouel)
- bcfc314: Updates Repository CRD for updated secret keys (@sm43)
- 34ca00f: Upload to AUR from goreleaser (@chmouel)
- d5f2427: Uses separate logger while processing event to easily filter out logs (@sm43)
- f4b86eb: add -l to the replay script for localhost debug (@chmouel)
- 36a176b: add docs on how to develop docs via hugo for dev (@chmouel)
- 6acad5c: add install-kind script here. (@chmouel)
- 90a44ca: add makefile target and readme to install-kind (@chmouel)
- bc759fe: add multiple pipelines e2e tests (@chmouel)
- 050f6fb: add provider in configmap and move updating to end of bootstrap (@sm43)
- b920ac4: addressed comments on the pr (@sm43)
- d030afd: adds comment for the info configmap about why it is required (@sm43)
- b3ecb01: adds flag for hosted gitlab url for webhook (@sm43)
- e7cc68e: adds flag to configure only webhook (@sm43)
- d3f85be: adds flag to provide ghe url (@sm43)
- 411c25c: adds pipelines-as-code-info cm read accessible to all authenticated (@sm43)
- f0455f4: adds test for github flow (@sm43)
- 4cb30b7: allow bootstrap if existing provider is GitHub App/webhook (@sm43)
- 76d5f9f: build on ghcr with actions (@chmouel)
- a1771bf: create webhook secret and configure with repository cr (@sm43)
- b7a2581: display pipelinerunname when posting as comment (@chmouel)
- 1644d7f: don't upload to AUR from goreleaser until we get #3076 goreleaser released (@chmouel)
- f3aa840: don't use bash directly (@chmouel)
- 7d732bc: enable gitinfo on docs (@chmouel)
- 291b19a: fix generate cmd for pipelinerun name (@sm43)
- b3986c9: fix lint error (@sm43)
- 7a6fbae: fix make fumpt properly (@chmouel)
- 00bc9d7: fix runafter to be at the right place again (@chmouel)
- 3b54e44: fix typos in bootstrap cmd (@sm43)
- 883af7f: fixes broken links, words, spell in docs (@sm43)
- 7b5136b: fixes github api url (@sm43)
- a38f2e5: fixes gitlab webhook configuring for detected controller url (@sm43)
- da2dd76: fixes lint errors (@sm43)
- badb77b: fixes unit test and lint errors (@sm43)
- bc06f4f: fixup! Generate git auth secret randomly to a variable (@chmouel)
- e5d7d46: gitlab: .tekton/ subtree support (@chmouel)
- 8affedb: hide secret/token while taking input from user (@sm43)
- f02e73f: make e2e test for gitlab and bitbucket multiple providers aware (@chmouel)
- b9435e1: match multiple pipelineruns on the same events (@chmouel)
- e524518: move asking user confirmation to shared file (@sm43)
- 95b9739: need to pass --force-configure to override existing gh app (@sm43)
- 02ce11c: need to pass --github-webhook to configure webhook if app is already (@sm43)
- 2168f5a: remove some double != nil error (@chmouel)
- 69dad30: rename e2e tests action template (@chmouel)
- 8e281b4: save e2e test repository in artifacts too (@chmouel)
- 235830c: skip bootstrap app if webhook is already configured (@sm43)
- d1e6ab2: skip recreate secret question as we have force-configure flag (@sm43)
- bbc1420: switch to ghcr for generating release.yaml :partytime: (@chmouel)
- d318e9b: switch to gosmee for E2E test (@chmouel)
- bde5de3: today is not my day git-clone is called fetch (@chmouel)
- 85a1963: update dev documentation (@chmouel)
- 3f60302: update info configmap if webhook is configured before github apps (@sm43)
- 077f74a: updates bootstrap github-app cmd to check if webhook is already configured (@sm43)
- 29196a3: updates docs and configmap comment (@sm43)
- 413cdba: updates docs for GitHub webhook (@sm43)
- abd6c58: updates message for asking namespace to user (@sm43)
- b2e6c6c: updates user question (@sm43)
- bf39883: use detected controller url for webhook (@sm43)