Skip to content
Snippets Groups Projects
Verified Commit 66c4994c authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

svntogit: Set SHELL=/bin/bash for git pull to work

The default login shell for the svntogit user (/sbin/nologin) breaks
the Match Exec directives in /srv/svntogit/.ssh/config and prohibits
Git from using the correct SSH key.

While we're at it, add --set-upstream to the git pull command so the
task is more likely to accomplish its intended purpose.
parent ac349234
No related branches found
No related tags found
No related merge requests found
Pipeline #9517 passed
......@@ -265,7 +265,9 @@
# The following command also serves as a way to get the data the first time the repo is set up
- name: configure svntogit pull upstream branch
command: git pull public master chdir=/srv/svntogit/repos/{{ item }}
command: git pull --set-upstream public master chdir=/srv/svntogit/repos/{{ item }}
environment:
- SHELL: /bin/bash
with_items:
- community
- packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment