From 540e093ad98d9bcc36e770fb64918ef74c8d2c20 Mon Sep 17 00:00:00 2001 From: "ccooper%deadsquid.com" Date: Tue, 24 Feb 2009 19:44:39 +0000 Subject: [PATCH] b=477768 r=bhearsum - adds build step to touch upload dir after file upload for 1.9.0 l10n builds git-svn-id: svn://10.0.0.236/trunk@256311 18797224-902f-48f8-a5cc-f745e15eee43 --- .../automation/production-1.9/master.cfg | 9 +++++++++ .../buildbot-configs/automation/staging-1.9/master.cfg | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/mozilla/tools/buildbot-configs/automation/production-1.9/master.cfg b/mozilla/tools/buildbot-configs/automation/production-1.9/master.cfg index 298557c2cc7..9456f9a3709 100644 --- a/mozilla/tools/buildbot-configs/automation/production-1.9/master.cfg +++ b/mozilla/tools/buildbot-configs/automation/production-1.9/master.cfg @@ -402,6 +402,15 @@ L10nNightlyFactory.addStep(ShellCommand, descriptionDone="uploaded packages", workdir="mozilla/dist/upload/latest" ) +# This step makes sure we can use nagios monitoring on the latest dir +# to tell when l10n builds stop working altogether. +L10nNightlyFactory.addStep(ShellCommand, + name = "touch upload dir", + command=['/bin/sh', '-c', "ssh "+ftpserver+" touch "+uploadPath], + description="touching upload dir", + descriptionDone="touched upload dir", + workdir="mozilla/dist/upload/latest" +) c['builders'].append( { diff --git a/mozilla/tools/buildbot-configs/automation/staging-1.9/master.cfg b/mozilla/tools/buildbot-configs/automation/staging-1.9/master.cfg index 1d8fa3ae562..800c25cb430 100644 --- a/mozilla/tools/buildbot-configs/automation/staging-1.9/master.cfg +++ b/mozilla/tools/buildbot-configs/automation/staging-1.9/master.cfg @@ -416,6 +416,15 @@ L10nNightlyFactory.addStep(ShellCommand, descriptionDone="uploaded packages", workdir="mozilla/dist/upload/latest" ) +# This step makes sure we can use nagios monitoring on the latest dir +# to tell when l10n builds stop working altogether. +L10nNightlyFactory.addStep(ShellCommand, + name = "touch upload dir", + command=['/bin/sh', '-c', "ssh "+ftpserver+" touch "+uploadPath], + description="touching upload dir", + descriptionDone="touched upload dir", + workdir="mozilla/dist/upload/latest" +) c['builders'].append( {