v0.13.0
OpenShift Pipelines version v0.13.0
OpenShift Pipelines as Code patch version v0.13.0 has been released π₯³
This release add many new features :
- You can now have a remote pipeline in annotations the same way we have on task and reference it in the
pipelineRef: name
Jira and Doc . - With the Github apps provider, if you remote http url is on the same host as where your PR is run and if you are fetching a remote task from the same organization where your repo is, pac will use your github apps temporary token to fetch that task. This let you have a private repo in your organisation and share common private tasks. Doc
tkn-pac ls
andtkn-pac describe
has many new features and bug fixes Doctkn pac ls
now detects running pipelinerun correctly like pac describe did it but with a whole lot bugfixes.- fix showing duration when there is no failure completion time.
- display pipelineruntimeout as failure.
- show snippet of error and highlight of error regexp pattern in describe
- Add use-real-time switch to ls and describe
- import tkn pac logs documentation
- Show pipelineruntimeout as failures in desc/list.
- Show specific pipelinerun failure with --target-pipelinerun
tkn-pac create repo
would not override a pipelinerun if it already exist.- We have documented on how to inject custom SSL certs in pipelinesascode to let you connect to provider instance with custom certs Doc
- You can now set the name of the hub catalog via a setting in global configmag. Doc
- We are now emitting kubernetes events of errors in the user namespace, when for example there is a parsing error of the yaml it would show in the user namespace and the controller logs Doc
- We have cleaned the rights and roles needed to run the controllers PR
- We have a few more bugs fixed to report properly error on the provider interface PR
- Multi yaml documents in the same yaml file should not properly working PR
- You can now enable auto configuration of new GitHub Repositories with Pipelines As Code. On creation of a new repository, Pipelines As Code will set up a namespace for your repository and create a Repository CR. Doc
- You can now set max limit and default for
max-keep-run
value. Doc
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.13.0/release.yaml
Kubernetes
kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/v0.13.0/release.k8s.yaml
Documentation
documentation is available here :
Full Changelog
- 8cb0cf3: Add -f as alias to file-name (@chmouel)
- 3a89424: Add a E2E Pipelines (@chmouel)
- 49c57bc: Add a GetTaskURI method to provider Interface (@chmouel)
- 0252420: Add a OPENSHIFT_ROUTE_FORCE_HTTP option (@chmouel)
- d111f1a: Add doco for the new tknpac describe/list features (@chmouel)
- 82ba243: Add docs for custom certs (@concaf)
- c290933: Add unittests for formatting.PRDuration (@chmouel)
- 6ccd046: Adds unit test for finalizer (@sm43)
- 29e635b: Allow all URL on Webhook in Gitea (@chmouel)
- 3ae3ca0: Allow describing a pipelinerun (@chmouel)
- 76de58f: Auto configuring newly created GitHub Repos with GH App (@sm43)
- 1f6767b: Cleanup: removes roles not required by controller/watcher (@sm43)
- b91782e: Collect PipelineRuns logs on E2E Test (@chmouel)
- af4732a: Defines global max and default value for max-runs (@sm43)
- 0a82513: Delete existing gitea token (@chmouel)
- f978a6c: Don't split stupidly multi yaml documents on --- (@chmouel)
- db955f1: Don't split stupidly multi yaml documents on --- (@chmouel)
- 264ee9d: Don't use kubectl apply for tkn pac resolve (@chmouel)
- 51a7839: Emits metrics for PAC pipelineruns with provider info (@sm43)
- ff7ba78: Enable TestGiteaBadYaml (@chmouel)
- bb13810: Exposes config validation and defaulting func & uses same internally (@sm43)
- cfdd8f2: Fetch github url with token (@chmouel)
- ecad528: Fix TestGiteaClusterTasks race. (@chmouel)
- 540584d: Fix TestGiteaConfigMaxKeepRun race (@chmouel)
- c852948: Fix dashboard url by checking for empty string & make sure it is a valid URL (@sm43)
- c52fa97: Fix deployment with ko (@chmouel)
- 1fdf133: Fix sending ok-to-test on ghe (@chmouel)
- 48c1ae2: Fix shell error of double quote variables (@chmouel)
- 8df2d55: Fix ssl errors properly (@chmouel)
- 3293c5a: Fix uploading docs to the http server (@chmouel)
- 4676fb2: Improve TestGithubPullRequestConcurrency (@chmouel)
- 91c6433: Increase e2e test timeout (@chmouel)
- 5ca9aad: Increase unittest timeout (@chmouel)
- 7f88bd6: Let find kubeconfig path on Windows (@chmouel)
- bc3bb1c: Let us know the output when it fails (@chmouel)
- bf47f93: Make sure we report properly (@chmouel)
- aff34ed: Make sure we sanitize the branch in describe (@chmouel)
- 5fcc471: Match storage size between push and pull (@chmouel)
- 50aaba3: Move certs docs to installation section (@concaf)
- 9f0592d: Move emitMessage to a separate pkg so that we can reuse (@sm43)
- 31af81d: Move to bitbucket repo to another location (@chmouel)
- 9debddc: Readd routes listing right for controller/watcher (@chmouel)
- 90a72ea: Remove annotations on e2e pipelines (@chmouel)
- 3932b54: Remove old gitea stuff (@chmouel)
- e400de7: Remove repeated key (@savitaashture)
- 46f0d61: Remove the fake secret from the testdata fixtures on gitea (@chmouel)
- 501036c: Resolve pipelines on annotations (@chmouel)
- 009d1ad: Resolve pipelines on annotations (@chmouel)
- f1a9eec: Revert "Added ppc64le support" until we figure out an optimise way (@sm43)
- 5d49e9a: Revert "Revert "Replaces update with patch for adding checkrun label"" (@sm43)
- 02ba4f3: Revert "Wait for tekton.dev/pipeline label to add checkrun id label" (@sm43)
- 501337c: Set auto configure new github repo as false (@sm43)
- 8384e58: Show events in tkn pac describe (@chmouel)
- 0bba561: Show running pr in tkn-pac ls repo (@chmouel)
- 3f06c95: Skip TestGetGitInfo tst if git binary is not found (@chmouel)
- 0b6b3d1: Strip slash after we detect repo urls (@chmouel)
- 0774520: Teardown the created repository on gitea after test (@chmouel)
- cf68a7c: Test ClusterTasks with gitea (@chmouel)
- 99922e4: TestGiteaMaxKeeprun: add a sleep π΄ (@chmouel)
- 891f0a2: TestGithubPullRequestConcurrency increase checks (@chmouel)
- 739aba1: TestGithubPullRequestConcurrency: fix race (@chmouel)
- dfe171b: Update KO to latest (@chmouel)
- 87cda48: Update concurrency e2e, removes unnecessary checks (@sm43)
- e3b8db9: Update deployments to fix warning on ocp 4.11 (@sm43)
- 3e05049: Update e2e to test for emitted events (@sm43)
- 4314a03: Update gitea python script to run smee for both Kubernetes and Openshift (@savitaashture)
- 67de5e3: Update gitlab-webhook command (@savitaashture)
- 603efa8: Update go libs dependences (@chmouel)
- b6259c3: Update go-github in test v47 (@sm43)
- 5898df6: Update readme for PAC test (@savitaashture)
- 014a1c0: Update tkn pac generate command (@savitaashture)
- 86dd704: Update to golang 1.18 (@chmouel)
- 8b486a6: Update to tekton/pipeline 0.40.2 to match cli release (@chmouel)
- ee7d94b: Updates per review comments (@concaf)
- e4dfebd: Upgrade to gosmee latest (@chmouel)
- a44ef08: Use ClusterTasks instead of fetching remotely (@chmouel)
- f0b6925: Use gofumpt extra (@chmouel)
- 08a9e6b: Use gotesttools env instead of os.Setenv (@chmouel)
- 4825a9e: Use pipelines nightly as it has labels getting missing bugfix :) (@sm43)
- 4a55958: Use retry.onconflict instead of for loop for updating resource (@sm43)
- 0a3bb4c: add errors detection to tkn pac describe (@chmouel)
- 3eeff00: add some unittest for gitea (@chmouel)
- 509907a: add use-realtime and readd --no-headers to tkn pac list (@chmouel)
- b818ec7: black/pylint on python files in CI/pre-commit (@chmouel)
- 6156944: change colors a bit (@chmouel)
- 38ba081: documents pipelines-as-code-info configmap (@sm43)
- 6253463: don't hardcore GITEA_USER and GITEA_PASSWORD (@chmouel)
- 4c16323: emit kubernetes message in repo (@chmouel)
- 1e53f64: fail as soon as possible on e2e tests (@chmouel)
- 2e0f0be: feat: Allow changing tekton hub catalog name (@)
- 7c90636: fix bitbucket repository name π€― (@chmouel)
- 75b3932: fix image gosmee image reference (@chmouel)
- 66df176: fix some documentation spelling and example for resolver (@chmouel)
- 5a49ee1: fix some formatting errors (@chmouel)
- 9088cff: fix tkn pac repo create generating wrong events (@chmouel)
- b75d43e: fixup! add use-realtime and readd --no-headers to tkn pac list (@chmouel)
- 189e9c1: ghapp_token.py: let output the jwt token directly (@chmouel)
- b2bb587: gitea isntall: don't error out on self ssl (@chmouel)
- 46479ab: golang images on gcr is 404 now (@chmouel)
- 2507ddb: improve tkn pac logs documentation (@chmouel)
- bbc3ef1: improve tkn pac logs documentation (@chmouel)
- 36cbb19: install gitea only when needed, not everytine we do pac (@chmouel)
- dc17ce8: install.sh: PAC_DIR doesn't need to be set when isntalling from release, so exit it later (@chmouel)
- 17791d7: kind-e2e-tests: collect events (@chmouel)
- 9cb6f0d: reduce keep-runs to 2 (@chmouel)
- 5a1c916: remove vale configmap rule (@chmouel)
- 083d90b: set cleanup times for push and unify it with other pipelines (@chmouel)
- 8fbd9e1: show every error in controlller log (@chmouel)
- c7b5fd5: skip flaky gitea test (@chmouel)
- f5dea89: skip non generics compatible checkers for golangci-lint (@chmouel)
- 6907c6a: spelling in README (@chmouel)
- fd0d8d0: updates docs for emitting events in case of failures (@sm43)
- 43b9774: updates reconciler to emit events on error (@sm43)
- 2be077b: use go 1.18 in github workflow too (@chmouel)
- 2daf011: use go version file from go.mod (@chmouel)
- c4bfa3f: β Move infra to PSI (@chmouel)