Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-665

[CI] - Add a version Matrix to update manifests in osl-images repository

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 1.37.0
    • 1.36.0
    • CI:Midstream
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      After syncing kubesmarts/kie-tools with kubesmarts/osl-images, eventually, we may need to update versions in the manifests.

      It's a rule of thumb to keep a configuration YAML file with all versions from the given release branch. This approach keeps the branch documented and reproducible.

      Additionally, we will add a script to read from the version matrix and update the manifests accordingly.

      The process should be:

      1. When running CI :: OSL :: Export Dist to osl-images, it should update the matrix with the versions in the environment (root package) from kie-tools.
      2. When branching osl-images, the versions in kie-tools (e.g., 1.38) will be reflected in the YAML file.
      3. The YAML file and the manifests should be in sync at this time.
      4. Eventually, the YAML file can be updated by a dev PR in the released branch. When this happens, a CI will kick off to align this new versioning with the manifests in the given branch.

      In this JIRA, we will introduce this process to the pipeline CI :: OSL :: Export Dist to osl-images to create and update the version matrix file and create a new one to update and validate the manifests according to this file if necessary.

      Alternatively, the CI can just match the versions in the manifest with the version matrix file and block a merge, so devs can just run the update script locally.
       

       

              rhn-support-zanini Ricardo Zanini
              rhn-support-zanini Ricardo Zanini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: