graphql-engine/scripts/make
Samir Talwar 8b8d7ab96d server/tests-hspec: Simplifying the steps required to run these on macOS on aarch64.
This makes a few changes to the test scripts and makefiles in order to make things simpler for the average Apple user.

First of all, we change the `wait_for_mysql` function to use "localhost", not "127.0.0.1", as this fixed an issue on my system when attempting to connect to the MySQL server.

Secondly, we split the SQL Server test image into two:

* The first is the server itself, which now automatically uses `azure-sql-edge` as the image if you are on an aarch64 chip and using the `make` commands.
* The second is the initialization script. Because `sqlcmd` is not available in the `azure-sql-edge` image on aarch64, we use a separate container based on `mssql-tools` to initialize the server.

The README has been updated.

Tested on both macOS/aarch64 (with other changes) and Linux/x86_64.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5986
GitOrigin-RevId: b16e079861dcbcc66773295c47d715e443b67eea
2022-09-21 16:48:21 +00:00
..
build.mk server: Move the schema parsers to their own library. 2022-08-05 13:53:39 +00:00
ghcid.mk tests: add CockroachDB hspec tests 2022-09-07 15:12:03 +00:00
legacy-tests.mk server/tests-py: Move installing node_modules to the makefile. 2022-08-16 09:27:04 +00:00
lint.mk server: Automate generation and verification of Cabal files from hpack. 2022-07-29 16:22:12 +00:00
test-infrastructure.mk server/tests-hspec: Simplifying the steps required to run these on macOS on aarch64. 2022-09-21 16:48:21 +00:00
tests.mk add cockroach to docker compose and tests-hspec 2022-08-25 17:18:40 +00:00