← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~ilasc/lp-production-crontabs/staging into lp:lp-production-crontabs

 

Ioana Lasc has proposed merging lp:~ilasc/lp-production-crontabs/staging into lp:lp-production-crontabs.

Commit message:
Update tellurium crontabs to remove deploy tasks.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~ilasc/lp-production-crontabs/staging/+merge/384707

Codehosting and codebrowse were deployed to telllurium (one of our staging servers) through 2 crontabs: tellurium.canonical.com-supermirror and tellurium.canonical.com-loggerhead.

This branch prpposes modifications to above two crontabs to stop deploying to tellurium. 

The new way to deploy is via staging_restore.sh, merge proposal for it:  
https://code.launchpad.net/~ilasc/lp-staging-scripts/staging-restore-deploy-tellurium/+merge/384703
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~ilasc/lp-production-crontabs/staging into lp:lp-production-crontabs.
=== added file 'atemoya.canonical.com-bzrsyncd'
--- atemoya.canonical.com-bzrsyncd	1970-01-01 00:00:00 +0000
+++ atemoya.canonical.com-bzrsyncd	2020-05-28 09:20:27 +0000
@@ -0,0 +1,12 @@
+LANG=C
+LPCONFIG=staging-bzrsyncd
+LP_PY=/srv/bzrsyncd.staging.launchpad.net/staging/launchpad/bin/py
+
+00 00 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /usr/sbin/logrotate -s /srv/bzrsyncd.staging.launchpad.net/etc/.logrotate.state /srv/bzrsyncd.staging.launchpad.net/etc/logrotate.conf
+
+# Daily rebuild of code
+01 00 * * * make -C /srv/bzrsyncd.staging.launchpad.net/staging
+
+# Update qastaging
+8,38 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/atemoya.canonical.com-bzrsyncd.sh >> /srv/bzrsyncd.qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+

=== added file 'atemoya.canonical.com-launchpad'
--- atemoya.canonical.com-launchpad	1970-01-01 00:00:00 +0000
+++ atemoya.canonical.com-launchpad	2020-05-28 09:20:27 +0000
@@ -0,0 +1,38 @@
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+LPCONFIG=staging
+LP_PY=/srv/staging.launchpad.net/staging/launchpad/bin/py
+
+# Staging Log rotation
+00 00 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /usr/sbin/logrotate -s /srv/staging.launchpad.net/etc/.logrotate.state /srv/staging.launchpad.net/etc/logrotate.conf
+# Lists.Staging Log rotation
+5 00 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /usr/sbin/logrotate -s /srv/lists.staging.launchpad.net/etc/.logrotate.state /srv/lists.staging.launchpad.net/etc/logrotate_lists.conf
+
+# Maintain a copy of mailing list data that can used by staging restore
+46 3 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /srv/staging.launchpad.net/scripts/mailman-sync
+
+# Regenerate new, randomised, country mirror lists
+# every 15 mins purely for testing purposes
+# XXX The redirection to log, is until Bug 540662 is fixed
+# XXX The trailing chmod is until Bug 548578 is fixed
+*/15 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/staging.launchpad.net/staging/launchpad/scripts/cache-country-mirrors.py /srv/mirrors.staging.launchpad.net/www/ -q --log-file=INFO:/srv/staging.launchpad.net/staging-logs/cache-country-mirrors.log; chmod 644 /srv/mirrors.staging.launchpad.net/www/*.txt
+
+MAILTO=losas@xxxxxxxxxxxxx
+# Gather graphing stats
+*/5 * * * * /srv/staging.launchpad.net/scripts/get_process_data.sh 'run -i staging$' staging_appserver_rss atemoya_process_data.dat
+
+# Update qastaging
+#Increased frequency of qastaging-update.sh for RT#53710
+05,10,15,20,25,30,35,40,45,50,55 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/atemoya.canonical.com-launchpad.sh >> /srv/qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+28,58 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/atemoya.canonical.com-launchpad-lists.sh >> /srv/lists.qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+
+# QAStaging jobs
+LPCONFIG=qastaging
+LP_PY=/srv/qastaging.launchpad.net/qastaging/launchpad/bin/py
+
+# Run garbo-daily
+10 4 * * * [ ! -f /var/lock/launchpad_mailmain_qastaging_update.lock ] && $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/garbo-daily.py -q --log-file=DEBUG2:/srv/qastaging.launchpad.net/qastaging-logs/garbo-daily.log
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+5 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host atemoya --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/staging.launchpad.net/var/local-oopses-launchpad --key ""
+10 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host atemoya --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/qastaging.launchpad.net/var/local-oopses-launchpad --key ""
+

=== added file 'atemoya.canonical.com-lp_buildd'
--- atemoya.canonical.com-lp_buildd	1970-01-01 00:00:00 +0000
+++ atemoya.canonical.com-lp_buildd	2020-05-28 09:20:27 +0000
@@ -0,0 +1,11 @@
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx,root@xxxxxxxxxxxxxxxxxxx,uosas@xxxxxxxxxxxxxxxxxxx
+LPCONFIG=staging-ftpmaster
+
+# Log rotation.
+0 0 * * * /usr/sbin/logrotate -s ~/.logrotate.state /srv/builddmaster.staging.launchpad.net/etc/logrotate.conf
+
+*/1 * * * * /srv/builddmaster.staging.launchpad.net/staging/launchpad/scripts/process-upload.py -C buildd --builds /srv/builddmaster.staging.launchpad.net/builddmaster/ -q --log-file=DEBUG:/srv/builddmaster.staging.launchpad.net/staging-logs/process-build-uploads.log
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+*/15 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host atemoya --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/builddmaster.staging.launchpad.net/var/local-oopses-lp_buildd --key ""
+*/15 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host atemoya --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/builddmaster.qastaging.launchpad.net/var/local-oopses-lp_buildd --key ""

=== added file 'gandwana.canonical.com-bzrsyncd'
--- gandwana.canonical.com-bzrsyncd	1970-01-01 00:00:00 +0000
+++ gandwana.canonical.com-bzrsyncd	2020-05-28 09:20:27 +0000
@@ -0,0 +1,38 @@
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+# m h  dom mon dow   command
+LANG=C
+LPCONFIG=staging-bzrsyncd
+LP_PY=/srv/bzrsyncd.staging.launchpad.net/staging/launchpad/bin/py
+
+00 00 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /usr/sbin/logrotate -s /srv/bzrsyncd.staging.launchpad.net/etc/.logrotate.state /srv/bzrsyncd.staging.launchpad.net/etc/logrotate.conf
+
+# Daily rebuild of code
+01 00 * * * make -C /srv/bzrsyncd.staging.launchpad.net/staging
+
+# branch scanner
+*/5 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bzrsyncd.staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IBranchScanJobSource -q --log-file=INFO:/srv/bzrsyncd.staging.launchpad.net/staging-logs/process-job-source.IBranchScanJobSource.log
+
+*/10 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bzrsyncd.staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IRosettaUploadJobSource -q --log-file=INFO:/srv/bzrsyncd.staging.launchpad.net/staging-logs/process-job-source.IRosettaUploadJobSource.log
+
+# mbarnett 2011-07-11 add tmp wrapper script to set hard memory limit per Bug#585126
+#* * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bzrsyncd.staging.launchpad.net/staging/launchpad/cronscripts/sendbranchmail.py >> /srv/bzrsyncd.staging.launchpad.net/staging-logs/sendbranchmail.log 2>&1 
+* * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /srv/bzrsyncd.staging.launchpad.net/scripts/sendbranchmail.sh >> /srv/bzrsyncd.staging.launchpad.net/staging-logs/sendbranchmail.log 2>&1 
+
+# Replace the mpcreationjobs and preview_diffs with merge-proposal-jobs RT#38674
+2-57/5 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bzrsyncd.staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IBranchMergeProposalJobSource -q --log-file=INFO:/srv/bzrsyncd.staging.launchpad.net/staging-logs/process-job-source.IBranchMergeProposalJobSource.log
+
+# Script requests builds for source package recipes that have "build daily" enabled; Per abentley request
+*/10 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bzrsyncd.staging.launchpad.net/staging/launchpad/cronscripts/request_daily_builds.py -q --log-file=INFO:/srv/bzrsyncd.staging.launchpad.net/staging-logs/request_daily_builds.log
+
+LPCONFIG=qastaging-bzrsyncd
+LP_PY=/srv/bzrsyncd.qastaging.launchpad.net/qastaging/launchpad/bin/py
+
+# Update qastaging
+8,38 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/gandwana.canonical.com-bzrsyncd.sh >> /srv/bzrsyncd.qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+
+*/5 * * * * $LP_PY /srv/bzrsyncd.qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-job-source.py IBranchScanJobSource -q --log-file=INFO:/srv/bzrsyncd.qastaging.launchpad.net/qastaging-logs/process-job-source.IBranchScanJobSource.log; $LP_PY /srv/bzrsyncd.qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-job-source.py IBranchMergeProposalJobSource -q --log-file=INFO:/srv/bzrsyncd.qastaging.launchpad.net/qastaging-logs/process-job-source.IBranchMergeProposalJobSource.log
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+55 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/bzrsyncd.staging.launchpad.net/var/local-oopses-bzrsyncd --key ""
+0 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/bzrsyncd.qastaging.launchpad.net/var/local-oopses-bzrsyncd --key ""
+

