Skip to content

Commit

Permalink
docker compose github
Browse files Browse the repository at this point in the history
  • Loading branch information
josemariaeliasMM committed Aug 7, 2024
1 parent b396dfb commit bc5588a
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 106 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/functional-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
run: npm run build

- name: Start containers
run: docker-compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" up -d
run: docker compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" up -d

- name: Run tests
run: npm run test:functional

- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" down
run: docker compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" down
4 changes: 2 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- run: npm run test:unit:frontend:coverage

- name: Start containers
run: docker-compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" up -d
run: docker compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" up -d

- run: npm run test:integration:coverage
- run: npm run test:coverage:merge
Expand All @@ -57,4 +57,4 @@ jobs:

- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" down
run: docker compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" down
5 changes: 2 additions & 3 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: '3'
services:
gql-schema-registry-db:
image: mysql:8
command: mysqld --default-authentication-plugin=mysql_native_password --skip-mysqlx
image: mysql:8.4
container_name: gql-schema-registry-db
environment:
SERVICE_3306_NAME: gql-schema-registry-db
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: schema_registry
ports:
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.perf-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: '3'
services:
gql-schema-registry-db:
image: mysql:8
command: mysqld --default-authentication-plugin=mysql_native_password --skip-mysqlx
image: mysql:8.4
container_name: gql-schema-registry-db
environment:
SERVICE_3306_NAME: gql-schema-registry-db
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: schema_registry
ports:
Expand Down
176 changes: 81 additions & 95 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"kafkajs": "1.15.0",
"knex": "2.4.2",
"lodash": "4.17.21",
"mysql2": "1.7.0",
"mysql2": "3.11.0",
"node-fetch": "^2.6.7",
"node-gzip": "^1.1.2",
"prismjs": "1.28.0",
Expand Down

0 comments on commit bc5588a

Please sign in to comment.