← Back to team overview

launchpad-reviewers team mailing list archive

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

 

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

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/384708

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:~launchpad-pqm/lp-production-crontabs/staging.
=== modified file 'tellurium.canonical.com-loggerhead'
--- tellurium.canonical.com-loggerhead	2019-09-30 03:54:14 +0000
+++ tellurium.canonical.com-loggerhead	2020-05-28 09:29:18 +0000
@@ -1,6 +1,6 @@
 MAILTO=launchpad-error-reports@xxxxxxxxxxxxxxxxxxx
 # m h  dom mon dow   command
-00 00 * * * make -C /srv/codebrowse.staging.launchpad.net/staging >> /srv/codebrowse.staging.launchpad.net/staging-logs/rollout.log 2>&1
+
 15 00 * * * /usr/sbin/logrotate -s /srv/codebrowse.staging.launchpad.net/etc/.logrotate.state /srv/codebrowse.staging.launchpad.net/etc/logrotate.conf
 
 # QAStaging Update

=== modified file 'tellurium.canonical.com-supermirror'
--- tellurium.canonical.com-supermirror	2019-09-30 03:54:14 +0000
+++ tellurium.canonical.com-supermirror	2020-05-28 09:29:18 +0000
@@ -15,11 +15,6 @@
 
 */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
 
-# Rollout the new version of codehosting code if there is one
-00 00 * * * test `bzr revno /srv/bazaar.staging.launchpad.net/staging/launchpad` -ne `bzr revno /srv/code/db-stable/launchpad` && make -C /srv/bazaar.staging.launchpad.net/staging >> /srv/bazaar.staging.launchpad.net/staging-logs/rollout.log 2>&1
-
-15 0 * * * /srv/bazaar.staging.launchpad.net/scripts/importd_sync.sh
-
 # 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
 


Follow ups