File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ export PS4=$'+ \e[0;40;36m${BASH_SOURCE}:${FUNCNAME[0]:+${FUNCNAME[0]}}:${LINENO
55${DEBUG: +set -x}
66set -e
77
8+ #
9+ # There is a shortcut to target specific environment via `export SH_ID=`
10+ #
11+ # ```
12+ # SH_ID=205d4fca-66da-48c6-90ae-10a6f79610e1 SH_NS=aberezovsky shep_env
13+ # ```
14+ #
15+ # After this `bosh`, `credhub`, and `cf` commands will be targeted to selected shepherd environment.
16+ #
17+ # By default scripts use tas-devex namespace, but you can easially point to your personal namespace by `export SH_NS=`
18+ #
19+
820export SH_NS=${SH_NS:- tas-devex} \
921 SH_ID=${SH_ID:- --last-lease}
1022
Original file line number Diff line number Diff line change @@ -5,6 +5,21 @@ export PS4=$'+ \e[0;40;36m${BASH_SOURCE}:${FUNCNAME[0]:+${FUNCNAME[0]}}:${LINENO
55# env SHELLOPTS="${SHELLOPTS}:xtrace" shep_env
66set -e
77
8+ #
9+ # Script allow developer to list, select, and target TAS shepherd environments from the workstation
10+ # By default scripts use tas-devex namespace, but you can easially point to your personal namespace by `export SH_NS=`
11+ #
12+ # ```
13+ # SH_NS=aberezovsky shep_env
14+ # ```
15+ #
16+ # You can pass environment filter options after `s` or `shep_select` command
17+ #
18+ # ```
19+ # shep_select APPSMAN-148
20+ # ```
21+ #
22+
823${DEBUG: +set -x}
924
1025export SH_NS=" ${SH_NS:- tas-devex} "
You can’t perform that action at this time.
0 commit comments