• None

      Asset generation in CLI in MTA 7.3 is a Dev Preview
      (Full feature (Integration in the Hub and everything) in planned for MTA 8.0)

      This effort will cover the development of a golang CLI tool capable of performing discovery and transformation of a PCF application. This task does not expect a tool compatible with the Konveyor addon process.

      We want a `discover` and `generate` command. The `discover` command should output a yaml/json file similar to the output of M2K's `collect` and `plan` commands. The format of this file can be a bare minimum for an MVP; though we should consider that we want this to eventually be a canonical configuration structure capable of handling other platforms. This `discover` command can take in one supported `โ€“platform` flag: `pcf`.

      The `generate` command should template out assets for the application to be deployed to OCP. This `generate` command should take in a helm template and spit out a helm chart for a user to use for the asset deployment.

      Implement at least the generate command from the Create Asset Generation CLI Enhancement from Konveyor. The discover command for Cloud Foundry would be desirable as well, but is not critical.

      The CLI commands: https://github.com/gciavarrini/kantra/blob/asset_generation/cloud_foundry/README.md
      CLI examples: https://github.com/gciavarrini/kantra/blob/asset_generation/cloud_foundry/docs/examples.md
      Asset generation CLI Gloriaโ€™s demo March 10, 2025: Konveyor Community Meeting - 2025/03/06 11:43 EST - Recording
      https://drive.google.com/file/d/14sF2tKc8uUL4p7HBcg42NrMbECx5RWLv/view

      Related github Enhancements:

          1.
          [QE][Polarion Test Plan writing for] Assets Generation CLI Sub-task New Undefined Nandini Chandra
          2.
          [Test plan review for] Assets Generation CLI Sub-task New Undefined Dylan Murray
          3.
          [QE][Test plan internal review for] Assets Generation CLI Sub-task New Undefined Shveta Sachdeva
          4.
          [Smoke automation for] Assets Generation CLI Sub-task New Undefined Gloria Ciavarrini
          5.
          [QE][Manual testing for] Assets Generation CLI Sub-task In Progress Undefined Nandini Chandra
          6.
          [QE][Complete Tier 1 automation for] Assets Generation CLI Sub-task New Undefined Nandini Chandra
          7.
          SPIKE: Define canonical form Sub-task Closed Undefined Unassigned
          8.
          Integrate asset generation commands into kantra cli Sub-task Dev Complete Undefined Gloria Ciavarrini
          9.
          Investigation on approach for helm template generation Sub-task Dev Complete Undefined Jordi Gil
          10.
          Create/Identify sample applications Sub-task To Do Undefined Gloria Ciavarrini
          11.
          Develop a PoC that uses the helm template engine to generate non kubernetes templates Sub-task Dev Complete Undefined Jordi Gil
          12.
          Create sample helm chart with CF discovery manifest Sub-task Dev Complete Undefined Jordi Gil
          13.
          Exploration and reverse engineering of M2K PCF discovery mechanism Sub-task In Progress Undefined Gloria Ciavarrini
          14.
          Usable deployment scripts for a development environment Sub-task Planning Undefined Gloria Ciavarrini
          15.
          CF manifest mapping to canonical form Sub-task Closed Undefined Gloria Ciavarrini
          16.
          Implementation of a `discover` command Sub-task Dev Complete Undefined Gloria Ciavarrini
          17.
          Implementation of a `generate` command Sub-task Dev Complete Undefined Jordi Gil
          18.
          Exploration and reverse engineering of M2K OCP Asset Generator Sub-task Dev Complete Undefined Jordi Gil
          19.
          Update "Create Asset Generation CLI Enhancement" according to implementation Sub-task New Normal Gloria Ciavarrini

              gciavarrini@redhat.com Gloria Ciavarrini
              rromanni@redhat.com Ramon Roman Nissen
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: