~benji/charmworld/fix-generation-19

Viewing all changes in revision 469.

  • Committer: Tarmac
  • Author(s): Brad Crittenden
  • Date: 2014-01-02 21:49:09 UTC
  • mfrom: (467.2.3 make-queue-a-job)
  • Revision ID: tarmac-20140102214909-7bbo2r2gpdr94jtq
Run charm/bundle queue and ingest from one script

Originally, queueing was run from a cronjob every fifteen minutes.  Stuff was
added without regard to it being queued up already.

Ingest was run continuously but slept fifteen minutes when it completed before
looking at the queue again.

This change makes the supervisord-run worker do the queue job, then ingest
charms and bundles.  At the end, it sleeps for fifteen minutes minus the
amount spent doing the work.

The charmworld charm needs to be fixed to not create the cronjob for
queueing.  It hasn't been done yet but the bin/queued script that is called by
the cronjob needs to be disabled before this change lands or the queueing will
be run by two different approaches.

https://codereview.appspot.com/45440043/

R=benji. Fixes: https://bugs.launchpad.net/bugs/1130732.

Approved by Juju Gui Bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: