Verified Commit 66c4994c authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
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
Pipeline #9517 passed with stage
in 58 seconds
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment