[damned-lies/oscp] Update uwsgi entrypoint
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Update uwsgi entrypoint
- Date: Wed, 25 Mar 2020 22:49:06 +0000 (UTC)
commit 1f850d3a9cdc311f2ed6218d5c6f9e82089690cc
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Mar 25 23:48:49 2020 +0100
Update uwsgi entrypoint
uwsgi/entrypoint.sh | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/uwsgi/entrypoint.sh b/uwsgi/entrypoint.sh
index 9cfc67d9..8cdf6dc2 100755
--- a/uwsgi/entrypoint.sh
+++ b/uwsgi/entrypoint.sh
@@ -8,16 +8,7 @@ sed -i "s/\$SECRET_KEY/${SECRET_KEY}/" /l10n/damnedlies/damnedlies/local_setting
sed -i "s/\$SENTRY_DSN/${SENTRY_DSN}/" /l10n/damnedlies/damnedlies/local_settings.py
sed -i "s/\$GITLAB_TOKEN/${GITLAB_TOKEN}/" /l10n/damnedlies/damnedlies/local_settings.py
-echo 'Populating .ssh for the l10n user'
-mkdir -p /home/l10n/.ssh
-ln -s /home/l10n/.ssh_secret/ssh-privatekey /home/l10n/.ssh/ssh-privatekey
-ln -s /home/l10n/.ssh_secret/.gitconfig /home/l10n/.gitconfig
-wget https://gitlab.gnome.org/Infrastructure/damned-lies/-/raw/oscp/uwsgi/ssh_config -O
/home/l10n/.ssh/config
-
-echo 'Generating static files'
-python3 manage.py collectstatic
-
echo 'Compiling translations'
-python3 manage.py compile-trans
+/l10n/venv/bin/python manage.py compile-trans
exec "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]