=== added file 'gandwana.canonical.com-launchpad'
--- gandwana.canonical.com-launchpad	1970-01-01 00:00:00 +0000
+++ gandwana.canonical.com-launchpad	2020-05-28 09:20:27 +0000
@@ -0,0 +1,84 @@
+# m h  dom mon dow   command
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+LPCONFIG=staging
+LP_PY=/srv/staging.launchpad.net/staging/launchpad/bin/py
+
+# Staging Log rotation
+00 00 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /usr/sbin/logrotate -s /srv/staging.launchpad.net/etc/.logrotate.state /srv/staging.launchpad.net/etc/logrotate.conf
+
+# Process inbound email
+*/10 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/process-mail.py -q --log-file=INFO:/srv/staging.launchpad.net/staging-logs/process-mail.log
+
+# requested by salgado 2008-03-17, appproved by kiko
+30 2 * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && /srv/staging.launchpad.net/staging/launchpad/cronscripts/check-teamparticipation.py
+
+# requested by jtv 2008-12-19, approved by kiko
+# Diabled 2011-12-15 per benji it was loading rabbitmq with duplicate oopses
+#*/20 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && nice -16 $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/rosetta-poimport.py -q
+# Disabled 2012-09-26 by hloeung as requested by wgrant as it isn't being
+# touched these days.
+#*/30 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && nice -16 $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/rosetta-approve-imports.py -q
+
+# Processes watcher and cleaner
+* * * * * /srv/shared-branches/lp-staging-scripts/ps_dump.sh /srv/staging.launchpad.net/var/ps_stats
+15 0 * * * /srv/shared-branches/lp-staging-scripts/ps_dump_clean.sh /srv/staging.launchpad.net/var/ps_stats
+
+# Run apport processing per RT#38420
+* * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IProcessApportBlobJobSource -q --log-file=DEBUG:/srv/staging.launchpad.net/staging-logs/process-job-source.IProcessApportBlobJobSource.log
+
+# do the hourly garbo run per request from lifeless 2011-04-11
+43 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/garbo-hourly.py -q --log-file=DEBUG2:/srv/staging.launchpad.net/staging-logs/garbo-hourly.log
+3,33 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/garbo-frequently.py -q --log-file=INFO:/srv/staging.launchpad.net/staging-logs/garbo-frequently.log
+
+# Remove old profiling requests
+35 0 * * * find /srv/staging.launchpad.net/staging-logs/profiling/ -maxdepth 1 -type f -mtime +7 -delete
+
+# Get a demo of the derived distros feature working to its full potential. rt#45398
+#*/5 * * * * [ ! -f /srv/staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/process-pending-packagediffs.py -q --log-file=INFO:/srv/staging.launchpad.net/staging-logs/process-pending-packagedirrs.log
+
+# Package copies
+*/10 * * * * $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IPlainPackageCopyJobSource -q --log-file=INFO:/srv/staging.launchpad.net/staging-logs/process-job-source.IPlainPackageCopyJobSource.log
+
+# Derived distro initialisations
+*/5 * * * * $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IInitializeDistroSeriesJobSource -q --log-file=DEBUG:/srv/staging.launchpad.net/staging-logs/process-job-source.IInitializeDistroSeriesJobSource.log
+
+# Process distroseries difference jobs.
+*/2 * * * * $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IDistroSeriesDifferenceJobSource -q --log-file=DEBUG:/srv/staging.launchpad.net/staging-logs/process-job-source.IDistroSeriesDifferenceJobSource.log
+
+# Bug notifications
+*/5 * * * * $LP_PY /srv/staging.launchpad.net/staging/launchpad/cronscripts/send-bug-notifications.py -q --log-file=INFO:/srv/staging.launchpad.net/staging-logs/send-bug-notifications.log
+
+MAILTO=losas@xxxxxxxxxxxxx
+
+# QAStaging jobs
+LPCONFIG=qastaging
+LP_PY=/srv/qastaging.launchpad.net/qastaging/launchpad/bin/py
+# Update qastaging
+18,48 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/gandwana.canonical.com-launchpad.sh >> /srv/qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+
+# Process inbound email per RT#43094
+5,15,25,35,45,55 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-mail.py -q --log-file=INFO:/srv/qastaging.launchpad.net/qastaging-logs/process-mail.log
+
+# do the hourly garbo run per request from lifeless 2011-02-11
+13 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/garbo-hourly.py -q --log-file=DEBUG2:/srv/qastaging.launchpad.net/qastaging-logs/garbo-hourly.log
+25,55 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/garbo-frequently.py -q --log-file=INFO:/srv/qastaging.launchpad.net/qastaging-logs/garbo-frequently.log
+
+# Package copies
+* * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-job-source.py IPlainPackageCopyJobSource -q --log-file=INFO:/srv/qastaging.launchpad.net/qastaging-logs/process-job-source.IPlainPackageCopyJobSource.log
+
+# Derived distro initialisations
+*/5 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-job-source.py IInitializeDistroSeriesJobSource -q --log-file=DEBUG:/srv/qastaging.launchpad.net/qastaging-logs/process-job-source.IInitializeDistroSeriesJobSource.log
+
+# Process distroseries difference jobs.
+*/2 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-job-source.py IDistroSeriesDifferenceJobSource -q --log-file=DEBUG:/srv/qastaging.launchpad.net/qastaging-logs/process-job-source.IDistroSeriesDifferenceJobSource.log
+
+# Bug notifications
+2,7,12,17,22,27,32,37,42,47,52,57 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/send-bug-notifications.py -q --log-file=INFO:/srv/qastaging.launchpad.net/qastaging-logs/send-bug-notifications.log
+
+# Git repository scans
+*/5 * * * * $LP_PY /srv/qastaging.launchpad.net/qastaging/launchpad/cronscripts/process-job-source.py IGitRefScanJobSource -q --log-file=INFO:/srv/qastaging.launchpad.net/qastaging-logs/process-job-source.IGitRefScanJobSource.log
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+45 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/bzrsyncd.staging.launchpad.net/ --key ""
+50 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/bzrsyncd.qastaging.launchpad.net/ --key ""
+

