graphql-engine/server
Samir Talwar 8cb2738cbe server/tests-py: Declaratively state the HGE environment variables.
This has two purposes:

* When running the Python integration tests against a running HGE instance, with `--hge-url`, it will check the environment variables available and actively skip the test if they aren't set. This replaces the previous ad-hoc skip behavior.
* More interestingly, when running against a binary with `--hge-bin`, the environment variables are passed through, which means different tests can run with different environment variables.

  On top of this, the various services we use for testing now also provide their own environment variables, rather than expecting a test script to do it.

In order to make this work, I also had to invert the dependency between various services and `hge_ctx`. I extracted a `pg_version` fixture to provide the PostgreSQL version, and now pass the `hge_url` and `hge_key` explicitly to `ActionsWebhookServer`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6028
GitOrigin-RevId: 16d866741dba5887da1adf4e1ade8182ccc9d344
2022-09-28 09:21:02 +00:00
..
bench-wrk server/tests-py: Reduce the number of locations we check the status code. 2022-07-05 18:01:07 +00:00
benchmarks ci/benchmarks: fix copypaste bug affecting regression report highlighting in #5942 2022-09-22 16:24:15 +00:00
documentation server/postgres: test identifier uniqueness rewrite 2022-06-17 10:44:18 +00:00
lib Add the ability to test against tables in configurable schemas in Data Connector Agent test suite 2022-09-27 23:42:32 +00:00
src-emit-metadata-openapi server: initial set of DTO types for metadata 2022-06-27 16:33:31 +00:00
src-exec Import pg-client-hs as PG 2022-09-20 19:55:51 +00:00
src-lib server: add metadata origin in streaming subscription field parser 2022-09-27 15:56:46 +00:00
src-rsr ci: tag release v2.13.0-beta.1 2022-09-22 08:19:04 +00:00
src-test server: Console Sentry DSN support 2022-09-27 14:51:52 +00:00
tests-hspec ci: Testing more Postgres versions with Hspec 2022-09-28 03:39:22 +00:00
tests-py server/tests-py: Declaratively state the HGE environment variables. 2022-09-28 09:21:02 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md tooling: add coreutils to macos install docs 2022-09-16 14:16:21 +00:00
CONTRIBUTING.md Use docker compose, not docker-compose. 2022-08-02 10:30:57 +00:00
graphql-engine.cabal Extract dc-api and its tests from graphql-engine.cabal 2022-09-27 07:21:54 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md server: testing guidelines 2022-03-08 09:53:27 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json server: Automate generation and verification of Cabal files from hpack. 2022-07-29 16:22:12 +00:00