Skip to content

Instantly share code, notes, and snippets.

@rail
Created March 15, 2016 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rail/44bf95404108d87f3bea to your computer and use it in GitHub Desktop.
Save rail/44bf95404108d87f3bea to your computer and use it in GitHub Desktop.
# HG changeset patch
# User Rail Aliiev <rail@mozilla.com>
# Date 1458051996 14400
# Tue Mar 15 10:26:36 2016 -0400
# Node ID 34fd535065d3a00fa003884de68d0d3c6363aae1
# Parent 1c1bfef7a7f35799d06a98525a1206038eeed3ab
Bug 1249528 - releaserunner should handle RC channels r=Callek
diff --git a/scripts/release/updates/chunked-verify.sh b/scripts/release/updates/chunked-verify.sh
--- a/scripts/release/updates/chunked-verify.sh
+++ b/scripts/release/updates/chunked-verify.sh
@@ -23,16 +23,22 @@ channel=$5
if [ -n "$PROPERTIES_FILE" -a -f "$PROPERTIES_FILE" ]; then
# Buildbot only
if $JSONTOOL -k properties.NO_BBCONFIG $PROPERTIES_FILE; then
NO_BBCONFIG=$($JSONTOOL -k properties.NO_BBCONFIG $PROPERTIES_FILE);
fi
if $JSONTOOL -k properties.VERIFY_CONFIG $PROPERTIES_FILE; then
VERIFY_CONFIG=$($JSONTOOL -k properties.VERIFY_CONFIG $PROPERTIES_FILE);
fi
+ if $JSONTOOL -k properties.TOTAL_CHUNKS $PROPERTIES_FILE; then
+ chunks=$($JSONTOOL -k properties.TOTAL_CHUNKS $PROPERTIES_FILE);
+ fi
+ if $JSONTOOL -k properties.THIS_CHUNK $PROPERTIES_FILE; then
+ thisChunk=$($JSONTOOL -k properties.THIS_CHUNK $PROPERTIES_FILE);
+ fi
if [ -z "$NO_BBCONFIG" -a -z "$BUILDBOT_CONFIGS" ]; then
export BUILDBOT_CONFIGS="https://hg.mozilla.org/build/buildbot-configs"
fi
# Get the assumed slavebuilddir, and read in from buildbot if this is not
# Release promotion
SLAVEBUILDDIR=$(basename $(cd "$SCRIPTS_DIR/.."; pwd))
if [ -z "$NO_BBCONFIG" ]; then
RELEASE_CONFIG=$($JSONTOOL -k properties.release_config $PROPERTIES_FILE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment