graphql-engine/.envrc.local.example
Samir Talwar 2467e23ef6 docker: Always use the official SQL Server image for testing.
Now that Docker for macOS supports using Rosetta for x86/amd64 emulation, we no longer need to use the `azure-sql-edge` image. We can always use the official `mcr.microsoft.com/mssql/server` one.

This also means that we no longer need the separate healthcheck container, because the official image ships with `sqlcmd`.

When this is merged, you will need to ensure you have enabled Rosetta emulation in the Docker settings to test against SQL Server on macOS. This requires macOS 13 (Ventura).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10139
GitOrigin-RevId: 2225bf5f4c6d3632da1f29b2229c9b04ead5e34c
2023-09-25 13:27:23 +00:00

32 lines
1.1 KiB
Bash

#!/usr/bin/env bash
### This is an example .envrc.local file you can start with. Uncomment the parts
### you'd like to use, and copy this to `.envrc.local`.
### Enable providing tooling with the Nix package manager
### (read the commentary in flake.nix first)
# use flake
### Enable providing NodeJS versions with `nvm`
# use nvm
### Enable providing GHC versions with `ghcup`
# use ghcup
### Raise open file limit to stop `api-tests` struggling
# ulimit -n 10240
### Export key for running BigQuery tests locally. This depends on a
### `bigquery-service-account-key.json` key living in the directory above
### the `graphql-engine` repository.
# HASURA_BIGQUERY_PROJECT_ID='regency-polecat-beehive'
# export HASURA_BIGQUERY_PROJECT_ID
# HASURA_BIGQUERY_SERVICE_KEY=$(cat ../bigquery-service-account.json)
# export HASURA_BIGQUERY_SERVICE_KEY
### Export EE license key for running pro tests locally
### This depends on a `ee-license-key.txt` living in the directory above
### the `graphql-engine` repository
# HASURA_GRAPHQL_EE_LICENSE_KEY=$(cat ../ee-license-key.txt)
# export HASURA_GRAPHQL_EE_LICENSE_KEY