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

Build images script fails when uncommited source changes exist

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • uShift Sprint 257

      Description of problem:

      Build images script fails when uncommited source changes exist

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

      main branch, but possible release branches as well

      How reproducible:

      100%

      Steps to Reproduce:

      1. Make a source code change (comment) without committing it
      2. make rpm 
      3. test/bin/create_local_repo.sh
      4. test/bin/build_images.sh -I

      Actual results:

      Build fails unable to find microshift packages from the local repo

      Expected results:

      Build should succeed

      Additional info:

      Extracting images from 4.17.0_0.nightly_2024_08_01_213905_20240802122030_407bafdf3_dirty
      ~/microshift/_output/test-images/release-info-rpms ~/microshift
      Updating Subscription Management repositories.
      Added microshift-local repo from /home/microshift/microshift/_output/test-images/rpm-repos/microshift-local
      Last metadata expiration check: 1:03:09 ago on Mon 05 Aug 2024 03:27:06 PM UTC.
      No package microshift-release-info-4.17.0_0.nightly_2024_08_01_213905_20240802122030_407bafdf3_dirty available.
      Exiting due to strict setting.
      Error: No package microshift-release-info-4.17.0_0.nightly_2024_08_01_213905_20240802122030_407bafdf3_dirty available.

              ggiguash@redhat.com Gregory Giguashvili
              ggiguash@redhat.com Gregory Giguashvili
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: