Releases: openshift-pipelines/pipelines-as-code
0.5.5
OpenShift Pipelines version 0.5.5
OpenShift Pipelines as Code patch version 0.5.5 has been released 🥳
This release fix a few bugs with tkn-pac :
- d0a017d: Try to detect if pac is installed via operator
- b5c59fa: Skip trying to resolve Pipeline bundle
- 0c5feed: fix tkn pac repo create not accepting existing namespace
To install this version you can just do :
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.5/release-0.5.5yamland make sure you follow the setup documentation :
https://github.com/openshift-pipelines/pipelines-as-code/tree/release-0.5.5/INSTALL.md
0.5.4
OpenShift Pipelines version 0.5.4
OpenShift Pipelines as Code patch version 0.5.4 has been released 🥳
This release fix a bug if there was a pipelinerun in .tekton directory with no "on-event" annotation it would get picked up while it should be skipped.
To install this version you can just do :
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.4/release-0.5.4yamland make sure you follow the setup documentation :
https://github.com/openshift-pipelines/pipelines-as-code/tree/release-0.5.4/INSTALL.md
Changelog
0.5.3
OpenShift Pipelines version 0.5.3
OpenShift Pipelines as Code version 0.5.3 has been released 🥳
This releases fixes a few bugs and add some optimizations.
One notable change is that we moved away from pipelinerun in pipelines-as-code repository and now use a taskrun which should be faster to start the initial feedback on CI.
Install
To install this version you can just do :
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.3/release-0.5.3.yamland make sure you follow the setup documentation :
https://github.com/openshift-pipelines/pipelines-as-code/tree/release-0.5.3/INSTALL.md
Full Changelog
- d3c4340: Add
commandTypeannotations to cobra.Command (@concaf) - 1540c80: Add test to replay last deliveries directly from github (@chmouel)
- c513c6a: Allow creating a app on organization (@chmouel)
- 628df42: Document resolve behaviour between cli and live (@chmouel)
- e7ea177: Fix spelling across documentation (#398) (@chmouel)
- 68fdef9: Fix task resolution from inside git on resolve (#402) (@chmouel)
- c7c3fdf: Make sure we initialize the fake kube client (#397) (@chmouel)
- b9af169: Reads default pipelinerun timeout value from configmap (#394) (@sm43)
- 5dce672: Removes generated secret after completion of user pipelinerun (#393) (@sm43)
- 34bc00f: Replaces Pipelinerun with taskrun in pac namespace (#390) (@sm43)
- 0261621: Returns branch name as
mainif ref asrefs-heads-main(#392) (@sm43) - e982869: Test should use already initialized k8s client (#403) (@guillaumerose)
- c169e33: Update PR Flow (@chmouel)
- ee19564: Update bitbucket cloud token creation instructions (@chmouel)
- 312f03d: Update cleanup cron to remove taskrun instead of pipelineRun (@sm43)
- da88994: Update documentation for 0.5.3 (@chmouel)
- 9b015d5: Update documentation on Repository CR creation (@sbose78)
- eb25c56: Update pkg/cmd/tknpac/bootstrap/bootstrap.go (@chmouel)
- e517b2e: Update to google-go v42 (@chmouel)
- 997ea7c: Update to pipelines 0.28.2 (@chmouel)
- def3857: Use golangci image version directly (@chmouel)
- 95df8d4: Use ubi latest 8.5 version instead of 8.4 (@chmouel)
- bbbdd69: [resolve] Don't crash when not connected to kube (#400) (@chmouel)
- ca7e407: add kind information in development.md (@chmouel)
- 1fb386b: fix getting repo spec credentials with no api url (@chmouel)
- 1f6e6fd: fix typecheck golangci assertions (@chmouel)
- 69e49b6: fixes pre push hook link in pull req template 😄 (#391) (@sm43)
- fb463ad: make release script cleanup (#389) (@chmouel)
- ce146fb: resolve, don't print error if pac is not insllaed (@chmouel)
- ca8e53f: use taskrun instead of pipelinerun (@chmouel)
0.5.2
OpenShift Pipelines as Code 0.5.2
- OpenShift Pipelines as Code version 0.5.2 is a minor release fixing a bug where simple annotations like those ones :
pipelinesascode.tekton.dev/on-event: "push"would not work while the array type ["push", "pul_request"] would work.
additionally we have added those features :
-
We now detect if the route URL when creating the github app have a self signed certificate and warn user about it to modify the github app setting.
-
We have added a new
tkn pac bootstrap github-appalias to directly created a Github Application without installing Pipelines as Code -
We have a documentation update with a flow chart of a typycal Pull Request from Github running with Piplines as Code https://github.com/openshift-pipelines/pipelines-as-code/blob/main/docs/flow.md
To install or update to 0.5.2 you simply need to
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.2/release-0.5.2.yamland make sure you follow the setup documentation :
https://github.com/openshift-pipelines/pipelines-as-code/blob/release-0.5.2/docs/install.md
What's Changed
- Add tkn pac bootstrap github-app by @chmouel in #368
- Add release helper to help releasing by @chmouel in #369
- Update cli.md by @Swilvan in #370
- make sure to warn when we have self encrypted ssl certs on route by @chmouel in #372
- Add Pipelinerun as Code typical Github PR flow by @chmouel in #373
- Improve workflow image with more details by @chmouel in #375
- Another improvement on the flow image by @chmouel in #376
- Revert "Another improvement on the flow image" by @chmouel in #377
- fixes typos in repo command alias and docs by @sm43 in #378
- Fixes annotation bug which used to err out on string value by @sm43 in #379
- Add pull request template by @chmouel in #380
- Verify Pipelines is installed before installing PaC by @guillaumerose in #382
- Check both unknown CA and bad certificate by @guillaumerose in #383
- Another day another flow update by @chmouel in #384
- Add defaults config for tkn-pc resolv by @guillaumerose in #386
- Add release version label to all resources by @chmouel in #388
New Contributors
- @Swilvan made their first contribution in #370
- @sm43 made their first contribution in #378
- @guillaumerose made their first contribution in #382
Full Changelog: 0.5.1...0.5.2
0.5.1
OpenShift Pipelines version 0.5.1
OpenShift Pipelines as Code version 0.5.1 is a minor release fixing a bug where a non collaborator in a repo will not be able to contribute even if a owner issues a /ok-to-test.
To update you simply can do :
VERSION=0.5.1
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.1/release-0.5.1.yaml0.5.0
💫 Pipelines as Code version 0.5.0 💫
OpenShift Pipelines as Code version 0.5.0 has been released 🥳.
Release 0.5 of Pipelines as Code is mostly a refactoring release but brings as well many features.
What’s New in Pipelines as Code
- 0.5 changed the Repository CRDs spec. It now only contains the Code Repository URL without the event type and target branch anymore.
The pipelinerun inside the .tekton directory are the one true source containing that information. There is no change to be done, those spec are going to be ignored if found on the CRD and the pipelrun had already them before since you had anyway needed to specify both.
Thetkn pac repo describecommand has been updated to reflect it:
-
Administrator can now disable the remote task feature via the
remote-tasksconfigmap directive. -
Administrator can now configure a custom tektoncd/hub endpoint via the
hub-urldirective inpipelines-as-codeconfigmap. -
The pipelinerun is now added to the Github Check name, it allows you to easily identify which pipelinerun the current CI run has matched :
-
We have a new
tkn pac generatecommand which got extracted fromtkn pac bootstrap. It nows detect what kind of source code you are running (only go and python are currently supported) and add some extra lint task to get you stared quickly with a tekton pipelinerun on your repository. -
We now set the version of pipelines as code on the running pipelirun and
tkn pacCLI. We have added as well the commandtkn pac version. -
We have hyperlinks in terminal which should be supported with most modern terminal, clicking on the SHA (with Control or⌘ key) will get you straight to the SHA URL on the console :
- We have added support for tektoncd/dashboard has a log url, you need to configure the
tekton-dashboard-urlto your ingress endpoint for Pac to pick it up.
Installation
With tkn-pac cli
You can quickly create a Github App, install Pipelines as Code and get started with the following command :
tkn pac bootstrapOpenShift
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.0/release-0.5.0.yamlKubernetes
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.0/release-0.5.0.k8s.yamland make sure you follow the setup documentation :
Upgrade
- make sure the pipelines-as-code configmap have all the new directives or remote tasks for example will fail.
- you can remove target_branch and target_event on your Repo CRD.
Full Changelog
e1ec750: Add CloneURL, Lower Secrets name and PRName to status
1d20415: Add Hyperlinks support !
0541c42: Add \n to OKToTestCommentRegexp
b2b68f3: Add bitbucket for e2e testing on kind/ghe
78d2288: Add bitbucket server support
1734a3d: Add cache variable for push pipeline
6d3d3fc: Add create permission to openshift-pipeline-as-code-clusterrole
3a8b9a6: Add force install switch to bootstrap
97d53af: Add generation
6d8c2c3: Add github action for E2E
3565686: Add go-expect library
8221d27: Add hyperlinks to the pipelinerunname
e52745c: Add test for checkSenderRepoMembership
00b617f: Add test for generation
e4ee702: Add test fort sort.RepositoryRunStatus
63d31f2: Add version to tkn-pac and generated pipelinerun
9827d34: Cleanup by the actual PR name in pr file
f20ce4d: Fix cd into the gocache directories on CI
39fa1d8: Fix e2e tests for remote annotations when the sender != Owner of the repo
33658fd: Fix getting last pr when there is a PAC Field
c24fd8f: Fix getting token from a key
d3dab77: Fix most unit tests and update golden
9dac7fe: Fix spelling when installing PAC in bootstrap
26e62d8: Fix tag on github workflow
be5a1c0: Get live pipelineruns as well for tkn pac repo desc
39319d6: Github: allow a user who belong to the repo to run CI
16cf919: Github: allow a user who belong to the repo to run CI
1e342c7: Let's go back to tektoncd/pipelines 0.24.3
be51de7: Make sure we skip clustertasks
4baf2bf: Make the ConsoleUI as an interface
341f407: Multiple other fixes for bootstrap
df2f104: New Repo Create
823258c: Print only the ApplicationName when no PR
e780238: Read configmap directly instead of using env variable
e72c66f: Refactor a bunch of stuff
f9319d5: Release 0.4.4
6d932a7: Remove Repo Match
2bc07f7: Remove TODO.md
98a9116: Remove creack/pty go-expect library
1a99be4: Remove no-color, it was buggy anyway
5db04a0: Rename every webvcs reference to git provider
0ef9d1a: Run generate pipeline just after create repo
cf764ff: Run pull request on target
396c850: Set GH_TOKEN as well for gh
4f39669: Show full URL instead of owner/repository
99820c9: Show task that we cannot parse
08a4934: Shuffle things around
f309f24: Test pipelines
3c2cd74: Testing of interactive using stubs
bdcc274: Update Documentation
dba783c: Update INSTALL.md
752fade: Update README.md
fdf35db: Update depencies
e72daf8: Update documentation
52bbd58: Use GOCACHE and GOMODCACHE env variable directly instead of symlink
0d6b662: Use pipelinetaskname for the log url
a0a1c59: better error message
c5f7baa: better error message when the wrong url is passed
aad378d: better error message when we cannot parse secret
9e2238e: chore: Target 70% for codecov
33de6ce: cosmetic printing fix in GetRepoByCR
b424267: doc: Add information for non admin user
c64e467: doc: update documentation
a6679c1: don't bug on WEBHOOK not configured
6314ee1: don't check source ips for bitbucket cloud
bc3f572: don't report nil or it will crash when not in git repo
957a4e7: feat(consoleui): Add Tekton Dashboard support
e8b6ab7: feat: Add LogURL in describe
1f839d4: feat: Allow changing tekton hub base url
e931641: feat: Allow disabling all remote tasks via configmap setting
5af6d7a: feat: add flags switches for cli's generate/create
f0827ff: feat: add pipelinerunname to the github check
3502d14: fix env variable
3c2ce76: fix linting transgression
e634e86: fix: don't error out when we cannot match
eda3007: make sure to create repo CRD at the end
44eb448: move pipelinerun sort to pkg/sort
3ce7edf: move tknpac commands to pkg/cmd/tknpac
f6ccc3c: refactor(info.event): Rename info event owner to repo
b6a3cf1: remove boldness
4206621: remove unusued libs
2bedfe0: skip webhook and bitbucket if not set
7cbb780: update documentation for 0.5.0 release
c4657ec: update document...
0.4.4
💫 Pipelines as Code version 0.4.4 💫
OpenShift Pipelines as Code version 0.4.4 has been released 🥳
- 0.4.4 is a minor release fixing an issue where ClusterTasks wasn't allowed.
Installation
With tkn-pac cli
You can quickly install Pipelines as Code with just this command :
tkn-pac bootstrapOpenShift
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.4/release-0.4.4.yamlKubernetes
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.4/release-0.4.4.k8s.yamland make sure you follow the setup documentation :
0.4.3
💫 Pipelines as Code version 0.4.3 💫
OpenShift Pipelines as Code version 0.4.3 has been released 🥳
- 0.4.3 is a minor release fixing other issues with the
tkn-pac bootstrapcommand which would not work creating application on public github.
Installation
With tkn-pac cli
If you would like to quickly you can install Pipelines as Code with the following command :
tkn-pac bootstrapOpenShift
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.3/release-0.4.3.yamlKubernetes
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.3/release-0.4.3.k8s.yamland make sure you follow the setup documentation :
0.4.2
💫 Pipelines as Code version 0.4.2 💫
OpenShift Pipelines as Code version 0.4.2 has been released 🥳
- 0.4.2 is a minor release fixing an issue with the
tkn-pac bootstrapwhen pac wasn't installed previously.
Installation
With tkn-pac cli
If you would like to quickly you can install Pipelines as Code with the following command :
tkn-pac bootstrapOpenShift
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.2/release-0.4.2.yamlKubernetes
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.2/release-0.4.2.k8s.yamland make sure you follow the setup documentation :
0.4.1
💫 Pipelines as Code version 0.4.1 💫
OpenShift Pipelines as Code version 0.4.1 has been released 🥳
What’s New in Pipelines as Code
-
Support for Bitbucket Cloud doc
-
Support for Github Webhook as an alternative to Github application. doc
-
Support for private repositories doc
-
Add a new command to tkn-pac to quickly "bootstrap" Pipelines as Code, installing the latest version and creating a Github Application. See a video
-
Pipelines as Code should be much faster to start a pipeline and create the initial status.
-
tkn-pac resolveshould now be smarter and resolve automatically the git repo with the current revision. -
MacOS universal binaries support for tkn-pac.
-
OpenShift 4.9 console now support in dev preview Pipelines as Code Repositories :
Installation
With tkn-pac cli
If you would like to quickly you can install Pipelines as Code with the following command :
tkn-pac bootstrapOpenShift
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.1/release-0.4.1.yamlKubernetes
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.1/release-0.4.1.k8s.yamland make sure you follow the setup documentation :
Upgrade
- The pipelines as code secret is now called
pipelines-as-code-secretyou will need to export the old secretgithub-app-secretand reimport is as the new name. - there is no need to specify a namespace in the Repository CRD spec, the namespace target will always be the namespace where the Repo CRD has been installed.




