Title: [143156] trunk/Tools
Revision
143156
Author
[email protected]
Date
2013-02-17 23:44:26 -0800 (Sun, 17 Feb 2013)

Log Message

GCE EWS bots are all offline
https://bugs.webkit.org/show_bug.cgi?id=110069

Patch by Alan Cutter <[email protected]> on 2013-02-17
Reviewed by Eric Seidel.

Updated GCE EWS build scripts to use the gcel-10-04-v20130104 image instead of the obsoleted ubuntu-10-04-v20120621.
This changed the ephemeral disk path to /dev/sdb and required /etc/hosts to be chmodded to 644.

* EWSTools/GoogleComputeEngine/build-chromium-ews.sh:
* EWSTools/GoogleComputeEngine/build-commit-queue.sh:
* EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh:
* EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh:
* EWSTools/build-vm.sh:
* EWSTools/start-queue.sh:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (143155 => 143156)


--- trunk/Tools/ChangeLog	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/ChangeLog	2013-02-18 07:44:26 UTC (rev 143156)
@@ -1,3 +1,20 @@
+2013-02-17  Alan Cutter  <[email protected]>
+
+        GCE EWS bots are all offline
+        https://bugs.webkit.org/show_bug.cgi?id=110069
+
+        Reviewed by Eric Seidel.
+
+        Updated GCE EWS build scripts to use the gcel-10-04-v20130104 image instead of the obsoleted ubuntu-10-04-v20120621.
+        This changed the ephemeral disk path to /dev/sdb and required /etc/hosts to be chmodded to 644.
+
+        * EWSTools/GoogleComputeEngine/build-chromium-ews.sh:
+        * EWSTools/GoogleComputeEngine/build-commit-queue.sh:
+        * EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh:
+        * EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh:
+        * EWSTools/build-vm.sh:
+        * EWSTools/start-queue.sh:
+
 2013-02-18  Eugene Klyuchnikov  <[email protected]>
 
         Unreviewed, add myself to commiters.py.

Modified: trunk/Tools/EWSTools/GoogleComputeEngine/build-chromium-ews.sh (143155 => 143156)


--- trunk/Tools/EWSTools/GoogleComputeEngine/build-chromium-ews.sh	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/EWSTools/GoogleComputeEngine/build-chromium-ews.sh	2013-02-18 07:44:26 UTC (rev 143156)
@@ -11,9 +11,6 @@
 # copyright notice, this list of conditions and the following disclaimer
 # in the documentation and/or other materials provided with the
 # distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
 #
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -42,7 +39,7 @@
 
 PROJECT=google.com:webkit
 ZONE=$(bash findzone.sh $PROJECT)
-IMAGE=projects/google/global/images/ubuntu-10-04-v20120621
+IMAGE=projects/google/global/images/gcel-10-04-v20130104
 MACHINE_TYPE=n1-standard-4-d
 
 gcutil --project=$PROJECT addinstance $BOT_ID --machine_type=$MACHINE_TYPE --image=$IMAGE --zone=$ZONE --wait_until_running

Modified: trunk/Tools/EWSTools/GoogleComputeEngine/build-commit-queue.sh (143155 => 143156)


--- trunk/Tools/EWSTools/GoogleComputeEngine/build-commit-queue.sh	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/EWSTools/GoogleComputeEngine/build-commit-queue.sh	2013-02-18 07:44:26 UTC (rev 143156)
@@ -11,9 +11,6 @@
 # copyright notice, this list of conditions and the following disclaimer
 # in the documentation and/or other materials provided with the
 # distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
 #
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -44,7 +41,7 @@
 
 PROJECT=google.com:webkit
 ZONE=$(bash findzone.sh $PROJECT)
-IMAGE=projects/google/global/images/ubuntu-10-04-v20120621
+IMAGE=projects/google/global/images/gcel-10-04-v20130104
 MACHINE_TYPE=n1-standard-4-d
 
 gcutil --project=$PROJECT addinstance $BOT_ID --machine_type=$MACHINE_TYPE --image=$IMAGE --zone=$ZONE --wait_until_running

Modified: trunk/Tools/EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh (143155 => 143156)


--- trunk/Tools/EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/EWSTools/GoogleComputeEngine/build-cr-linux-debug-ews.sh	2013-02-18 07:44:26 UTC (rev 143156)
@@ -11,9 +11,6 @@
 # copyright notice, this list of conditions and the following disclaimer
 # in the documentation and/or other materials provided with the
 # distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
 #
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -42,7 +39,7 @@
 
 PROJECT=google.com:webkit
 ZONE=$(bash findzone.sh $PROJECT)
-IMAGE=projects/google/global/images/ubuntu-10-04-v20120621
+IMAGE=projects/google/global/images/gcel-10-04-v20130104
 MACHINE_TYPE=n1-standard-4-d
 
 gcutil --project=$PROJECT addinstance $BOT_ID --machine_type=$MACHINE_TYPE --image=$IMAGE --zone=$ZONE --wait_until_running

Modified: trunk/Tools/EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh (143155 => 143156)


--- trunk/Tools/EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/EWSTools/GoogleComputeEngine/build-feeder-style-sheriffbot.sh	2013-02-18 07:44:26 UTC (rev 143156)
@@ -11,9 +11,6 @@
 # copyright notice, this list of conditions and the following disclaimer
 # in the documentation and/or other materials provided with the
 # distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
 #
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -42,7 +39,7 @@
 
 PROJECT=google.com:webkit
 ZONE=$(bash findzone.sh $PROJECT)
-IMAGE=projects/google/global/images/ubuntu-10-04-v20120621
+IMAGE=projects/google/global/images/gcel-10-04-v20130104
 MACHINE_TYPE=n1-standard-4-d
 
 gcutil --project=$PROJECT addinstance $BOT_ID --machine_type=$MACHINE_TYPE --image=$IMAGE --zone=$ZONE --wait_until_running

Modified: trunk/Tools/EWSTools/build-vm.sh (143155 => 143156)


--- trunk/Tools/EWSTools/build-vm.sh	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/EWSTools/build-vm.sh	2013-02-18 07:44:26 UTC (rev 143156)
@@ -11,9 +11,6 @@
 # copyright notice, this list of conditions and the following disclaimer
 # in the documentation and/or other materials provided with the
 # distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
 #
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -35,7 +32,7 @@
 CWD=$(pwd)
 
 # Format the disk
-cat <<EOF | sudo fdisk /dev/vdb
+cat <<EOF | sudo fdisk /dev/sdb
 n
 p
 1
@@ -44,8 +41,8 @@
 w
 EOF
 
-sudo mkfs.ext4 /dev/vdb1
-sudo mount /dev/vdb1 /mnt
+sudo mkfs.ext4 /dev/sdb1
+sudo mount /dev/sdb1 /mnt
 
 echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
 
@@ -61,4 +58,6 @@
 sudo chown $USER git
 sudo chgrp $USER git
 
+sudo chmod 644 /etc/hosts
+
 cd $CWD

Modified: trunk/Tools/EWSTools/start-queue.sh (143155 => 143156)


--- trunk/Tools/EWSTools/start-queue.sh	2013-02-18 07:35:26 UTC (rev 143155)
+++ trunk/Tools/EWSTools/start-queue.sh	2013-02-18 07:44:26 UTC (rev 143156)
@@ -1,5 +1,5 @@
 #!/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
@@ -11,9 +11,6 @@
 # copyright notice, this list of conditions and the following disclaimer
 # in the documentation and/or other materials provided with the
 # distribution.
-#     * Neither the name of Google Inc. nor the names of its
-# contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
 #
 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -41,7 +38,7 @@
 
 shift $((OPTIND-1))
 
-if [[ $# -ne 3 ]]; then
+if [[ "$#" -ne 3 ]]; then
     echo "$USAGE"
     exit 1
 fi
@@ -79,7 +76,7 @@
     ./Tools/Scripts/test-webkitpy
 
     # Run the given reset script.
-    if [[ -n $RESET_SCRIPT ]]; then
+    if [[ -n "$RESET_SCRIPT" ]]; then
         bash "$RESET_SCRIPT"
     fi
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to