Some checks are pending
Deploy info-canicule / deploy (push) Waiting to run
Graph T° (TemperatureChartInteractive.astro) : - Onglets 24 h / 7 j / 30 j (toggle JS, séries serialisées au SSR) - Hover vertical line + tooltip valeurs - Overlay normales mois en pointillé (TX orange, TN bleu) - Onglet 24 h dispo seulement si l'API MF a répondu (best-effort) Météo France OAuth2 (lib/meteofrance-auth.ts + observations.ts) : - client_credentials avec refresh auto, cache token Valkey - Fallback METEOFRANCE_STATIC_TOKEN pour debug - /synop endpoint pour 24h horaires par station SYNOP du dept - Mapping dept → station SYNOP la plus proche (src/data/stations-synop.json) - En attente de creds : SDK skip silencieusement, l'onglet 24h n'apparaît pas Widget iframe (/embed/dept/[code] + /embed doc) : - Layout minimal sans header/footer global - Réutilisable via iframe avec une ligne - Page /embed avec snippet copier-coller + aperçu live Tests E2E Playwright (tests/e2e/) : - home (carte 96 paths, tooltip dept, navigation) - api (health, vigilance, vigilance/dept) - departement (tabs période, DROM notice, 404) - static pages (a-propos, mentions, dependances, soutenir, conseils, embed) - embed widget (rendu minimal, headers X-Frame OK) - 20+ tests, run via pnpm test:e2e (live) ou test:e2e:local Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
886 B
Cheetah
20 lines
886 B
Cheetah
NODE_ENV=production
|
|
PORT=4321
|
|
PUBLIC_SITE_URL=https://info-canicule.nocleus.com
|
|
|
|
# Valkey shared infra — DB 0 (isolation par préfixe `info-canicule:*` via ACL)
|
|
REDIS_URL=redis://info-canicule:{{ pass://Infra/Valkey — info-canicule/password }}@valkey:6379/0
|
|
|
|
VIGILANCE_PROVIDER=opendatasoft
|
|
VIGILANCE_CACHE_TTL=900
|
|
|
|
# Umami analytics (RGPD, auto-hébergé — analytics.nocleus.com)
|
|
UMAMI_WEBSITE_ID={{ pass://Infra/Umami — info-canicule/website_id }}
|
|
UMAMI_SRC=https://analytics.nocleus.com/script.js
|
|
|
|
# GlitchTip (optionnel — si vide, pas d'envoi Sentry)
|
|
SENTRY_DSN={{ pass://Infra/Info Canicule — secrets/SENTRY_DSN }}
|
|
|
|
# Météo France API (portail-api.meteofrance.fr) — OAuth2 client_credentials pour hourly observations
|
|
METEOFRANCE_CLIENT_ID={{ pass://Infra/Météo France API/client_id }}
|
|
METEOFRANCE_CLIENT_SECRET={{ pass://Infra/Météo France API/client_secret }}
|