Skip to content

Releases: openshift-pipelines/pipelines-as-code

v0.33.0

14 Feb 14:28
Compare
Choose a tag to compare

OpenShift Pipelines as Code v0.33.0

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

Kubernetes

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

Documentation

The documentation for this release is available here :
https://release-v0-33-0.pipelines-as-code.pages.dev

What’s New?

  • 🚀 Features

  • 🛠️ Fixes

    • Validate Repository URL on creation. #1926
    • Fix GitOps Command Issue on Pushed Commit by Unauthorized User. #1922
    • Fix forcetypeassert errors. #1933
    • Fix handle multiline trigger comment var properly. #1934
    • Fix image path in generate-releaseyaml.sh. #1920
    • Fix TestGithubSecondCancelInProgress test condition. #1895
    • Fix GitLab MR Not Updated Issue on Forked Repository. #1892
    • Fix goreleaser Issue. #1893
    • strip spaces and newlines from the comment before matching. #1924
    • Fix Default Branch Issue on GitOps Comment Event in GitHub. #1918
    • Fix ok-to-test comment issue for external user on GitHub. #1899
    • fix(gitlab): correct the issues with obtaining pr or branch name #1901
    • fix(gitlab): correct the value of SHATitle in Merge event #1902
  • 🔄 Refactors

    • Use prow from the pipelines-as-code-prow repo. #1908
    • Use KO for building and pushing images. #1913
  • 🔧 Dependency Updates

    • Bump docker/build-push-action from 6.12.0 to 6.13.0. #1896
    • Update Jenkins-x/go-scm version. #1912
    • Update go-github to v68. #1909
  • 📝 Documentation

    • Add Developer Resources documentation to Documentation menu. #1900
    • Add Docs for Block Values in PAC Dynamic Variables. #1907
    • Clarification About GitOps Command Execution. #1911 #1897
  • 🧪 Testing

    • Add unit tests for IOStreams package. #1919
    • Add test for pkg/cli/color. #1916
  • Miscellaneous

    • Remove Dockerfile and update dev docs. #1927
    • Add repo name on KO_DOCKER_REPO. #1915
    • Added changes field in push event struct for Bitbucket server. #1886

📊 Summary

Category Count
🚀 Features 3
🛠️ Fixes 9
🔄 Refactors 2
🔧 Dependency Updates 3
📝 Documentation 4
🧪 Testing 2
❇ Misc 3

New Contributors 🙏🏻

All Changes

  • Fix goreleaser Issue by @zakisk in #1893
  • Fix GitLab MR Not Updated Issue on Forked Repository by @zakisk in #1892
  • Bump docker/build-push-action from 6.12.0 to 6.13.0 by @dependabot in #1896
  • fix TestGithubSecondCancelInProgress test conditio by @chmouel in #1895
  • Clearification About GitOps commands on closed Pull Requests by @zakisk in #1897
  • feat: add prow like PR management by @chmouel in #1903
  • chore: remove @ symbol in /assign /unassign prow by @chmouel in #1904
  • feat(prow): use request review for assign/unassign by @chmouel in #1905
  • fix(gitlab): correct the value of SHATitle in Merge event by @l-qing in #1902
  • Use prow from the pipelines-as-code-prow repo by @chmouel in #1908
  • fix: correct the issues with obtaining pr or branch name by @l-qing in #1901
  • feat(prow): add merge command and update params by @chmouel in #1910
  • Implement Set Client func in Bitbucket Server by @zakisk in #1894
  • Add Docs for Block Values in PAC Dynamic Variables by @zakisk in #1907
  • Fix ok-to-test comment issue for external user on GitHub by @zakisk in #1899
  • docs: Add Developer Resources documentation to Documentation menu by @aThorp96 in #1900
  • Update go-github to v68 by @chmouel in #1909
  • Update Jenkins-x/go-scm version by @zakisk in #1912
  • Use KO for building and pushing images by @chmouel in #1913
  • Add repo name on KO_DOCKER_REPO by @chmouel in #1915
  • Add test for pkg/cli/color by @chmouel in #1916
  • test: add unit tests for IOStreams package by @chmouel in #1919
  • Fix image path in generate-releaseyaml.sh by @chmouel in #1920
  • Fix trigger_comment newline by @chmouel in #1921
  • Add rebase command to prow commands by @chmouel in #1923
  • Fix Default Branch Issue on GitOps Comment Event in Github by @zakisk in #1918
  • Implement GetFiles Func of Bitbucket Server Provider for CEL Expression by @zakisk in #1917
  • fix: Validate Repository URL on creation by @chmouel in #1926
  • chore: remove Dockerfile and update dev docs by @chmouel in #1927
  • Clarification About GitOps Command Execution on Pushed Commits by @zakisk in #1911
  • fix: strip spaces and newlines from the comment before matching by @chmouel in #1924
  • pac-Prow has been renamed to boussole by @chmouel in #1928
  • fix(golangci-lint): fix forcetypeassert errors by @chmouel in #1933
  • fix handle multiline trigger comment var properly by @chmouel in #1934
  • Fix GitOps Command Issue on Pushed Commit by Unautorized User by @zakisk in #1922

