mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2025-12-31 02:42:40 +00:00
test ci --check
This commit is contained in:
@@ -19,5 +19,5 @@ COPY . .
|
||||
# Creates a "dist" folder
|
||||
RUN npm run build
|
||||
|
||||
# Start the server
|
||||
CMD [ "node", "dist/main.js" ]
|
||||
# Execute test suite
|
||||
RUN npm run test
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
while ! docker logs v3-user-db-test --tail=1 | grep -q "database system is ready to accept connections";
|
||||
while ! docker logs v3-user-db-test --tail=1 | grep -q -i "database system is ready to accept connections";
|
||||
do
|
||||
sleep 5
|
||||
echo "Waiting for Test DB to be up..."
|
||||
|
||||
Reference in New Issue
Block a user