Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-860

Automate updating of operator and OCP versions in WMCO github

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • Improvement
    • 3
    • False
    • None
    • False
    • WINC - Sprint 236, WINC - Sprint 237

      Create a hack script that lives in our Github repo. When ran it should update the WMCO and OCP versions in all required places (Makefile, base CSV, bundle, and Dockerfiles?). This would replace the manual prep work (e.g. Prep for 5.0.0 release) and prevent us from forgetting to change the version somewhere.

      Engineering Details

      • This should work for both minor and major WMCO version bumps.
      • Decide whether the script should open the prep work PR automatically
      • Uses the version in the makefile as the correct WMCO version, with a special flag for handling files that have CVP version issues, and add a function in common.sh that calculates the OCP version from the WMCO version.  The script will automatically create a branch and commit, breaking out the functionality in the submodules script into common.sh.

      Acceptance Criteria

      • Running the new script replaces the WMCO and OCP versions in all required places
      • Works for all supported release-4.x branches

              wgahnagl Skyler Clark
              mohashai Mohammad Shaikh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: