Skip to content

Releases: openshift-pipelines/pipelines-as-code

0.5.1

18 Nov 14:00
0.5.1
f0502f5
Compare
Choose a tag to compare

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.yaml

0.5.0

15 Nov 14:03
3e2aaf6
Compare
Choose a tag to compare

💫 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.
    The tkn pac repo describe command has been updated to reflect it:

image

  • Administrator can now disable the remote task feature via the remote-tasks configmap directive.

  • Administrator can now configure a custom tektoncd/hub endpoint via the hub-url directive in pipelines-as-code configmap.

  • The pipelinerun is now added to the Github Check name, it allows you to easily identify which pipelinerun the current CI run has matched :

image

  • We have a new tkn pac generate command which got extracted from tkn 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 pac CLI. We have added as well the command tkn 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 :

image

  • We have added support for tektoncd/dashboard has a log url, you need to configure the tekton-dashboard-url to 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 bootstrap

OpenShift

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.0/release-0.5.0.yaml

Kubernetes

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.5.0/release-0.5.0.k8s.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.5.0/docs/INSTALL.md#installation-guides

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...

Read more

0.4.4

21 Oct 17:16
Compare
Choose a tag to compare

💫 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 bootstrap

OpenShift

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.4/release-0.4.4.yaml

Kubernetes

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.4/release-0.4.4.k8s.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.4.4/docs/INSTALL.md#installation-guides

0.4.3

14 Oct 14:43
Compare
Choose a tag to compare

💫 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 bootstrap command 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 bootstrap

OpenShift

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.3/release-0.4.3.yaml

Kubernetes

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.3/release-0.4.3.k8s.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.4.3/docs/INSTALL.md#installation-guides

0.4.2

14 Oct 10:39
f0e4864
Compare
Choose a tag to compare

💫 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 bootstrap when 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 bootstrap

OpenShift

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.2/release-0.4.2.yaml

Kubernetes

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.2/release-0.4.2.k8s.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.4.2/docs/INSTALL.md#installation-guides

0.4.1

14 Oct 06:56
3999247
Compare
Choose a tag to compare

💫 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 resolve should 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 :

2021-10-14__09-48-32-9294

image

Installation

With tkn-pac cli

If you would like to quickly you can install Pipelines as Code with the following command :

tkn-pac bootstrap

OpenShift

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.1/release-0.4.1.yaml

Kubernetes

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.4.1/release-0.4.1.k8s.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.4.1/docs/INSTALL.md#installation-guides

Upgrade

  • The pipelines as code secret is now called pipelines-as-code-secret you will need to export the old secret github-app-secret and 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.

0.3

16 Sep 12:16
Compare
Choose a tag to compare
0.3

💫 Pipelines as Code version 0.3 💫

OpenShift Pipelines as Code version 0.3 has been released 🥳

This is compatible with at least OpenShift Pipelines 1.6 (shipped with OpenShift 4.8.x) and with Triggers version 0.13

To install this version you can just do :

OpenShift

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.3/release-0.3.yaml

Kubernetes

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.3/release-0.3.k8s.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/tree/0.3/INSTALL.md

Changelog

Enhancement ✨

  • Automatically create a secret with the github token generated from the github app so users can access private repositories to use. See documentation : https://github.com/openshift-pipelines/pipelines-as-code#private-repositories.
  • Added the Route auto creation in release.yaml, providing a release.k8s.yaml for non openshift pure kubernetes cluster.
  • Migrate to latest triggers syntax (>0.13) which makes OpenShift Pipelines 4.8 a requirement and Trigger 0.13 the minmal requirements.
  • Updated Install instruction to make it a bit more clear.

Bugfixes 🐛

  • A lot of bugfixes and increase robustness with a new E2E testsuite running on GHE.

CONTRIBUTORS 🙏 🙇🏻

0.2

09 Aug 14:28
Compare
Choose a tag to compare
0.2

⭐ Pipelines as Code version 0.2 ⭐

Pipelines as Code version 0.2 has been released 🥳

To install this version you can just do :

VERSION=0.2
kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-$VERSION/release-$VERSION.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/tree/main/INSTALL.md

Changelog

Enhancement ✨

  • Add sha_url to repository status and annotation
    pipelinesascode.tekton.dev/sha-url. This let you view the SHA from the VCS where the payload come from.
  • Add sha_title to repository status and annotation
    pipelinesascode.tekton.dev/sha-title. This gives you the title of the commit that gets tested.

Fixes 🐛

  • Rename all prefixed labels from tekton.dev/ to pipelinesascode.tekton.dev/event
  • Renamed most labels to make more sense.

0.1

01 Jul 10:56
Compare
Choose a tag to compare
0.1

OpenShift Pipelines version 0.1

OpenShift Pipelines as Code version has been released 🥳

To install this version you can just do :

kubectl apply -f https://raw.githubusercontent.com/openshift-pipelines/pipelines-as-code/release-0.1/release-0.1.yaml

and make sure you follow the setup documentation :

https://github.com/openshift-pipelines/pipelines-as-code/tree/main/INSTALL.md

Changelog

First release of pipelines as code