Skip to content

Releases: openshift-pipelines/pipelines-as-code

0.8.0

17 May 13:02
79e6111

Choose a tag to compare

OpenShift Pipelines As Code version 0.8.0

We are thrilled to announce the release of Pipelines as Code 0.8.0 🥳

This release brings new features and many more improvements. The highlights are :

  • tkn-pac repo delete command which will allow you to delete a Repository CR and its associated secrets
  • Support of /test <pipelineRun-name> command which will trigger a specific pipelineRun from the git repository
    test-pr
  • Adds Gitea Support (limited Support) for dev and offline demo. Please checkout the documentation here

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

0.7.1

04 May 02:05
61acec8

Choose a tag to compare

OpenShift Pipelines version 0.7.1

OpenShift Pipelines as Code patch version 0.7.1 has been released 🥳

This release fixes the failure to report actual status of failed pipelinerun.

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

0.7.0

29 Apr 12:21
1644d7f

Choose a tag to compare

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.

final-webhook

  • 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 :

https://pipelinesascode.com

Changelog

0.5.10

19 Apr 11:04
3e2ef3f

Choose a tag to compare

OpenShift Pipelines version 0.5.10

OpenShift Pipelines as Code version 0.5.10 has been released 🥳

To install this version you can just do :

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

and make sure you follow the setup documentation :

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

Changelog

0.6.1

13 Apr 09:46
9c00104

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

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

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

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

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

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