Skip to content

Commit

Permalink
fix: update docker compose commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Juiced66 committed Aug 20, 2024
1 parent 3aaa8c2 commit f9bc939
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/functional-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ runs:
shell: bash
run: |
npm run docker npm ci
docker-compose up -d
docker compose up -d
bash tests/wait-kuzzle.sh
npm run test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"docker": "docker-compose run kuzzle_node_1 ",
"docker": "docker compose run kuzzle_node_1 ",
"dev": "NODE_ENV=development ergol tests/application/app.ts -c ergol.config.json",
"prod": "node ./dist/tests/application/app.js",
"test": "jest --runInBand",
Expand Down
2 changes: 1 addition & 1 deletion tests/wait-kuzzle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ do
((tries=tries+1))

if [ $tries -eq $max_tries ]; then
docker-compose logs
docker compose logs
curl http://localhost:7512?pretty
echo "Cannot connect to Kuzzle after $tries tries. Aborting."
exit 1
Expand Down

0 comments on commit f9bc939

Please sign in to comment.