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

CI does not test our build with go version used in ART pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • openshift-4.14.z
    • openshift-4.14, openshift-4.15
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 243, uShift Sprint 244, uShift Sprint 245

      Description of problem:

      The check https://github.com/openshift/microshift/blob/main/packaging/rpm/microshift.spec#L132-L135 is causing RPM builds for 4.15 to fail with the error:

      + echo 'The detected go version 1.20.10 is less than the required version 1.20.3'
      The detected go version 1.20.10 is less than the required version 1.20.3
      + exit 1
      

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

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

      Discussion https://redhat-internal.slack.com/archives/CB95J6R4N/p1697742613587009

      EC1 build failure: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=56368306

      We need to

      1. Ensure we're using the latest golang in our own CI, preferably by adding a job that uses the ART builder image.
      2. Fix the test in the spec file. (USHIFT-1778)
      3. Update our developer tools to pull the newer version of golang. (USHIFT-1778)

              pacevedo@redhat.com Pablo Acevedo Montserrat
              dhellman@redhat.com Doug Hellmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: