Skip to content

Commit

Permalink
Add capi-env-pool scripts directory to path
Browse files Browse the repository at this point in the history
- So we can run new print_env_info script from the pool (instead of the
old alias from capi_workspace)

[#159186352]

Signed-off-by: Tim Downey <[email protected]>
  • Loading branch information
Gerg authored and tcdowney committed Jul 20, 2018
1 parent 21aaa1c commit 4c39a61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions assets/capidoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ bootstrap_cf:
location: capi-release/scripts
group: cf
print_env_info:
description: List all the bosh-lites in the pool
location: capi-workspace/custom-bash-it-plugins
description: List all the claimed bosh-lites in the pool
location: capi-env-pool/scripts
group: bosh
cats:
description: Runs cats with local integration_config
Expand Down
6 changes: 0 additions & 6 deletions custom-bash-it-plugins/capi-aliases.bash
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# CATs
alias cats='(cd ~/go/src/github.com/cloudfoundry/cf-acceptance-tests && CONFIG=$PWD/integration_config.json bin/test --nodes=3)'

alias print_env_info='pushd ~/workspace/capi-env-pool > /dev/null; git pull > /dev/null && ~/workspace/capi-ci/ci/bosh-lite/src/print_env_info; popd > /dev/null'

# PSQL
alias psql_bosh_lite='~/workspace/capi-release/scripts/psql-bosh-lite'
alias mysql_bosh_lite='~/workspace/capi-release/scripts/mysql-bosh-lite'

#FASD
alias v='fasd -e vim'

Expand Down
2 changes: 1 addition & 1 deletion custom-bash-it-plugins/capi-env.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

# Add capi-workspace/scripts, capi-ci/scripts, and capi-release/scripts to PATH
export PATH="$PATH:$HOME/workspace/capi-release/scripts:$HOME/workspace/capi-ci/scripts:$HOME/workspace/capi-workspace/scripts"
export PATH="$PATH:$HOME/workspace/capi-release/scripts:$HOME/workspace/capi-ci/scripts:$HOME/workspace/capi-workspace/scripts:$HOME/workspace/capi-env-pool/scripts"

# Add brew-installed python to the path.
# Must go at the beginning so that it's prioritized over the system installation.
Expand Down

0 comments on commit 4c39a61

Please sign in to comment.