Full Changelog: v0.32.0...v0.33.0

v0.32.0

21 Jan 10:35
Compare
Choose a tag to compare

OpenShift Pipelines as Code v0.32.0

OpenShift Pipelines as Code v0.32.0 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.32.0/release.yaml

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-32-0.pipelines-as-code.pages.dev

What’s New?

🚀 Features

  • Add support for GitOps comments on Push commits. #1638
  • Auto-cancel PipelineRuns on PR close. #1867

🛠️ Fixes

  • Set EventType for push event in ParsePayload of Bitbucket server. #1891
  • Fixed gitlab parse_payload_test issue. #1890
  • Resolved status update issue for GitLab instances with relative paths. #1881
  • Fixed black formatting errors in deploy.py. #1884

🔧 Dependency Updates

  • Bump ko-build/setup-ko from 0.7 to 0.8. #1889
  • Bump docker/build-push-action from 6.10.0 to 6.12.0. #1888

📝 Documentation

  • Corrected typos and improved readability. #1880

🧪 Testing

  • Configured E2E test setup on PAC for bitbucket server. #1820

❇ Miscellaneous

  • Updated pull request submit template. #1885

📊 Summary

Category Count
🚀 Features 2
🛠️ Fixes 4
🔄 Refactors 0
🔧 Dependency Updates 2
📝 Documentation 1
🧪 Testing 1
❇ Misc 1

Full Changelog

Full Changelog: v0.31.0...v0.32.0

v0.29.1

07 Jan 13:23
Compare
Choose a tag to compare

Pipelines as Code version v0.29.1

OpenShift Pipelines as Code v0.29.1 has been released 🥳

This release update the golang/x/crypto library fixing a potential security with auth bypass

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-29-1.pipelines-as-code.pages.dev

Changelog

v0.28.2

07 Jan 13:23
Compare
Choose a tag to compare

Pipelines as Code version v0.28.2

OpenShift Pipelines as Code v0.28.2 has been released 🥳

This release update the golang/x/crypto library fixing a potential security with auth bypass

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-28-2.pipelines-as-code.pages.dev

Changelog

v0.31.0

17 Dec 10:56
Compare
Choose a tag to compare

OpenShift Pipelines as Code v0.31.0

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-31-0.pipelines-as-code.pages.dev

What’s New?

  • 🚀 Features

    • New CLI command for testing glob patterns against Git directories. #1841
    • Support for escaped commas (,) in PipelineRun annotations. #1825
  • 🛠️ Fixes

    • Fixed generateName matching for webhooks. #1855
    • Resolved CEL issues for Bitbucket Server push events. #1857
    • Improved YAML validation and error handling for Bitbucket Server. #1846
    • Reduced E2E test flakiness caused by Go’s timer behavior changes. #1856
    • Skipped flaky tests on OSX ARM64. #1848
    • Prevented empty onEvent and onTargetBranch annotations. #1851
  • 🔄 Refactors

    • Refactored YAML validation for better readability. #1858
    • Migrated to new GitLab Go API client. #1866
  • 🔧 Dependency Updates

    • Updated golang.org/x/crypto to avoid vulnerabilities. #1861
    • Bumped docker/build-push-action to v6.10.0. #1842
  • 📝 Documentation

    • Improved wording and examples for on-path-change and ignore functionality. #1860
    • Added GitLint to Makefile for pre-commit checks. #1860
  • 🧪 Testing

    • Added E2E test for GitHub cancel-in-progress. #1865
    • Enhanced Gitea test for bad YAML. #1864
  • Miscellaneous

    • Added support matrix shortcode to policy guide. #1868
    • Enabled disabling health probes via an environment variable. #1862

📊 Summary

Category Count
🚀 Features 2
🛠️ Fixes 6
🔄 Refactors 3
🔧 Dependency Updates 3
📝 Documentation 2
🧪 Testing 3
❇ Misc 3

Full Changelog: GitHub Release

New Contributors 🙏🏻

v0.30.0

27 Nov 11:51
Compare
Choose a tag to compare

Pipelines as Code version v0.30.0

OpenShift Pipelines as Code v0.30.0 has been released 🥳

This major release brings new features and the usual bugfixes and improvements.

Features

  1. Cancel-In-Progress Feature:
    • Added functionality to cancel pipeline runs in progress. (#1816)
Pipelines.as.Code.-.Cancel.in.Progress.ayqtVG8cEnY.mp4
  1. Path-Based PipelineRun Annotations:
    • Annotation support for matching PipelineRuns based on file paths. (#1823)
pac-path-change-annotation-matcher.mp4

Bug Fixes

  1. Cancel-In-Progress Improvements:
    • Fixed cancel-in-progress to act on the same pull request/branch. (#1826)
    • Addressed issues with cancel-in-progress when triggered by retest comments. (#1833)
  2. Bitbucket Cloud Repository Naming:
    • Resolved an issue where repository names in Bitbucket Cloud were breaking due to incorrect URL slug forms. (#1781)

Chores

  1. Namespace Configuration:
    • Ensured proper namespace settings in configuration. (#1824)
  2. Konflux Updates:
    • Removed and updated Konflux configurations. (#1834, #1838)
  3. Dependency Updates:
    • Upgraded Go dependencies to the latest versions. (#1815)
    • Bumped docker/metadata-action from 5.5.1 to 5.6.1. (#1832)
    • Updated jaxxstorm/action-install-gh-release to 1.13.0. (#1818)
    • Updated pre-commit configurations. (#1815)
  4. Obscured Smee URLs:
    • Improved security by hiding sensitive URLs in logs. (#1829)
  5. Gitlint Optimization:
    • Configured Gitlint to run only on pull requests for efficiency. (#1822)
  6. Documentation Updates:
    • Rephrased policy sections. (#1823)
    • Updated CEL expression documentation. (#1830)
  7. Bitbucket Server Secrets Integration:
    • First part of the plumbing upgrade to get bitbucket server E2E running (#1821)
  8. Dogfood Enhancements:
  • Used cancel-in-progress/path-change features in internal tests. (#1831)

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-30-0.pipelines-as-code.pages.dev

Changelog

What's Changed

New Contributors

Full Changelog: v0.29.0...v0.30.0

v0.29.0

08 Nov 16:55
2609b4b
Compare
Choose a tag to compare

Pipelines as Code version v0.29.0

OpenShift Pipelines as Code v0.29.0 has been released 🥳

This version bring many fixes and performances improvement.

  • Performance and Metrics Enhancements

    • New metrics added to monitor pipeline run durations and active runs,
      improving observability.
  • Git Provider Improvements

    • Fixed issues with GitLab handling for over 20 files in .tekton/.
    • Enhanced GitLab pagination for improved handling of merge request diffs.
    • Improved error handling and fixed crashes for invalid Bitbucket payloads.
  • Bitbucket Server fixes

    • Fixed panic issues in the PAC controller when dealing with empty commits
      and tag deletion events on GitLab.
    • Addressed pipeline variable resolution issues on Bitbucket Server.
    • Ensure Git authentication token validity before processing to prevent
      security risks.
  • Bitbucket Cloud fixes

    • Fixed tag reference issues on Bitbucket Cloud.
  • Concurrency

    • Enhanced handling of concurrency, including the Watcher queue
      initialization and failure continuation. Watcher used to fail and not being
      able to process other PipelineRun when a failure was occurring when starting
      the PipelineRun (on for example on a busy server). This now has been fixed.
  • Documentation and Usability Updates

    • Various minor fixes, including typo corrections, markdown linting, and
      installation guidance improvements.
    • Bumped versions for dependencies such as docker/build-push-action and jwt,
      improving security and compatibility.

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-29-0.pipelines-as-code.pages.dev

Changelog

What's Changed

Read more

v0.28.1

31 Oct 16:23
Compare
Choose a tag to compare

Pipelines as Code version v0.28.1

Pipelines as Code bugfix release

Changes

  • Bug Fixes
    • [Bitbucket] Token Validation: Ensure the token is valid before proceeding with the rest of the code. @chmouel
    • [Bitbucket] Error Handling: Fixed a crash when the Bitbucket Server payload is missing required fields. @chmouel
    • [GitLab] Pagination: Introduced keyset pagination for GitLab tests, ensuring handling of more than 20 .tekton/ files. @ralphbean
    • [GitLab] PAC Controller Panic: Fixed a panic in the PAC controller when handling empty commits and during tag delete events in GitLab. @zakisk
  • [Gitlab] Change Message to Title in event.SHATitle field @zakisk
  • [Concurrency] Fix overriding retry settings in PatchPipelineRun @chmouel
  • [Concurrency] fix watcher queue initialisation on concurrency @chmouel
  • [cli] Fix tkn pac create repo when outside git repo @chmouel

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-28-1.pipelines-as-code.pages.dev

Full Changelog

Full Changelog: v0.28.0...v0.28.1

v0.28.0

19 Sep 17:40
Compare
Choose a tag to compare

Pipelines as Code version v0.28.0

OpenShift Pipelines as Code v0.28.0 has been released 🥳

This is a major release with new features and usual bugfix and refactoring.

  • Enhanced pipelines_as_code_pipelinerun_count metric counter to enable filteration of PipelineRun count by Repository or Namespace. PR
  • Setting Controller, Webhook and Watcher Deployments securityContext readOnlyRootFilesystem to true
    to increase the security and to avoid being flagged by the security scanner. PR
  • Fix of multiple blocker issues related to global repository functionality. PR-1742, PR-1745 and PR-1753
  • Redesign and Enhancement of PAC Resolver to cover few scenarios like PR
    • PAC will not resolve Pipelines unnecessarily which are not part of the PipelineRuns filtered for the event
    • Now you can use different version of same Task in different PipelineRuns/Pipelines.

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

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-28-0.pipelines-as-code.pages.dev

Changelog

v0.27.2

05 Jul 11:31
Compare
Choose a tag to compare

Pipelines as Code version v0.27.2

OpenShift Pipelines as Code v0.27.2 has been released 🥳

This minor release address mainly a regression on the {{ event_type }} variable which was previously changed to different type of comments depending of the gitops comment (for example retest-all would be set when the user issue a /retest) it is now reply as before to {{ pull_request }} to not break pipelinerun who were relying on 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/v0.27.2/release.yaml

Kubernetes

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

Documentation

The documentation for this release is available here :

https://release-v0-27-2.pipelines-as-code.pages.dev

Changelog