actions-marketplace-validations/Hasura CI
Provides CI/CD for Hasura Metadata/Migrations and Regression Tests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| PATH_TO_HASURA_PROJECT_ROOT | The 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 ./hasura | no | — |
| HASURA_CLI_VERSION | Version of Hasura CLI to download and use. Defaults to 'latest' if not set. | no | — |
| HASURA_ENDPOINT | Optional 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_SECRET | Optional 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_ENABLED | Whether or not migrations should be run during CI/CD. | no | — |
| HASURA_SEEDS_ENABLED | Whether or not seeds should be run during CI/CD. | no | — |
| HASURA_REGRESSION_TESTS_ENABLED | Whether or not the CI/CD should attempt to run regression tests. Only available for Hasura Cloud and Hasura Enterprise users. | no | — |
| HASURA_REGRESSION_TESTSUITE_ID | The ID for the regression testsuite to run, if enabled. | no | — |
| HASURA_PERSONAL_ACCESS_TOKEN | A Personal Access Token | no | — |
| HASURA_PROJECT_ID | ID for the Hasura Cloud or Hasura Enterprise project to run regression tests on, if enabled | no | — |
Outputs
no outputs