Remove validate-job for mdsal neon stream 45/75145/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 12 Aug 2018 01:54:50 +0000 (21:54 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 12 Aug 2018 01:54:53 +0000 (21:54 -0400)
The validate autorelease job was not designed to run on projects
that have different branch name then all the other projects. This
causes it to try to clone the wrong autorelease branch when running.

Considering that mdsal is becoming a MRI project soon in the Neon
stream. Let's remove the validate-autorelease job. The autorelease
nightly build will catch MD-SAL issues anyway if there is a bug.

Change-Id: Ia9f1c73833bb70af8f01b68d59ccb6f9adb9f2ba
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/update-validate-autorelease-projects.sh

index e261d51a52f2a0dfbed5fdae16781377b0a42e5c..e7691cb130a680a8934a53bade38776ca350169f 100644 (file)
@@ -38,14 +38,14 @@ cat > "$YAML_FILE" << EOF
 EOF
 
 for module in "${modules[@]}"; do
-    echo "Include $module"
-    echo "      - ${module//\//-}:" >> "$YAML_FILE"
-    echo "          project: $module" >> "$YAML_FILE"
-
     # TODO: Remove this once mdsal fully becomes an MRI project.
     if [ "$module" == "mdsal" ] && [ "$BRANCH" == "master" ]; then
-        echo "          branch: v2.6.x" >> "$YAML_FILE"
+        continue
     fi
+
+    echo "Include $module"
+    echo "      - ${module//\//-}:" >> "$YAML_FILE"
+    echo "          project: $module" >> "$YAML_FILE"
 done
 
 git add "${YAML_FILE}"