Title: [174017] trunk/Tools
- Revision
- 174017
- Author
- [email protected]
- Date
- 2014-09-26 12:02:42 -0700 (Fri, 26 Sep 2014)
Log Message
Mac EWS bots do not keep logs as promised
https://bugs.webkit.org/show_bug.cgi?id=137151
Reviewed by Ryosuke Niwa.
* EWSTools/start-queue-mac.sh: Actually keep the logs for 14 days.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (174016 => 174017)
--- trunk/Tools/ChangeLog 2014-09-26 18:51:18 UTC (rev 174016)
+++ trunk/Tools/ChangeLog 2014-09-26 19:02:42 UTC (rev 174017)
@@ -1,5 +1,14 @@
2014-09-26 Alexey Proskuryakov <[email protected]>
+ Mac EWS bots do not keep logs as promised
+ https://bugs.webkit.org/show_bug.cgi?id=137151
+
+ Reviewed by Ryosuke Niwa.
+
+ * EWSTools/start-queue-mac.sh: Actually keep the logs for 14 days.
+
+2014-09-26 Alexey Proskuryakov <[email protected]>
+
Get rid of webkit-queues dashboard
https://bugs.webkit.org/show_bug.cgi?id=137141
Modified: trunk/Tools/EWSTools/start-queue-mac.sh (174016 => 174017)
--- trunk/Tools/EWSTools/start-queue-mac.sh 2014-09-26 18:51:18 UTC (rev 174016)
+++ trunk/Tools/EWSTools/start-queue-mac.sh 2014-09-26 19:02:42 UTC (rev 174017)
@@ -1,5 +1,6 @@
#!/bin/sh
# Copyright (c) 2012 Google Inc. All rights reserved.
+# Copyright (c) 2014 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -45,8 +46,9 @@
# Delete log files older than 14 days, move aside the main mac-ews.log file to prevent it from growing extra large.
cd /Volumes/Data/EWS/$QUEUE_NAME-logs
find . -mtime +14 -delete
- rm $QUEUE_NAME.old
- mv $QUEUE_NAME.log $QUEUE_NAME.old
+ if [ -s $QUEUE_NAME.log ]; then
+ mv -f $QUEUE_NAME.log ${QUEUE_NAME}_$(date +%Y-%m-%d_%H-%m).log
+ fi
cd /Volumes/Data/EWS/Webkit
# Delete WebKitBuild to force a clean build
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes