forked from cloudfoundry/capi-workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clone-repos.sh
executable file
·39 lines (30 loc) · 1.71 KB
/
clone-repos.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
#!/bin/bash
set -e
source ./helpers/clone.sh
source ./helpers/disable-cred-hook.sh
pushd ~/workspace > /dev/null
clone [email protected]:pivotal/pivotal_ide_prefs.git ~/workspace/pivotal_ide_prefs
clone [email protected]:cloudfoundry/capi-release.git ~/workspace/capi-release develop
clone [email protected]:cloudfoundry/capi-env-pool.git ~/workspace/capi-env-pool
disable_cred_hook ~/workspace/capi-env-pool
clone [email protected]:cloudfoundry/capi-ci.git ~/workspace/capi-ci
clone [email protected]:cloudfoundry/capi-dockerfiles.git ~/workspace/capi-dockerfiles
clone [email protected]:cloudfoundry/capi-ci-private.git ~/workspace/capi-ci-private
disable_cred_hook ~/workspace/capi-ci-private
clone [email protected]:cloudfoundry/cf-deployment.git ~/workspace/cf-deployment
# clone golang repos and symlink them into the GOPATH
clone [email protected]:cloudfoundry/cf-acceptance-tests.git ~/go/src/github.com/cloudfoundry/cf-acceptance-tests
if [ ! -L ~/workspace/cf-acceptance-tests ]; then
ln -s $HOME/go/src/github.com/cloudfoundry/cf-acceptance-tests ~/workspace/cf-acceptance-tests
fi
clone [email protected]:cloudfoundry/sync-integration-tests.git ~/go/src/code.cloudfoundry.org/sync-integration-tests
ln -sfn $HOME/go/src/code.cloudfoundry.org/sync-integration-tests ~/workspace/sync-integration-tests
clone [email protected]:cloudfoundry/capi-bara-tests.git ~/go/src/github.com/cloudfoundry/capi-bara-tests
if [ ! -L ~/workspace/capi-bara-tests ]; then
ln -s $HOME/go/src/github.com/cloudfoundry/capi-bara-tests ~/workspace/capi-bara-tests
fi
clone [email protected]:cloudfoundry/cli.git ~/go/src/code.cloudfoundry.org/cli
if [ ! -L ~/workspace/cli ]; then
ln -s $HOME/go/src/code.cloudfoundry.org/cli/ ~/workspace/cli
fi
popd > /dev/null