File: bashrc

package info (click to toggle)
tiup 1.16.3-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,384 kB
  • sloc: sh: 1,988; makefile: 138; sql: 16
file content (36 lines) | stat: -rw-r--r-- 880 bytes parent folder | download
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
eval $(ssh-agent) &> /dev/null
ssh-add /root/.ssh/id_rsa &> /dev/null

export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/tiup-cluster/bin

if [ -d "/mirrors" ]; then
    export TIUP_MIRRORS=/mirrors
fi

# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'

mkdir -p ~/.tiup/bin
[[ -f ~/.tiup/bin/root.json ]] || curl "https://tiup-mirrors.pingcap.com/root.json" > ~/.tiup/bin/root.json

cat <<EOF
Welcome to tiup-cluster on Docker
===========================

This container runs the tiup-cluster tests in sub-containers.

You are currently in the base dir of the git repo for tiup-cluster.

Run \`tiup-cluster\` to play with tiup-cluster.

To run the test:
   ./tests/tiup-cluster/run.sh
   ...
EOF

cd /tiup-cluster