mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Move update-prod-static.log to var/log.
This commit is contained in:
committed by
Tim Abbott
parent
9b31f0a67a
commit
44d23975ed
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,7 +2,6 @@
|
||||
*~
|
||||
/all_messages_log.*
|
||||
/event_log/*
|
||||
/update-prod-static.log
|
||||
frontend_tests/casper_tests/server.log
|
||||
frontend_tests/casper_lib/test_credentials.js
|
||||
/prod-static
|
||||
|
||||
@@ -74,7 +74,7 @@ set -x
|
||||
./tools/update-prod-static
|
||||
echo "$GITID" > build_id
|
||||
echo "$version" > version
|
||||
mv update-prod-static.log ..
|
||||
mv var/log/update-prod-static.log ../
|
||||
|
||||
rm -f zproject/dev-secrets.conf
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@ prev_deploy = options.prev_deploy
|
||||
os.chdir(settings.DEPLOY_ROOT)
|
||||
|
||||
# Redirect child processes' output to a log file (most recent run only).
|
||||
fp = open('update-prod-static.log', 'w')
|
||||
subprocess.check_call(["mkdir", "-p", "var/log"])
|
||||
fp = open('var/log/update-prod-static.log', 'w')
|
||||
|
||||
# Install node packages
|
||||
subprocess.check_call(['npm', 'install'], stdout=fp, stderr=fp);
|
||||
|
||||
Reference in New Issue
Block a user