=== added file 'marambio.canonical.com-importd'
--- marambio.canonical.com-importd	1970-01-01 00:00:00 +0000
+++ marambio.canonical.com-importd	2020-05-28 09:20:27 +0000
@@ -0,0 +1,15 @@
+# m h  dom mon dow   command
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+
+### spm 2012-02-23 cvs vulnerability USN-1371-1
+###  no fix for 8.04; disabling the importd 'just in case'
+### * * * * * /srv/importd.staging.launchpad.net/scripts/importd_dispatcher_wrapper.sh
+
+# Processes watcher and cleaner
+* * * * * /srv/shared-branches/lp-staging-scripts/ps_dump.sh /srv/importd.staging.launchpad.net/var/ps_stats
+15 0 * * * /srv/shared-branches/lp-staging-scripts/ps_dump_clean.sh /srv/importd.staging.launchpad.net/var/ps_stats
+
+# Remove old importd worker logs
+20 0 * * * find /srv/importd.staging.launchpad.net/staging-logs -type f -name 'code-import-worker-*.log' -mtime +30 -delete
+
+0 0 * * * /usr/sbin/logrotate -s ~/.logrotate.state /srv/importd.staging.launchpad.net/etc/logrotate.conf

=== added file 'strawberry.canonical.com-importd'
--- strawberry.canonical.com-importd	1970-01-01 00:00:00 +0000
+++ strawberry.canonical.com-importd	2020-05-28 09:20:27 +0000
@@ -0,0 +1,26 @@
+# m h  dom mon dow   command
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+* * * * * /srv/importd.staging.launchpad.net/scripts/importd_dispatcher_wrapper.sh >> /srv/importd.staging.launchpad.net/staging-logs/importd.log 2>&1
+* * * * * /srv/importd.qastaging.launchpad.net/scripts/importd_dispatch_wrapper.sh >> /srv/importd.qastaging.launchpad.net/qastaging-logs/importd.log 2>&1
+
+# Processes watcher and cleaner
+* * * * * /srv/shared-branches/lp-staging-scripts/ps_dump.sh /srv/importd.staging.launchpad.net/var/ps_stats
+15 0 * * * /srv/shared-branches/lp-staging-scripts/ps_dump_clean.sh /srv/importd.staging.launchpad.net/var/ps_stats
+
+# Remove old importd worker logs
+20 0 * * * find /srv/importd.staging.launchpad.net/staging-logs -type f -name 'code-import-worker-*.log' -mtime +30 -delete
+25 0 * * * find /srv/importd.qastaging.launchpad.net/qastaging-logs -type f -name 'code-import-worker-*.log' -mtime +30 -delete
+
+0 0 * * * /usr/sbin/logrotate -s ~/.logrotate.state /srv/importd.staging.launchpad.net/etc/logrotate.conf
+
+# QAStaging
+24 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/strawberry.canonical.com-importd.sh >> /srv/importd.qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+35 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/importd.staging.launchpad.net/var/local-oopses-importd --key ""
+40 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/importd.qastaging.launchpad.net/var/local-oopses-importd --key ""
+
+### hloeung 2011-12-15 Stolen evil nasty hack from pear
+### the new importds are eating /tmp space. This puts in a tmp workaround for 
+### pear so we don't run out of space cf https://bugs.launchpad.net/bugs/810288
+5 * * * * find /tmp -maxdepth 1 -type f \( -name 'tmp*.pack' -o -name 'tmp*.idx' \) -mtime +1 -delete

