summaryrefslogtreecommitdiff
path: root/zuul/_setup_hook.py
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2019-06-04 09:56:57 -0700
committerJames E. Blair <jeblair@redhat.com>2019-06-04 09:57:04 -0700
commiteb7b18b38e01688b5b05e5dfdb359ff5d42d1ed8 (patch)
tree258464c16af3df16611bbffcf3ebbac76e3fd42d /zuul/_setup_hook.py
parentbbff35751b910d47b968209ae85efae5d51b0401 (diff)
downloadzuul-eb7b18b38e01688b5b05e5dfdb359ff5d42d1ed8.tar.gz
Revert "Create zuul/web/static on demand"
This reverts commit 64e2bc8ba8c3123f0fc8170f0b51e09de6e515b1. This appears to have broken js content tarball generation: http://zuul.openstack.org/build/f26dc90f339a4359a5cf93a3b0edb96f Change-Id: I3d4928aeba8449702ba7484cb6b679433b10cbeb
Diffstat (limited to 'zuul/_setup_hook.py')
-rw-r--r--zuul/_setup_hook.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/zuul/_setup_hook.py b/zuul/_setup_hook.py
index 945b9141d..d88815c36 100644
--- a/zuul/_setup_hook.py
+++ b/zuul/_setup_hook.py
@@ -29,7 +29,6 @@ def _build_javascript():
if r:
raise RuntimeError("Yarn install failed")
if not os.path.exists('zuul/web/static/index.html'):
- os.makedirs('zuul/web/static', exist_ok=True)
r = subprocess.Popen(['yarn', 'build'], cwd="web/").wait()
if r:
raise RuntimeError("Yarn build failed")