gavinray97/Hasura CI

Provides CI/CD for Hasura Metadata/Migrations and Regression Tests

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
PATH_TO_HASURA_PROJECT_ROOTThe relative path from the root of your repo to where the Hasura project (containing config.yaml and your migrations/metadata folders) is located. For example, if your top-level directory contains a "hasura" folder, then this value should be ./hasurano
HASURA_CLI_VERSIONVersion of Hasura CLI to download and use. Defaults to 'latest' if not set.no
HASURA_ENDPOINTOptional overriding URL for the Hasura endpoint to call migrate apply and/or regression tests on. Will default to config.yaml value (as the CLI is run from the directory containing config.yaml).no
HASURA_ADMIN_SECRETOptional overriding admin secret for the Hasura instance. Will default to config.yaml value (as the CLI is run from the directory containing config.yaml).no
HASURA_MIGRATIONS_ENABLEDWhether or not migrations should be run during CI/CD.no
HASURA_SEEDS_ENABLEDWhether or not seeds should be run during CI/CD.no
HASURA_REGRESSION_TESTS_ENABLEDWhether or not the CI/CD should attempt to run regression tests. Only available for Hasura Cloud and Hasura Enterprise users.no
HASURA_REGRESSION_TESTSUITE_IDThe ID for the regression testsuite to run, if enabled.no
HASURA_PERSONAL_ACCESS_TOKENA Personal Access Tokenno
HASURA_PROJECT_IDID for the Hasura Cloud or Hasura Enterprise project to run regression tests on, if enabledno

no outputs