Skip to content

Releases: openshift-pipelines/pipelines-as-code

v0.15.1

05 Jan 13:45
Compare
Choose a tag to compare

Pipelines as Code version v0.15.1

OpenShift Pipelines as Code patch version v0.15.1 has been released 🥳

  • If user is not allowed to run CI then don't proceed with execution

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.15.0

21 Dec 10:35
Compare
Choose a tag to compare

Pipelines as Code version v0.15.0

OpenShift Pipelines as Code patch version v0.15.0 has been released 🥳

  • You can now cancel pipelinerun with the /cancel comment, all of them to target a specific one PR Doc

  • We are now scoping the github apps token to the target repository, it would previously be enabled to be used on every repositry installation. You can change that behaviour with the secret-github-app-token-scopped setting and further with the secret-github-app-scope-extra-repos. Doc, PR

  • PipelineRun concurrency is now ordered Alphabetically instead of randomly as previously PR

  • annotation matcher on push and pull_request for greedy match should work the same now PR

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.14.3

05 Dec 06:46
Compare
Choose a tag to compare

Pipelines as Code v0.14.3

Pipelines as Code patch version v0.14.3 has been released 🥳

Features

pac-resolve.mp4
  • We are now hiding secrets from the log snippets, this avoid leaking secrets by looking into the PipelineRun and grab the environment variable on every tasks and steps attached to the PipelineRun, fetch the values of the secrets and if there are any match of those values in the log snippet it will replace them with a ***** palceholder. PR , error-snippet-DOC , error-log-snippet-setting-DOC

  • There are some update on tkn-pac create repo , tkn-pac webhook add tkn-pac generate commands

    • tkn-pac create repo

      • Add webhook when GithubApp is configured

        1. tkn-pac create repo won't add Github webhook when GithubApp is configured
        2. tkn-pac create repo add Gitlab webhook when GithubApp is configured
        3. tkn-pac create repo add Bitbucket Cloud webhook when GithubApp is configured
      • Add webhook when GithubApp is not configured

        1. tkn-pac create repo add Github webhook successfully and detect provider by command itself
        2. tkn-pac create repo add Gitlab webhook successfully and detect provider by command itself
        3. tkn-pac create repo add Bitbucket Cloud webhook successfully and detect provider by command itself
    • tkn-pac webhook add

      • Add webhook to existing repository
      • Re-add a webhook to existing repo because the webhook was deleted on the Git provider
    • tkn-pac generate

      • Added extra info regarding push
      $ ./tkn-pac generate
      ? Enter the Git event type for triggering the pipeline:  Pull Request
      ? Enter the target GIT branch for the Pull Request (default: main):  
      ℹ Directory .tekton has been created.
      ✓ A basic template has been created in /home/sashture/Go/src/github.com/savitaashture/cee/.tekton/pull-request.yaml, feel free to customize it.
      ℹ You can test your pipeline manually with: tkn-pac resolve -f .tekton/pull-request.yaml | kubectl create -f-
      ℹ You can test your pipeline by pushing generated template to your git repository
      

For more details refer to the hackmd.io document , PR

  • The secrets automatically generated for git_auth_secret are now a "owner reference" with pipelinerun. They will automatically get cleaned right with the PipelineRun instead of right after the pipelinerun execution. PR , Doc

  • The automatic secret now include a "token" key with the short lived token generated. PR , Doc.

  • Updated tkn-pac logs to show repo name instead of pr PR

  • Checking for github webhook token expiration was previously not working properly, we are now detecting properly if the token has expired. PR

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.14.2

24 Nov 13:20
Compare
Choose a tag to compare

OpenShift Pipelines version v0.14.2

OpenShift Pipelines as Code patch version v0.14.2 has been released 🥳

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.14.1

22 Nov 10:44
Compare
Choose a tag to compare

OpenShift Pipelines version v0.14.1

OpenShift Pipelines as Code patch version v0.14.1 has been released 🥳

This is a minor release fixing some bugs introduced in v0.14.0 release, see the Changelog for more details

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.14.0

21 Nov 09:20
22af0ea
Compare
Choose a tag to compare

OpenShift Pipelines version v0.14.0

OpenShift Pipelines as Code patch version v0.14.0 has been released 🥳

Features

  • If there is any error for your pipelinerun you can now see a display of those errors and addition of a small snippet into the github checks or as vcs comment - PR DOC

202494794-74054894-d83d-42d0-97be-f94460fb8bfc

  • As an alpha preview feature, Pipelines as Code is now able to detect error inside the tasks if they are of a simple format and add as annotations on Github. See the Documentation here and the settings to enable the feature. PR

image

  • There are some removal and addition of new commands

    • tkn-pac setup command has been removed PR

    • In order to add webhook and update provider token we have introduced set of commands

      • tkn-pac webhook add Allows you to add new webhook secret for a given provider and update the value of the new webhook secret in the existing Secret object used to interact with Pipelines as Code Doc

        Screenshot from 2022-11-21 17-41-48

      • tkn-pac webhook update-token Allows you to update provider token for an existing Secret object to interact with Pipelines as Code Doc

        Screenshot from 2022-11-21 17-42-58

    • Enhanced functionality of tkn-pac create repo which now creates and configures webhook for Github, Gitlab and BitbucketCloud along with creating Repository. Doc

      Screenshot from 2022-11-21 17-48-08

  • tkn-pac describe command now display events in sorted order with latest 50 PR

  • pipelinerun should now have the log url included as annotation, this will let tkn pac describe to properly show the log link when describing a Pipelinerun. PR

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.13.1

10 Nov 09:25
Compare
Choose a tag to compare

OpenShift Pipelines version v0.13.1

OpenShift Pipelines as Code patch version v0.13.1 has been released 🥳

This is a minor release fixing some bugs introduced in v0.13.0 release, see the Changelog for more details

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.13.0

08 Nov 09:22
Compare
Choose a tag to compare

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 and tkn-pac describe has many new features and bug fixes Doc
    • tkn 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 :

https://pipelinesascode.com

Full Changelog

Read more

v0.12.0

20 Sep 08:24
bc8a9ad
Compare
Choose a tag to compare

OpenShift Pipelines version v0.12.0

OpenShift Pipelines as Code patch version v0.12.0 has been released 🥳

Features

  • This release introduces a proper Gitea driver. It doesn't have the cli tooling yet but it's perfectly working with the same set of features as the other drivers. doc

  • The controller watches for changes on the pipelines-as-code configmap instead of having to do a restart of controller to take the config changes into account.

  • We have reworked the e2e tests to be more comprehensive based on Gitea (to avoid rate limitation from other provider tokens).

  • We have added support for advanced event matching on filepath. It will allow you to express something like: I want to run this pipeline on docs/ and not the others. doc

  • We have added support for advanced event matching on PR/MR titles. It will allow you to express something like: I want to run this pipeline if it has the title of PR starting with the word [TESTME]. doc

  • We have new flow diagrams in our documentation. This pac flow and concurrency flow].

Bugfixes

  • We have fixes on concurrency, name in labels escaping, CLI and error reporting.

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog

v0.11.1

09 Aug 06:41
Compare
Choose a tag to compare

OpenShift Pipelines version v0.11.1

OpenShift Pipelines as Code patch version v0.11.1 has been released 🥳

This release fixes issue of failure to report pipelinerun status with GitHub App, QPS limit getting reached and auto generated secrets not getting deleted.

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

Kubernetes

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

Documentation

documentation is available here :

https://pipelinesascode.com

Changelog