forked from cloud-barista/cb-spider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
develop.env
52 lines (41 loc) · 1.95 KB
/
develop.env
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
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
# for CB-Spider developers
# spider root path
alias cdspider='cd $CBSPIDER_ROOT'
# bin
alias cdbin='cd $CBSPIDER_ROOT/bin'
# conf
alias cdconf='cd $CBSPIDER_ROOT/conf'
# log
alias cdlog='cd $CBSPIDER_ROOT/log'
# runtime
alias cdruntime='cd $CBSPIDER_ROOT/api-runtime'
alias cdgrpc='cd $CBSPIDER_ROOT/api-runtime/grpc-runtime'
alias cdrest='cd $CBSPIDER_ROOT/api-runtime/rest-runtime'
alias cdtest='cd $CBSPIDER_ROOT/test'
alias cdresttest='cd $CBSPIDER_ROOT/api-runtime/rest-runtime/test'
alias cdmeerkat='cd $CBSPIDER_ROOT/api-runtime/meerkat-runtime'
# cloud driver interface
alias cddrvif='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/interfaces'
# cloud drivers
alias cdaws='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/aws'
alias cdgcp='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/gcp'
alias cdazure='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/azure'
alias cdalibaba='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/alibaba'
alias cdopenstack='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/openstack'
alias cdcloudit='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/cloudit'
alias cddocker='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/docker'
alias cdmock='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/mock'
alias cdtencent='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/tencent'
alias cdibm='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/ibmcloud-vpc'
alias cdmini='cd $CBSPIDER_ROOT/cloud-control-manager/cloud-driver/drivers/mini'
# AdminWeb
alias cdadminweb='cd $CBSPIDER_ROOT/api-runtime/rest-runtime/admin-web'
# interface
alias cdif='cd $CBSPIDER_ROOT/interface'
alias cdcliex='cd $CBSPIDER_ROOT/interface/cli-examples'
alias cdapi='cd $CBSPIDER_ROOT/interface/api'
#
PATH="$CBSPIDER_ROOT/interface:$PATH"
# terminal prompt
export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\h:\[\e[31;1m\]\W# \[\e[0m\]"