Skip to content

Commit 081efd9

Browse files
committed
Chore: add waiting period for supavisor and analytics, increase timeout to 60s
1 parent f37bafa commit 081efd9

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

scripts/run-integration.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,25 @@ wait_healthy() {
2828
}
2929

3030
wait_healthy db
31+
wait_healthy analytics
32+
wait_healthy supavisor
3133
wait_healthy kong
3234

3335
# ---------------------------------------------------------------------------
3436
# Set env vars for the SvelteKit app (THESE ARE NOT PROD SECRETS)
3537
# we can also include a .env.ci file for sveltekit, but it's not a priority
3638
# ---------------------------------------------------------------------------
37-
export DATABASE_URL="postgres://postgres.1:123@localhost:6543/postgres?pgbouncer=true"
39+
export DATABASE_URL=postgres://postgres.1:123@localhost:6543/postgres?pgbouncer=true
3840
export SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIn0.PqdH6E8yzZhWwB_c9o9e4LjdYXDTbEf5tdAqbBIrzKQ
39-
export DIRECT_URL="postgres://postgres.1:123@localhost:5432/postgres"
40-
export PUBLIC_SUPABASE_URL="http://localhost:8000"
41+
export DIRECT_URL=postgres://postgres.1:123@localhost:5432/postgres
42+
export PUBLIC_SUPABASE_URL=http://localhost:8000
4143
export PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
42-
export FILESYSTEM="SUPABASE"
44+
export FILESYSTEM=SUPABASE
4345
export SAML_METADATA_IDP_URL=https://dev-gibxq4rldhm2q1st.eu.auth0.com/samlp/metadata/A7xXQ9i7TlNy98eaPhNbQAczMFVLTLxq
4446
export SRAM_SAML_METADATA_IDP_URL=https://meta.sram.surf.nl/metadata/proxy_idp.xml
4547
export PUBLIC_SAML_IDP_DOMAIN=dev-gibxq4rldhm2q1st.eu.auth0.com
4648
export PUBLIC_SRAM_SAML_IDP_DOMAIN=sram.surf.nl
47-
export PUBLIC_ENVIRONMENT="dev"
49+
export PUBLIC_ENVIRONMENT=dev
4850

4951
# ---------------------------------------------------------------------------
5052
# Build and start preview server

0 commit comments

Comments
 (0)