graphql-engine/scripts
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
..
coalesce_run_sql [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
containers docker: Mount database data directories as named volumes. 2022-08-04 10:11:10 +00:00
edit-pg-dump Merge oss/master onto mono/main 2020-11-12 22:37:19 +05:30
ekg server: add support for tagged and dynamic metrics 2021-08-05 21:08:17 +00:00
make server/tests-hspec: Simplifying the steps required to run these on macOS on aarch64. 2022-09-21 16:48:21 +00:00
bigquery.sh server/tests: unify HASURA_BIGQUERY_SERVICE_KEY and HASURA_BIGQUERY_SERVICE_ACCOUNT env vars 2022-03-14 07:50:35 +00:00
cabal-freeze-update.sh Fix up for scripts/cabal-freeze-update.sh 2022-06-09 19:52:38 +00:00
cabal-run.sh multitenant tests: reduce reliance on env vars, use fake cabal run 2022-01-24 18:15:25 +00:00
data-sources-util.sh server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
dev.sh Demand Python 3.9 to run the server's Python integration tests. 2022-09-13 20:20:19 +00:00
dump-remote-schema.js Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
extract-notes.sh Stable sort of extracted notes 2022-02-03 13:33:09 +00:00
generate_brand_assets_readme.sh update brand assets (#2062) 2019-04-26 10:05:52 +05:30
get-version.sh Data-Connectors SDK 2022-06-27 09:32:12 +00:00
hoogle.sh server/gardening: move local hoogle setup from Makefile to bash script 2022-03-16 10:44:01 +00:00
hpack.sh server: Automate generation and verification of Cabal files from hpack. 2022-07-29 16:22:12 +00:00
parse-pytest-backend server/tests: unify HASURA_BIGQUERY_SERVICE_KEY and HASURA_BIGQUERY_SERVICE_ACCOUNT env vars 2022-03-14 07:50:35 +00:00
performance_report.sh utils: fix scripts/performance_report.sh 2021-12-20 12:03:33 +00:00
post-release.sh ci: fix bugs faced during v2.2.0 release 2022-02-16 08:21:35 +00:00
tag-release.sh ci: tag release v2.11.2 and v2.12.0 2022-09-12 07:19:23 +00:00
verify-bigquery-creds.sh server: Fix up the instructions on testing against BigQuery. 2022-06-15 09:45:19 +00:00