=== added file 'tellurium.canonical.com-loggerhead'
--- tellurium.canonical.com-loggerhead	1970-01-01 00:00:00 +0000
+++ tellurium.canonical.com-loggerhead	2020-05-28 09:20:27 +0000
@@ -0,0 +1,14 @@
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+# m h  dom mon dow   command
+
+15 00 * * * /usr/sbin/logrotate -s /srv/codebrowse.staging.launchpad.net/etc/.logrotate.state /srv/codebrowse.staging.launchpad.net/etc/logrotate.conf
+
+# QAStaging Update
+14,44 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/tellurium.canonical.com-loggerhead.sh >> /srv/codebrowse.qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+
+45 00 * * * /usr/sbin/logrotate -s /srv/codebrowse.qastaging.launchpad.net/etc/.logrotate.state /srv/codebrowse.qastaging.launchpad.net/etc/logrotate.conf
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+25 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/codebrowse.staging.launchpad.net/var/local-oopses-loggerhead --key ""
+30 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/codebrowse.qastaging.launchpad.net/var/local-oopses-loggerhead --key ""
+

=== added file 'tellurium.canonical.com-supermirror'
--- tellurium.canonical.com-supermirror	1970-01-01 00:00:00 +0000
+++ tellurium.canonical.com-supermirror	2020-05-28 09:20:27 +0000
@@ -0,0 +1,31 @@
+MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
+# m h  dom mon dow   command                   
+LANG=C
+LPCONFIG=staging-supermirror
+LP_PY=/srv/bazaar.staging.launchpad.net/staging/launchpad/bin/py
+
+# Logrotation
+10 0 * * 1,4 [ ! -f /srv/bazaar.staging.launchpad.net/maintenance.txt ] && /usr/sbin/logrotate -s /srv/bazaar.staging.launchpad.net/etc/.logrotate.state /srv/bazaar.staging.launchpad.net/etc/logrotate.conf
+# Delete old bzr-sftp logs - these are automatically rotated
+05 0 * * * find /srv/bazaar.staging.launchpad.net/staging-logs/codehosting -maxdepth 1 -type f -name 'bzr-sftp.log.*' -mtime +60 -delete
+
+# Code Puller, Imports, Mirrors
+# separate pulling mirrored from hosted and imported branches; mirrored have a tendency to behave badly and delay the others
+* * * * * [ ! -f /srv/bazaar.staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bazaar.staging.launchpad.net/staging/launchpad/cronscripts/supermirror-pull.py --branch-type=IMPORTED -q --log-file=INFO:/srv/bazaar.staging.launchpad.net/staging-logs/puller-imported.log
+
+*/5 * * * * [ ! -f /srv/bazaar.staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bazaar.staging.launchpad.net/staging/launchpad/cronscripts/supermirror-pull.py --branch-type=MIRRORED -q --log-file=INFO:/srv/bazaar.staging.launchpad.net/staging-logs/puller-mirrored.log
+
+# Upgrade branches that users have requested a bzr format upgrade for
+*/10 * * * * [ ! -f /srv/bazaar.staging.launchpad.net/maintenance.txt ] && $LP_PY /srv/bazaar.staging.launchpad.net/staging/launchpad/cronscripts/process-job-source.py IBranchUpgradeJobSource -q --log-file=INFO:/srv/bazaar.staging.launchpad.net/staging-logs/process-job-source.IBranchUpgradeJobSource.log
+
+# Processes watcher and cleaner
+* * * * * /srv/shared-branches/lp-staging-scripts/ps_dump.sh /srv/bazaar.staging.launchpad.net/var/ps_stats
+15 0 * * * /srv/shared-branches/lp-staging-scripts/ps_dump_clean.sh /srv/bazaar.staging.launchpad.net/var/ps_stats
+
+# QAStaging Update
+24,54 * * * * /srv/shared-branches/lp-staging-scripts/qastaging-update/tellurium.canonical.com-supermirror.sh >> /srv/bazaar.qastaging.launchpad.net/qastaging-logs/qastaging-update.log 2>&1
+
+# OOPS amqp. Normally one per unix user; but need separate for qa/staging
+15 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost staging.launchpad.net --repo /srv/bazaar.staging.launchpad.net/var/local-oopses-supermirror --key ""
+20 * * * * /srv/oops-datedir2amqp/python-oops-datedir2amqp/bin/datedir2amqp --exchange oopses --host asuka --username oops-datedir2amqp --password `cat /srv/oops-datedir2amqp/rabbitpw` --vhost qastaging.launchpad.net --repo /srv/bazaar.qastaging.launchpad.net/var/local-oopses-supermirror --key ""
+