Commit b105b15 1 parent be51beb commit b105b15 Copy full SHA for b105b15
File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,12 @@ function start_dependencies {
123
123
fi
124
124
125
125
start_docker_images $DOCKER_TESTDB_IMAGE $DOCKER_IMAGES $additional_images
126
+ # Use port 3010 for tiamat and 3110 for tiamat-e2e
127
+ ./scripts/seed-municipalities-and-fare-zones.sh 3010 &
128
+ if [ " $INCLUDE_E2E " = true ]; then
129
+ ./scripts/seed-municipalities-and-fare-zones.sh 3110 &
130
+ fi
131
+ wait
126
132
127
133
check_images
128
134
}
@@ -223,6 +229,8 @@ function setup_environment {
223
229
224
230
if [ " $INCLUDE_E2E " = true ]; then
225
231
seed_infra_links testdb-e2e
232
+ # Use port 3110 for tiamat-e2e
233
+ ./scripts/seed-municipalities-and-fare-zones.sh 3110
226
234
fi
227
235
228
236
if [[ $1 = " test" ]]; then
@@ -238,6 +246,9 @@ function setup_environment {
238
246
docker exec -i testdb sed -i ' 1s;^;SET session_replication_role = replica\;\n;' dump.sql
239
247
docker exec -i testdb sh -c ' psql postgresql://dbadmin:adminpassword@localhost:5432/jore4e2e < dump.sql'
240
248
249
+ # Use port 3010 for tiamat
250
+ ./scripts/seed-municipalities-and-fare-zones.sh 3010
251
+
241
252
cd ./test-db-manager
242
253
yarn build
243
254
yarn seed
You can’t perform that action at this time.
0 commit comments