Mark Goddard
92c2456851
Write hash after compressing horizon static assets
...
If you run the horizon container with a restart policy of never, and the
static asset compression fails, the container fails to start, e.g. (seen
in CI)
++ /usr/bin/manage.py collectstatic --noinput --clear
Traceback (most recent call last):
File "/usr/bin/manage.py", line 18, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
However, with a restart policy of unless-stopped (the default). the
horizon container will fail the first time but will succeed after a
restart. This is because the settings bundle hash is updated before the
compression is attempted.
To fix this, update the hash after compression completes successfully.
Change-Id: I3f1682ed55e7d45c1e97a1b34c7993aa839f0bb2
Closes-Bug: #1824137
2019-04-10 15:14:25 +01:00
..
2017-11-09 09:40:37 +00:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-03-21 13:20:48 -04:00
2019-01-25 10:58:48 +00:00
2018-07-04 13:42:51 +02:00
2019-03-12 17:48:18 +00:00
2019-03-27 10:41:14 +09:00
2019-01-17 08:23:41 -07:00
2017-05-17 08:11:38 +00:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-03-12 18:24:29 +00:00
2019-01-17 08:23:41 -07:00
2019-03-11 16:52:09 +01:00
2019-01-17 08:23:41 -07:00
2019-03-27 16:19:13 +00:00
2019-03-12 17:48:18 +00:00
2019-01-17 08:23:41 -07:00
2017-05-03 11:08:17 +09:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-02-19 11:24:45 +00:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-03-27 11:44:05 +01:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-03-15 18:06:44 +00:00
2019-04-10 15:14:25 +01:00
2017-05-03 11:08:17 +09:00
2019-03-13 08:15:38 -06:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-03-28 08:32:24 +00:00
2017-05-03 11:08:17 +09:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2018-11-05 13:01:48 +00:00
2019-03-28 21:35:43 +00:00
2019-02-19 11:24:45 +00:00
2018-08-09 05:29:50 +00:00
2017-05-12 14:22:29 +02:00
2019-01-17 08:23:41 -07:00
2019-02-19 11:24:45 +00:00
2019-01-18 09:39:49 -07:00
2019-03-12 17:48:18 +00:00
2019-03-23 10:16:19 +00:00
2017-05-03 11:08:17 +09:00
2019-03-12 17:48:18 +00:00
2019-03-21 14:12:39 +00:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-03-25 09:44:20 +01:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-01-17 08:23:41 -07:00
2019-03-21 09:56:45 -04:00
2019-03-12 17:48:18 +00:00
2019-02-28 13:06:24 +01:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-04-10 15:14:21 +01:00
2019-03-26 08:17:00 +00:00
2017-11-09 19:41:38 +08:00
2019-01-17 08:23:41 -07:00
2019-03-14 10:20:27 +00:00
2018-04-20 13:26:59 -04:00
2019-03-12 17:48:18 +00:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-03-18 23:55:46 +01:00
2017-05-03 11:08:17 +09:00
2019-01-17 08:23:41 -07:00
2019-03-18 15:29:11 +00:00
2019-03-22 10:52:57 +01:00
2017-05-03 11:08:17 +09:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-03-12 17:48:18 +00:00
2019-03-20 11:02:43 +01:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2017-05-03 11:08:17 +09:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-03-12 17:48:18 +00:00
2019-04-02 20:13:12 +01:00
2019-03-12 17:48:18 +00:00
2019-03-21 13:20:48 -04:00