Uploaded image for project: 'MicroShift'
  1. MicroShift
  2. USHIFT-792

rebase script needs to support EC, RC, z-stream, and final builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.13
    • None
    • None
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 231

      Description of problem:

      Rebasing onto non-nightly builds fails because the script looks for the name to match a specific pattern.

      https://redhat-internal.slack.com/archives/C03DP9PABNC/p1674738628833659 

      Version-Release number of selected component (if applicable):

      4.12

      How reproducible:

      always

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      $ ./scripts/auto-rebase/rebase.sh to quay.io/openshift-release-dev/ocp-release:4.12.1-x86_64 quay.io/openshift-release-dev/ocp-release:4.12.1-aarch64
      ...
      Initialized empty Git repository in /home/jdelft/src/github.com/openshift/microshift/_output/staging/arm64/service-ca-operator/.git/
      From https://github.com/openshift/service-ca-operator
       * branch            299b7097a49385fdd4f86eccedc07f3a192e2504 -> FETCH_HEAD
       * [new tag]         v3.11.0    -> v3.11.0
      HEAD is now at 299b709 Merge pull request #203 from openshift-cherrypick-robot/cherry-pick-202-to-release-4.12
      
      + [[ 4.12.1-x86_64 =~ (.+)-([0-9]{4}-[0-9]{2}-[0-9]{2}-[0-9]{6}) ]]
      + echo 'Failed to match regex against amd64 image tag'
      Failed to match regex against amd64 image tag
      + echo release_image_amd64: quay.io/openshift-release-dev/ocp-release:4.12.1-x86_64
      release_image_amd64: quay.io/openshift-release-dev/ocp-release:4.12.1-x86_64
      + exit 1

      Expected results:

       

      Additional info:

       

            dhellman@redhat.com Doug Hellmann
            dhellman@redhat.com Doug Hellmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: