[damned-lies/oscp] Populate /home/l10n/.ssh



commit 135522fa3089f5a7e588bb37c24058d1ebc57546
Author: Andrea Veri <averi redhat com>
Date:   Fri Sep 13 16:16:02 2019 +0200

    Populate /home/l10n/.ssh

 entrypoint.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/entrypoint.sh b/entrypoint.sh
index b53a8173..f6d2ce3e 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -8,7 +8,9 @@ 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 'Fetching ssh_config'
+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
 wget https://gitlab.gnome.org/Infrastructure/damned-lies/blob/oscp/ssh_config -O /home/l10n/.ssh/config
 
 /l10n/venv/bin/python manage.py collectstatic


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]