Fix: Remove flavor check from jenkins-cfg-verify 49/73549/1 v0.92.2
authorEric Ball <eball@linuxfoundation.org>
Fri, 25 Jul 2025 21:27:58 +0000 (14:27 -0700)
committerEric Ball <eball@linuxfoundation.org>
Fri, 25 Jul 2025 21:27:58 +0000 (14:27 -0700)
Because our CASC script now has hardcoded values that translate the
flavor name to hardware ID, the flavor check is no longer valuable.
It also blocks our ability to use non-standard names in order to
simplify having different hardware IDs in different regions.

Issue: RELENG-5748
Change-Id: Ic1b0464bf42c228e5e2373a0a8036f9cc5654c1d
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
shell/jenkins-verify-images.sh

index 3b27e7d..6174325 100755 (executable)
@@ -42,14 +42,6 @@ verify_images()
                 echo "ERROR: No matching image found for $IMAGE_NAME"
                 error=true
             fi
-            # Set the $HARDWARE_ID variable to the the file's HARDWARE_ID value
-            export "$(grep ^HARDWARE_ID= "$file")"
-            # The flavor should be listed. Spaces in grep string ensure complete match.
-
-            if ! openstack flavor list | grep " $HARDWARE_ID "; then
-                echo "ERROR: No matching flavor found for $HARDWARE_ID"
-                error=true
-            fi
         fi
     done
 }