graphql-engine/scripts/make
Samir Talwar e3b46b78a9 server/upgrade-tests: Tests that ensure that HGE upgrades successfully.
These tests ensure that upgrading HGE preserves the GraphQL schema.

They do this by running two different versions of HGE against the same metadata, and ensuring that the GraphQL schema doesn't change.

We might find that in the future, we make an additive change that makes these tests fail. Improving the tests to allow for this is left as an exercise to whoever triggers it. (Sorry.)

Currently, we do this with:

  * an empty database (zero tracked relations)
  * the Chinook dataset
  * the "huge schema" dataset

The base version of HGE tested against can be overridden with an option. The version must be available on Docker Hub.

Further information is in the Haddock documentation.

[NDAT-627]: https://hasurahq.atlassian.net/browse/NDAT-627?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8982
GitOrigin-RevId: 97b4deda1e6fe1db33ce35db02e12c6acc6c29e3
2023-04-28 12:54:51 +00:00
..
build.mk make: Add make targets for formatting and linting frontend code. 2023-03-23 15:16:14 +00:00
ci.mk [ci] split out api-tests runs by backend 2022-11-30 16:23:03 +00:00
frontend.mk frontend: Use origin/main as the base when running Nx commands. 2023-04-25 21:43:28 +00:00
ghcid.mk chore(server): move perms to custom return types 2023-04-04 12:46:51 +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: Make HLint pass, by hook or by crook. 2023-04-25 14:03:02 +00:00
metadata-api.mk server: commit Metadata OpenAPI spec with CI check, add Typescript client scaffolding 2023-02-15 18:38:38 +00:00
repl.mk chore(tooling): add make repl-postgres command 2023-04-05 13:24:04 +00:00
run.mk make: Add run-oss-server, and associated frontend targets. 2023-04-06 08:53:13 +00:00
test-infrastructure.mk GDC Mysql integration tests 2023-02-16 06:30:51 +00:00
tests.mk server/upgrade-tests: Tests that ensure that HGE upgrades successfully. 2023-04-28 12:54:51 +00:00