Skip to content

Releases: openshift-pipelines/pipelines-as-code

0.6.1

13 Apr 09:46
9c00104
Compare
Choose a tag to compare

OpenShift Pipelines version 0.6.1

OpenShift Pipelines as Code patch version 0.6.1 has been released 🥳

This fix, being able reporting the task breakdown on the provider interface when there is a failure.

This bring other fixes related to release and generation of the release yaml files.

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.6.1/release.yaml

Kubernetes

kubectl apply -f https://github.com/openshift-pipelines/pipelines-as-code/releases/download/0.6.1/release.k8s.yaml

Documentation

documentation is available here :

https://pipelineascode.com

What's Changed

  • Don't fail immediately when we have an error by @chmouel in #570
  • Generate stable refs instead of tags by @chmouel in #569
  • Try to import the same fix as what we have on push by @chmouel in #576

Full Changelog: 0.6.0...0.6.1

0.5.9

13 Apr 10:04
Compare
Choose a tag to compare

OpenShift Pipelines version 0.5.9

OpenShift Pipelines as Code version 0.5.9 has been released 🥳

  • This fix, being able reporting the task breakdown on the provider interface when there is a failure

To install this version you can just do :

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

and make sure you follow the setup documentation :

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

Changelog

Full Changelog: 0.5.8...0.5.9

0.6.0

12 Apr 12:31
a1a4897
Compare
Choose a tag to compare

Pipelines as Code 0.6.0

We are thrilled to announce the release of Pipelines as Code 0.6.0

This release brings many features and a new architecture, moving away from a triggers and task based flow to use a controller to control the PipelineRun execution.

If you are upgrading from a 0.5.x release, make sure to read the upgrade notes before installing the 0.6 release.

Install Notes

To install you can simply use kubectl.

OpenShift

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

Kubernetes

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

tkn-pac

  • tkn pac boostrap - this will install the latest version and let you create a GitHub apps
  • tkn pac bootstrap --skip-github-app - this will just install the latest version.

Documentation

https://pipelinesascode.com/

New Features

New Documentation Website

We have a new documentation website pipelinesascode.com.

New Controller

instead of using the tekton triggers eventlistenner to handle events, we are now using new controller, which allows us to have greater flexibility to manage the Runs.

A nice side effect is a much improved startup between the time the webhook is received to the time we report it on the Github/provider interfaces.

There is no user changes, the only difference will be the location of the Pipelines as Code logs inside the pipelines-as-code namespace, now located inside the controller logs instead of the individual TaskRun.

Add Gitlab support

We have added Gitlab support. Using a webhook, it will report back the status of the pipelines directly as a comment of the merge request, see the documentation for more info.

Documentation: https://pipelinesascode.com/docs/install/gitlab/

Advanced pipeline filtering with CEL

You are now able to use CEL to match a pipelinerun to an event. This allows a more flexible filtering on request to match PipelineRun to events.

Documentation: https://pipelinesascode.com/docs/guide/autoringprs/#advanced-event-matching

More template variables

New template variables has been added :

  • {{source_branch}}: The branch name where the event come from.
  • {{target_branch}}: The branch name on which the event targets (same as source_branch for push events).
  • {{pull_request_number}}: The pull or merge request number, only defined when we are in a pull_request event type.

Documentation: https://pipelinesascode.com/docs/guide/autoringprs/

Timeout from PipelineRun are now respected

We are now respecting the timeout parameter from the PipelineRun or from the Tekton controller. Unless the global setting default-pipelinerun-timeout in the pipelines-as-code configmap is set.

Documentation: https://pipelinesascode.com/docs/install/settings/

Upgrade Notes

Cleanup

Since we moved away from the triggers template, there will be some cleaning to do before installing the update.

Launch this command to clean up the resources manually :

for t in  TriggerBinding CronJob EventListener TaskRun TriggerBinding TriggerTemplate;do \
kubectl delete --all -n pipelines-as-code ${t};done

Route/Ingress change

Since we have moved to use a controller, the route on OpenShift or Ingress on Kubernetes may need to be updated. This is the target Service that needs to be used :

  to:
    kind: Service
    name: pipelines-as-code-controller

Repo CRD changes

The default secret key for repository CRD are :

  • provider.token - previously token
  • webhook.secret - previously secret

you may have to update your repo crds if you were using the previous defaults.

Default timeout on PipelineRun

We previously had a hard limit of 2 hours on every PipelineRun, we are now able to respect the settings as configured on the PipelineRun.

If you are upgrading, you may want to remove the default-pipelinerun-timeout setting from the configmap.

Changelog

Read more

0.5.8

11 Apr 15:17
0.5.8
4c66b81
Compare
Choose a tag to compare

OpenShift Pipelines version 0.5.8

OpenShift Pipelines as Code version 0.5.8 has been released 🥳

This release fixes a pretty bad bug where timeout wasn't respected and pipelines will fail when going over 10 minutes (!!) :
3e0d392

We now generate pipelinerun using the git-clone ClusterTasks instead of the hub task if it's available on the cluster :
4c66b81

To install this version you can install the release.yaml with kubectl for your platform :

Installation

Openshift

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

Kubernetes

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

Documentation

full install documentation is available here:

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.5.8/docs/install.md

0.5.7

08 Apr 05:10
Compare
Choose a tag to compare

OpenShift Pipelines version 0.5.7

OpenShift Pipelines as Code version 0.5.7 has been released 🥳

This release fixes following bugs :

To install this version you can install the release.yaml with kubectl for your platform :

Installation

Openshift

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

Kubernetes

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

Documentation

full install documentation is available here:

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.5.7/docs/install.md

0.5.6

01 Apr 12:28
601506f
Compare
Choose a tag to compare

OpenShift Pipelines version 0.5.6

OpenShift Pipelines as Code patch version 0.5.6 has been released 🥳

This release fix minor bugs :

To install this version you can install the release.yaml with kubectl for your platform :

Installation

Openshift

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

Kubernetes

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

Documentation

full install documentation is available here:

https://github.com/openshift-pipelines/pipelines-as-code/blob/0.5.6/docs/install.md

0.5.5

29 Mar 12:15
0.5.5
ee9517c
Compare
Choose a tag to compare

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

and 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

15 Mar 11:49
0.5.4
4f96713
Compare
Choose a tag to compare

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

and 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

21 Feb 16:15
0.5.3
660d5ca
Compare
Choose a tag to compare

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

and make sure you follow the setup documentation :

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

Full Changelog

0.5.2

08 Dec 16:40
0.5.2
2cb8daf
Compare
Choose a tag to compare

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

and 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

New Contributors

Full Changelog: 0.5.1...0.5.2