Home | History | Annotate | Download | only in git_mirror_bot

Lines Matching refs:gitbot

17 mkdir -p /home/gitbot
18 mount -t tmpfs tmpfs /home/gitbot -o size=4G
19 useradd -d /home/gitbot -s /bin/bash -M gitbot || true
20 chown gitbot.gitbot /home/gitbot
25 mkdir -p /home/gitbot/logs
28 logfile=/home/gitbot/logs/supervisord.log
31 [program:gitbot]
32 directory=/home/gitbot
34 user=gitbot
37 stdout_logfile=/home/gitbot/logs/gitbot.log
42 curl -H Metadata-Flavor:Google "http://metadata.google.internal/computeMetadata/v1/instance/attributes/deploy_key" > /home/gitbot/deploy_key
43 chown gitbot /home/gitbot/deploy_key
44 chmod 400 /home/gitbot/deploy_key
46 curl -H Metadata-Flavor:Google "http://metadata.google.internal/computeMetadata/v1/instance/attributes/main" > /home/gitbot/mirror_aosp_to_ghub_repo.py
47 chown gitbot /home/gitbot/mirror_aosp_to_ghub_repo.py
48 chmod 755 /home/gitbot/mirror_aosp_to_ghub_repo.py
50 cd /home/gitbot
51 sudo -u gitbot bash -c "mkdir -p .ssh; ssh-keyscan github.com >> .ssh/known_hosts;"