https://bugs.webkit.org/show_bug.cgi?id=106962
Patch by Alan Cutter <alancutter@chromium.org> on 2013-01-16
Reviewed by Adam Barth.
* EWSTools/GoogleComputeEngine/build-chromium-ews.sh:
* EWSTools/GoogleComputeEngine/build-commit-queue.sh:
* EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139957
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2013-01-16 Alan Cutter <alancutter@chromium.org>
+ GCE build scripts don't take working directory into account when calling findzone.sh
+ https://bugs.webkit.org/show_bug.cgi?id=106962
+
+ Reviewed by Adam Barth.
+
+ * EWSTools/GoogleComputeEngine/build-chromium-ews.sh:
+ * EWSTools/GoogleComputeEngine/build-commit-queue.sh:
+ * EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh:
+
+2013-01-16 Alan Cutter <alancutter@chromium.org>
+
start-queue.sh does not pass remaining parameters correctly
https://bugs.webkit.org/show_bug.cgi?id=107054
#!/bin/sh
-# Copyright (c) 2012 Google Inc. All rights reserved.
+# Copyright (c) 2013 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
exit 1
fi
+CWD="$(pwd)"
+cd "$(dirname "$0")"
+
QUEUE_TYPE=chromium-ews
BOT_ID=gce-cr-linux-$1
BUGZILLA_USERNAME=webkit.review.bot@gmail.com
read -s -p "Bugzilla Password: " BUGZILLA_PASSWORD && echo
PROJECT=google.com:webkit
-ZONE=$(findzone.sh $PROJECT)
+ZONE=$(bash findzone.sh $PROJECT)
IMAGE=projects/google/images/ubuntu-10-04-v20120621
MACHINE_TYPE=n1-standard-4-d
bash build-boot-cmd.sh \"screen -t kr ./start-queue.sh $QUEUE_TYPE $BOT_ID 10\" &&
bash boot.sh
"
+
+cd "$CWD"
#!/bin/sh
-# Copyright (c) 2012 Google Inc. All rights reserved.
+# Copyright (c) 2013 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
exit 1
fi
+CWD="$(pwd)"
+cd "$(dirname "$0")"
+
QUEUE_TYPE=commit-queue
BOT_ID=gce-cq-$1
BUGZILLA_USERNAME=webkit.review.bot@gmail.com
read -s -p "Bugzilla Password: " BUGZILLA_PASSWORD && echo
-
SVN_USERNAME=commit-queue@webkit.org
read -s -p "Subversion Password: " SVN_PASSWORD && echo
PROJECT=google.com:webkit
-ZONE=$(findzone.sh $PROJECT)
+ZONE=$(bash findzone.sh $PROJECT)
IMAGE=projects/google/images/ubuntu-10-04-v20120621
MACHINE_TYPE=n1-standard-4-d
bash build-boot-cmd.sh \"screen -t kr ./start-queue.sh $QUEUE_TYPE $BOT_ID 10\" &&
bash boot.sh
"
+
+cd "$CWD"
#!/bin/sh
-# Copyright (c) 2012 Google Inc. All rights reserved.
+# Copyright (c) 2013 Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
exit 1
fi
+CWD="$(pwd)"
+cd "$(dirname "$0")"
+
BOT_ID=gce-feeder-$1
BUGZILLA_USERNAME=webkit.review.bot@gmail.com
read -s -p "Bugzilla Password: " BUGZILLA_PASSWORD && echo
read -s -p "sheriffbot IRC Password: " IRC_PASSWORD && echo
PROJECT=google.com:webkit
-ZONE=$(findzone.sh $PROJECT)
+ZONE=$(bash findzone.sh $PROJECT)
IMAGE=projects/google/images/ubuntu-10-04-v20120621
MACHINE_TYPE=n1-standard-4-d
screen -t sb ./start-queue.sh sheriff-bot $BOT_ID 180 --irc-password=$IRC_PASSWORD\"
bash boot.sh
"
+
+cd "$CWD"