infra/codestorage/hg-ssh

Paddy 2015-10-14 Parent:2f4a2a20ad6d Child:bf7b66df555f

3:bc0c83d5015d Go to Latest

infra/codestorage/hg-ssh/run.sh

Use the relative DNS address. Use the relative DNS address when digging for web frontends, which now works thanks to +search on dig. This allows us to transfer between namespaces without needing to change anything. Also makes this, in general, more flexible.

History
1 #!/bin/bash
3 # We need to reexecute these commands
4 # because Kubernetes doesn't use the
5 # VOLUME commands in the Dockerfiles
6 # when using volumes. So this makes
7 # things work on Kubernetes, but the
8 # Dockerfile makes things work when
9 # running locally.
10 mkdir -p /mounted/repos
11 chgrp -R committers /mounted
12 chmod -R 0770 /mounted
14 /bin/bash /usr/local/bin/helpers/pull.sh
15 /bin/bash /usr/local/bin/helpers/pullkeys.sh
16 /usr/sbin/sshd -D