File tree Expand file tree Collapse file tree 6 files changed +17
-17
lines changed
Expand file tree Collapse file tree 6 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ function destroy_localstack {
126126 kill_container publish=4566 localstack
127127 kill_container publish=4573 dynamodb-local
128128}
129- function run_localstack {
129+ function start_localstack {
130130 docker-compose -f docker-compose.localstack-local.yaml up -d
131131}
132- function run_localstack_itest {
132+ function start_localstack_itest {
133133 docker-compose -f docker-compose-itest.yml up -d
134134}
135135
@@ -161,8 +161,8 @@ case "${command}" in
161161 npm install
162162 npm run resolve-audit
163163 ;;
164- run_localstack_itest )
165- run_localstack_itest
164+ start_localstack_itest )
165+ start_localstack_itest
166166 ;;
167167 list_outdated)
168168 npm install
@@ -187,13 +187,13 @@ case "${command}" in
187187 test_integration)
188188 destroy_localstack
189189 configure_local_envs
190- run_localstack_itest
190+ start_localstack_itest
191191 npm install
192192 sh scripts/create-dynamodb-table.sh
193193 npm run test:integration
194194 ;;
195- run_localstack_local )
196- run_localstack
195+ start_localstack )
196+ start_localstack
197197 ;;
198198 test_functional)
199199 configure_service_url
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ function destroy_localstack {
101101 kill_container publish=4566 localstack
102102 kill_container publish=4573 dynamodb-local
103103}
104- function run_localstack {
104+ function start_localstack {
105105 docker-compose -f docker-compose.localstack-local.yaml up -d
106106}
107107
@@ -138,7 +138,7 @@ case "${command}" in
138138 npm run test:unit
139139 configure_local_envs
140140 destroy_localstack
141- run_localstack
141+ start_localstack
142142 sh scripts/create-bucket.sh
143143 sh scripts/create-dynamodb-table.sh
144144 npm run test:integration
@@ -162,8 +162,8 @@ case "${command}" in
162162 nslookup " ehr-repo.${DOMAIN_INFIX} .patient-deductions.nhs.uk"
163163 curl -i --fail " https://ehr-repo.${DOMAIN_INFIX} .patient-deductions.nhs.uk/health"
164164 ;;
165- run_localstack_local )
166- run_localstack
165+ start_localstack )
166+ start_localstack
167167 ;;
168168 destroy_localstack)
169169 destroy_localstack
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ case "${command}" in
146146 configure_sonar_environment_variable
147147 ./gradlew build sonar --info
148148 ;;
149- run_localstack_local )
149+ start_localstack )
150150 configure_local_envs
151151 docker compose -f docker-compose.localstack-local.yaml up -d
152152 ;;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ case "${command}" in
7878 configure_local_envs
7979 ./gradlew bootRun
8080 ;;
81- run_localstack_local )
81+ start_localstack )
8282 docker-compose -f docker-compose.localstack-local.yaml up -d
8383 ;;
8484 * )
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ case "${command}" in
152152 configure_envs
153153 ./gradlew bootRun
154154 ;;
155- run_localstack_local )
155+ start_localstack )
156156 docker-compose -f docker-compose.localstack-local.yaml up -d
157157 ;;
158158 tf)
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ function configure_local_envs {
142142 export NHS_ENVIRONMENT=" local"
143143}
144144
145- function run_localstack_local {
145+ function start_localstack {
146146 docker compose -f docker-compose.localstack-local.yaml up -d
147147}
148148
@@ -210,8 +210,8 @@ case "${command}" in
210210 configure_envs
211211 ./gradlew bootRun
212212 ;;
213- run_localstack_local )
214- run_localstack_local
213+ start_localstack )
214+ start_localstack
215215 ;;
216216 tf)
217217 check_env
You can’t perform that action at this time.
0 commit comments