File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ cd $SCRIPT_PATH/../../..
6
6
7
7
if ! [[ " $( docker container inspect -f ' {{.State.Running}}' orion_db) " = " true" ]]; then
8
8
docker network create joystream_default || true
9
- docker- compose up -d orion_db
10
- until docker- compose logs orion_db | grep " database system is ready to accept connections" ; do
11
- docker- compose logs --tail 10 orion_db
9
+ docker compose up -d orion_db
10
+ until docker compose logs orion_db | grep " database system is ready to accept connections" ; do
11
+ docker compose logs --tail 10 orion_db
12
12
echo " Waiting for the db to be ready..."
13
13
sleep 1
14
14
done
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ cd $SCRIPT_PATH/../../..
6
6
7
7
if ! [[ " $( docker container inspect -f ' {{.State.Running}}' orion_db) " = " true" ]]; then
8
8
docker network create joystream_default || true
9
- docker- compose up -d orion_db
10
- docker- compose up -d orion_processor # We need the processor to run the migrations
11
- until docker- compose logs orion_db | grep " database system is ready to accept connections" > /dev/null; do
9
+ docker compose up -d orion_db
10
+ docker compose up -d orion_processor # We need the processor to run the migrations
11
+ until docker compose logs orion_db | grep " database system is ready to accept connections" > /dev/null; do
12
12
sleep 1
13
13
done
14
14
fi
15
15
16
16
sleep 10
17
17
18
18
cleanup () {
19
- docker- compose down -v
19
+ docker compose down -v
20
20
}
21
21
22
22
# Run the tests
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ cd $SCRIPT_PATH/../../..
6
6
7
7
if ! [[ " $( docker container inspect -f ' {{.State.Running}}' orion_db) " = " true" ]]; then
8
8
docker network create joystream_default || true
9
- docker- compose up -d orion_db &
9
+ docker compose up -d orion_db &
10
10
2> /dev/null
11
- until docker- compose logs orion_db | grep " database system is ready to accept connections" > /dev/null; do
11
+ until docker compose logs orion_db | grep " database system is ready to accept connections" > /dev/null; do
12
12
echo " Waiting for the db to be ready..."
13
13
sleep 1
14
14
done
15
15
make migrate > /dev/null
16
16
fi
17
17
18
18
cleanup () {
19
- docker- compose down -v
19
+ docker compose down -v
20
20
}
21
21
22
22
# Run the tests
You can’t perform that action at this time.
0 commit comments