Skip to content

Commit fdc80d7

Browse files
committed
Rename db-up|down-test → db-up|dow-ci, start|stop-test-dbs.sh → start|stop-ci-dbs.sh
1 parent b7bf2e2 commit fdc80d7

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,16 @@ db-up-dev:
110110
# By setting the optional variable
111111
# DATABASEPOOL_TEARDOWN
112112
# the database containers will be removed after the test run completes. Default is `false`.
113-
db-up-test:
114-
./scripts/start-test-dbs.sh
113+
db-up-ci:
114+
./scripts/start-ci-dbs.sh
115115

116116
db-down: db-down-dev db-down-test redis-down-dev
117117

118118
db-down-dev:
119119
docker rm -f spi_dev
120120

121-
db-down-test:
122-
./scripts/stop-test-dbs.sh
121+
db-down-ci:
122+
./scripts/stop-ci-dbs.sh
123123

124124
db-reset: db-down db-up migrate
125125

scripts/start-test-dbs.sh renamed to scripts/start-ci-dbs.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/usr/bin/env bash
22

3+
# Sets up the databases the same way we do in ci.yml
4+
# - no ports exposed
5+
# - connected to a bridge network
6+
# Tests need to be run from a container attached to the same network.
7+
38
docker network create -d bridge spi_test 2> /dev/null
49

510
for port in {0..7}; do
File renamed without changes.

0 commit comments

Comments
 (0)