File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 5
5
# TEST_SUITE -- which test suite to run: free or platinum
6
6
# ELASTICSEARCH_URL -- The url at which elasticsearch is reachable, a default is composed based on STACK_VERSION and TEST_SUITE
7
7
# NODE_JS_VERSION -- node js version (defined in test-matrix.yml, a default is hardcoded here)
8
- script_path=$( dirname $( realpath -s $0 ) )
9
- source $script_path /functions/imports.sh
8
+ script_path=$( dirname " $( realpath -s " $0 " ) " )
9
+ source " $script_path /functions/imports.sh"
10
10
set -euo pipefail
11
11
12
12
NODE_JS_VERSION=${NODE_JS_VERSION-16}
@@ -29,13 +29,13 @@ docker build \
29
29
30
30
echo -e " \033[1m>>>>> NPM run test:integration >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
31
31
32
- repo=$( realpath $( dirname $( realpath -s $0 ) ) /../)
32
+ repo=$( realpath " $( dirname " $( realpath -s " $0 " ) " ) " /../)
33
33
34
34
docker run \
35
- --network=${network_name} \
35
+ --network=" ${network_name} " \
36
36
--env " TEST_ES_SERVER=${ELASTICSEARCH_URL} " \
37
37
--env " TEST_SUITE=${TEST_SUITE} " \
38
- --volume $repo :/usr/src/app \
38
+ --volume " $repo :/usr/src/app" \
39
39
--volume /usr/src/app/node_modules \
40
40
--name elasticsearch-js \
41
41
--rm \
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
#
3
3
# Version 1.1
4
- # - Moved to .ci folder and seperated out `run-repository.sh`
4
+ # - Moved to .ci folder and separated out `run-repository.sh`
5
5
# - Add `$RUNSCRIPTS` env var for running Elasticsearch dependent products
6
- script_path=$( dirname $( realpath -s $0 ) )
7
- source $script_path /functions/imports.sh
6
+ script_path=$( dirname " $( realpath -s " $0 " ) " )
7
+ source " $script_path /functions/imports.sh"
8
8
set -euo pipefail
9
9
10
10
echo -e " \033[1m>>>>> Start [$STACK_VERSION container] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
@@ -15,7 +15,7 @@ if [[ -n "$RUNSCRIPTS" ]]; then
15
15
echo -e " \033[1m>>>>> Running run-$RUNSCRIPT .sh >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
16
16
CONTAINER_NAME=${RUNSCRIPT} \
17
17
DETACH=true \
18
- bash .ci/run-${RUNSCRIPT} .sh
18
+ bash " .ci/run-${RUNSCRIPT} .sh"
19
19
done
20
20
fi
21
21
You can’t perform that action at this time.
0 commit comments