jenkins-bot has submitted this change and it was merged. Change subject: Add initial debian package & upstart script ......................................................................
Add initial debian package & upstart script Uses pybuild! Bug: T95255 Change-Id: Ifa0ac610f714a8df73ef95c7c33a7d28e3778378 --- A debian/changelog A debian/compat A debian/control A debian/copyright A debian/rules A debian/tools-manifest.webservicemonitor.upstart 6 files changed, 58 insertions(+), 0 deletions(-) Approvals: Yuvipanda: Looks good to me, approved jenkins-bot: Verified diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f792b8a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +tools-manifest (0.1-1) trusty; urgency=low + + * Initial version + + -- Yuvi Panda <[email protected]> Wed, 08 Apr 2015 03:36:56 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..03ed4dd --- /dev/null +++ b/debian/control @@ -0,0 +1,11 @@ +Source: tools-manifest +Maintainer: Yuvi Panda <[email protected]> +Section: python +Priority: optional +Build-Depends: python3-setuptools, python3-all, debhelper (>= 9) +Standards-Version: 3.9.5 + +Package: tools-manifest +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Infrastructure for running services on tools.wmflabs.org diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7806952 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: toollabs + +Files: * +Copyright: 2015 Yuvi Panda <[email protected]> +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7c58135 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_installinit: + dh_installinit --name=webservicemonitor diff --git a/debian/tools-manifest.webservicemonitor.upstart b/debian/tools-manifest.webservicemonitor.upstart new file mode 100644 index 0000000..456b664 --- /dev/null +++ b/debian/tools-manifest.webservicemonitor.upstart @@ -0,0 +1,8 @@ +description "Service to ensure that web services are always running once started" + +start on runlevel [2345] + +respawn +respawn limit 10 5 + +exec /usr/bin/collector-runner WebServiceMonitor -- To view, visit https://gerrit.wikimedia.org/r/202664 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifa0ac610f714a8df73ef95c7c33a7d28e3778378 Gerrit-PatchSet: 15 Gerrit-Project: operations/software/tools-manifest Gerrit-Branch: master Gerrit-Owner: Yuvipanda <[email protected]> Gerrit-Reviewer: Faidon Liambotis <[email protected]> Gerrit-Reviewer: Filippo Giunchedi <[email protected]> Gerrit-Reviewer: Tim Landscheidt <[email protected]> Gerrit-Reviewer: Yuvipanda <[email protected]> Gerrit-Reviewer: coren <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
