Skip to content

Commit

Permalink
fix(build): docker-compose is now docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Aug 2, 2024
1 parent 9b905de commit a397b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ jobs:
# cp certs/client/* plugin-debezium-postgres/src/test/resources/ssl/
# cp certs/ca.crt plugin-debezium-postgres/src/test/resources/ssl/
docker-compose -f docker-compose-ci.yml up -d mysql
docker-compose -f docker-compose-ci.yml up -d
docker compose -f docker-compose-ci.yml up -d mysql
docker compose -f docker-compose-ci.yml up -d
sleep 10
docker exec plugin-debezium_mysql_1 sh -c "mysql -u root -pmysql_passwd < /tmp/docker/mysql.sql"
docker exec plugin-debezium_postgres_1 sh -c "export PGPASSWORD=pg_passwd && psql -d postgres -U postgres -f /tmp/docker/postgres.sql > /dev/null"
docker compose -f docker-compose-ci.yml exec mysql sh -c "mysql -u root -pmysql_passwd < /tmp/docker/mysql.sql"
docker compose -f docker-compose-ci.yml exec postgres sh -c "export PGPASSWORD=pg_passwd && psql -d postgres -U postgres -f /tmp/docker/postgres.sql > /dev/null"
docker run -v ${PWD}/data:/tmp/docker --network=plugin-debezium_default mcr.microsoft.com/mssql-tools sh -c "/opt/mssql-tools/bin/sqlcmd -S sqlserver -U sa -P Sqls3rv3r_Pa55word! -i /tmp/docker/sqlserver.sql"
# Gradle check
Expand Down
2 changes: 0 additions & 2 deletions docker-compose-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.6"

services:
mysql:
image: mysql:8.0
Expand Down

0 comments on commit a397b39

Please sign in to comment.