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
2018-07-04 13:42:51 +02:00
2019-01-17 08:23:41 -07:00
2017-05-17 08:11:38 +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-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-01-17 08:23:41 -07: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
2017-05-03 11:08:17 +09:00
2019-03-13 08:15:38 -06: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
2018-11-05 13:01:48 +00:00
2019-01-17 08:23:41 -07:00
2019-01-18 09:39:49 -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-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07:00
2019-04-10 15:14:21 +01: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-01-17 08:23:41 -07: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-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-01-17 08:23:41 -07:00
2019-01-17 08:23:41 -07: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-04-02 20:13:12 +01:00
2019-03-12 17:48:18 +00:00