Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-1428

Craft a new buildpacks ClusterBuildStrategy for Tech Preview

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • builds-1.5
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      With this update, two buildpacks `ClusterBuildStrategy` options are available for {builds-title}:

      * `buildpacks` strategy
      * `buildpacks-extender`strategy

      [NOTE]
      ====
      The `buildpacks-extender`strategy is compatible with the experimental buildpacks`extender` lifecycle phase. You can use this strategy e.g for builds based on Node.js. However, the `extender` phase does not support Quarkus or any other Java-based builds. For such builds, you should use the `buildpacks` strategy instead.
      ====

      Both strategies introduce new features, enhance compliance with Cloud Native Buildpacks (CNB) 0.12 specifications, and improve the overall stability and usability of the buildpacks `ClusterBuildStrategy`.


      [IMPORTANT]
      ====
      Buildpacks is a Technology Preview feature only. Technology Preview features are not supported with Red{nbsp}Hat production service level agreements (SLAs) and might not be functionally complete. Red{nbsp}Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.

      For more information about the support scope of Red{nbsp}Hat Technology Preview features, see link:https://access.redhat.com/support/offerings/techpreview/[Technology Preview Features Support Scope].
      ====
      Show
      With this update, two buildpacks `ClusterBuildStrategy` options are available for {builds-title}: * `buildpacks` strategy * `buildpacks-extender`strategy [NOTE] ==== The `buildpacks-extender`strategy is compatible with the experimental buildpacks`extender` lifecycle phase. You can use this strategy e.g for builds based on Node.js. However, the `extender` phase does not support Quarkus or any other Java-based builds. For such builds, you should use the `buildpacks` strategy instead. ==== Both strategies introduce new features, enhance compliance with Cloud Native Buildpacks (CNB) 0.12 specifications, and improve the overall stability and usability of the buildpacks `ClusterBuildStrategy`. [IMPORTANT] ==== Buildpacks is a Technology Preview feature only. Technology Preview features are not supported with Red{nbsp}Hat production service level agreements (SLAs) and might not be functionally complete. Red{nbsp}Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red{nbsp}Hat Technology Preview features, see link: https://access.redhat.com/support/offerings/techpreview/ [Technology Preview Features Support Scope]. ====
    • Technology Preview
    • Proposed
    • Builds Sprint #29, Builds Sprint #30, Builds Sprint #31
    • 3

      Description of problem:

      Craft a new buildpacks ClusterBuildStrategy for Tech Preview. Current strategy is CNB platform spec 0.12 compliant but it doesn't support the extender phase. Although extender phase is experimental in 0.12 but we would like to see it going further on hence it's a good idea to implement the extender phase with our build strategy.

      This strategy from redhat-buildpakcs implements extender phase but it is focused on quarkus builds and doesn't implement all lifecycle phases needed for 0.12 compliance.

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      Create a new build strategy which builds on top of https://github.com/redhat-openshift-builds/strategy-catalog/tree/main/clusterBuildStrategy/buildpacks and takes inspiration from redhat-buildpacks strategy to implement extender phase.

       

       *

              rh-ee-asatyam Ayush Satyam
              rh-ee-asatyam Ayush Satyam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: