Commit Graph

2739 Commits

Author SHA1 Message Date
Joey Hess 4dddbb725d prevent multiple concurrent provisioning inside docker container
Lock a lock file while provisioning inside, otherwise propellor could be
running to init the container when the system has just booted, or the
container was just started from being stopped, and at the same time,
propellor run outside the container chains into it to provision.

Previously, simplesh prevented this in a different way.
2014-11-19 01:28:38 -04:00
Joey Hess 818fcdfb34
propellor spin 2014-11-19 01:05:10 -04:00
Joey Hess c3962dcf7d
propellor spin 2014-11-19 01:04:11 -04:00
Joey Hess f0675727c2
propellor spin 2014-11-19 01:02:54 -04:00
Joey Hess 05086b3abe
propellor spin 2014-11-19 01:02:13 -04:00
Joey Hess 9a779939c4 merge from git-annex 2014-11-19 00:55:07 -04:00
Joey Hess 492c2b98a5
propellor spin 2014-11-19 00:39:35 -04:00
Joey Hess fb3a6947c5
propellor spin 2014-11-19 00:38:35 -04:00
Joey Hess f8b71c0ab4
propellor spin 2014-11-19 00:38:11 -04:00
Joey Hess 29f3337034
propellor spin 2014-11-19 00:31:04 -04:00
Joey Hess 669305d75f
propellor spin 2014-11-19 00:30:23 -04:00
Joey Hess 325fe4037b
propellor spin 2014-11-19 00:30:06 -04:00
Joey Hess 111e08e156 typo 2014-11-18 23:54:49 -04:00
Joey Hess 6dc7176e7a fix haddock filename display 2014-11-18 23:51:37 -04:00
Joey Hess 745f9e2685 clean up Propellr.CmdLine exports 2014-11-18 23:50:38 -04:00
Joey Hess dac6a87419 broke out Server module 2014-11-18 22:13:13 -04:00
Joey Hess f1b2df601e comment 2014-11-18 21:37:31 -04:00
Joey Hess fa2450372c close 2014-11-18 21:34:34 -04:00
Joey Hess 9bf61263b5 Merge branch 'joeyconfig' 2014-11-18 21:32:15 -04:00
Joey Hess e334f35a45 comment 2014-11-18 21:32:15 -04:00
Joey Hess 1946b8df36
propellor spin 2014-11-18 21:26:44 -04:00
Joey Hess da8411c1f1 Merge branch 'joeyconfig' 2014-11-18 21:26:30 -04:00
Joey Hess b00d027a08 wording 2014-11-18 21:26:26 -04:00
Joey Hess e273946c22 reword 2014-11-18 21:20:56 -04:00
Joey Hess aa3f31940b Merge branch 'joeyconfig' 2014-11-18 21:18:26 -04:00
Joey Hess b964b48363 tense 2014-11-18 20:41:41 -04:00
Joey Hess c2ab73ba45
propellor spin 2014-11-18 20:38:30 -04:00
Joey Hess 6e327fa1a3
propellor spin 2014-11-18 20:38:11 -04:00
Joey Hess f9f60822ff
propellor spin 2014-11-18 20:33:25 -04:00
Joey Hess cdad4fbe15
propellor spin 2014-11-18 20:29:31 -04:00
Joey Hess 2ad3334b26
propellor spin 2014-11-18 20:28:16 -04:00
Joey Hess 04737b8975
propellor spin 2014-11-18 20:27:41 -04:00
Joey Hess 8686e1a5ba
propellor spin 2014-11-18 20:26:37 -04:00
Joey Hess cdb5583e57
propellor spin 2014-11-18 20:20:02 -04:00
Joey Hess be1287d5f9 refactor 2014-11-18 20:19:50 -04:00
Joey Hess d4a4f0193e refactor 2014-11-18 20:19:10 -04:00
Joey Hess a0d5f41a6c reorger to match usage 2014-11-18 19:49:34 -04:00
Joey Hess ce859eaa9a fix long line 2014-11-18 19:48:02 -04:00
Joey Hess 8b6531ea43 reorg 2014-11-18 19:43:53 -04:00
Joey Hess c9fed0fdaa add --update, which will one day replace --boot
But no time soon, since that would break --spin to old versions of
propellor

Maybe after 1 year?
2014-11-18 19:36:30 -04:00
Joey Hess 65d3f085dc remove what should be dead code
While old propellor's can emit Ready, they won't if they've managed to
updateFirst. If updateFirst fails due to eg, inaccessiable central repo,
those old propellor's are not able to receive inline git pushes anyway,
so are not going to update no matter what, so no point in making --spin
work in that case.
2014-11-18 19:33:11 -04:00
Joey Hess 907ecfb464 update 2014-11-18 19:00:34 -04:00
Joey Hess 95fda710cb update 2014-11-18 18:58:47 -04:00
Joey Hess 7299cd7320 expand 2014-11-18 18:56:15 -04:00
Joey Hess 0b58bc1710
propellor spin 2014-11-18 18:52:51 -04:00
Joey Hess 2bbb2aa6e2 remove --docker; use Continue
And --chain was already not used.
2014-11-18 18:52:00 -04:00
Joey Hess 34cbe738b7 don't need to parse --gitpush; just use a Continue 2014-11-18 18:47:44 -04:00
Joey Hess 80a20d6df3 cleanup 2014-11-18 18:46:10 -04:00
Joey Hess 94369ef76b
propellor spin 2014-11-18 18:45:07 -04:00
Joey Hess 66466a953d reorg 2014-11-18 18:44:24 -04:00