-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup-ci.sh
40 lines (27 loc) · 1.46 KB
/
setup-ci.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
mkdir $HOME/.ssh
touch $HOME/.ssh/id_rsa
chmod 600 $HOME/.ssh/id_rsa
git config --global url."[email protected]:".insteadOf "https://github.com/"
echo "$SSH_KEY_ADDRESS_REGISTRY" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/address-registry
echo "$SSH_KEY_FIXED_TERM_LOAN" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/fixed-term-loan
echo "$SSH_KEY_FIXED_TERM_LOAN_MANAGER" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/fixed-term-loan-manager
echo "$SSH_KEY_GLOBALS_V2" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/globals
echo "$SSH_KEY_LIQUIDATIONS" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/liquidations
echo "$SSH_KEY_OPEN_TERM_LOAN" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/open-term-loan
echo "$SSH_KEY_OPEN_TERM_LOAN_MANAGER" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/open-term-loan-manager
echo "$SSH_KEY_POOL_V2" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/pool
echo "$SSH_KEY_WITHDRAWAL_MANAGER" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/withdrawal-manager-cyclical
echo "$SSH_KEY_POOL_PERMISSION_MANAGER" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/pool-permission-manager
echo "$SSH_KEY_WM_QUEUE" > $HOME/.ssh/id_rsa
git submodule update --init --recursive modules/withdrawal-manager-queue
git submodule update --init --recursive