This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed
shared/codestream_configs/bin Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ abort_on_fail=1
2525# environment is set
2626
2727cd $CSBE_TOP
28- [ ! -d .git ] && echo " nothing to configure for a pre-built asset sandbox" && exit 0
28+ [ ! -d .git ] && echo " nothing to configure for a pre-built asset sandbox ( $CSBE_TOP /.git not found) " && exit 0
2929
3030# Install git submodules
3131[ -f .gitmodules ] && echo " Updating submodules" && git submodule update --init --recursive
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ sandutil_load_options $CSBE_SANDBOX || { echo "failed to load options" >&2 && re
3737# Uncomment and setup if node is required. Available versions can be seen
3838# with the command:
3939# ssh $DT_CLOUD_SERVER ls /home/web/SandboxRepos/software/node-$DT_OS_TYPE-*
40- export CSBE_NODE_VER=16.15.1
40+ export CSBE_NODE_VER=` cat $CSBE_TOP /sandbox/node-version `
4141export PATH=$CSBE_SANDBOX /node/bin:$CSBE_TOP /node_modules/.bin:./node_modules/.bin:$PATH
4242
4343# Add $MY_SANDBOX/bin to the search path
Original file line number Diff line number Diff line change 1+ 16.15.1
Original file line number Diff line number Diff line change 22# Common routines for codestream-server sandboxes
33
44# Defaults values
5- [ -n " $CSBE_NODE_VER " ] && _defaultNodeVersion=$CSBE_NODE_VER || { _defaultNodeVersion=16.15.1 && echo " CSBE_NODE_VER not defined. THIS IS BAD " ; }
5+ [ -n " $CSBE_NODE_VER " ] && _defaultNodeVersion=$CSBE_NODE_VER || _defaultNodeVersion=` cat $CSSVC_BACKEND_ROOT /sandbox/node-version `
66
77[ -z " $CSBE_API_DEFAULT_PORT " ] && export CSBE_API_DEFAULT_PORT=12079
88
@@ -85,6 +85,8 @@ function sbcfg_initialize {
8585 export PATH=$sbTop /node_modules/.bin:$PATH
8686 export NODE_PATH=$sbTop /node_modules:$NODE_PATH
8787 export PATH=$sbTop /bin:$PATH
88+ env | grep NODE_VER
89+ env | grep REPO_ROOT
8890
8991 # ---- CORE VARIABLES
9092 [ -z " $sbLogs " ] && sbcfg_set_var " ${sbPrefix} _LOGS" $sbRoot /log
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ default environment list: $environmentList
1616
1717if [ " $DT_RDB_WHICH " == " nrdev" ]; then
1818 profiles=" $DT_RESOURCES /codestream/config-profiles"
19- environmentList=" local local1 local2 dev pd pd2 qa qa2 stg"
19+ environmentList=" local local1 local2 dev ci pi pd pd2 qa qa2 stg"
2020 # environmentList="local local1 local2 pd pd2 qa qa2 ci pi stg"
2121elif [ " $DT_RDB_WHICH " == " nrprod" ]; then
2222 profiles=" $DT_RESOURCES /codestream/config-profiles"
You can’t perform that action at this time.
0 commit comments