Skip to content

Commit

Permalink
ci: increase limit of validatar query in hasura config
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed May 6, 2024
1 parent aef5117 commit 6e92420
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ stop-docker-test:

start-docker-test: stop-docker-test
@echo "Starting Docker container..."
@docker run --name callisto-test-db -e POSTGRES_USER=callisto -e POSTGRES_PASSWORD=password -e POSTGRES_DB=callisto -d -p 6433:5432 postgres
@docker run --name callisto-test-db -e POSTGRES_USER=callisto -e POSTGRES_PASSWORD=password -e POSTGRES_DB=callisto -d -v ./database/schema:/docker-entrypoint-initdb.d -p 6433:5432 postgres
.PHONY: start-docker-test

test-unit: start-docker-test
Expand Down
11 changes: 11 additions & 0 deletions hasura.a
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
docker run -d -p 8080:8080 \
--net host \
--name hasura-bdjuno \
-e HASURA_GRAPHQL_DATABASE_URL=postgres://callisto:password@localhost:6433/callisto\
-e HASURA_GRAPHQL_METADATA_DATABASE_URL=postgres://callisto:password@localhost:6433/callisto \
-e HASURA_GRAPHQL_ENABLE_CONSOLE=true \
-e HASURA_GRAPHQL_DEV_MODE=true \
-e HASURA_GRAPHQL_UNAUTHORIZED_ROLE="anonymous" \
-e HASURA_GRAPHQL_ADMIN_SECRET="test" \
-e ACTION_BASE_URL="http://localhost:3000" \
hasura/graphql-engine
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,5 @@ select_permissions:
- consensus_address
- consensus_pubkey
filter: {}
limit: 100
limit: 1000
role: anonymous

0 comments on commit 6e92420

Please sign in to comment.