feat: use postgres

This commit is contained in:
Ilia Denisov
2026-04-26 20:34:39 +02:00
committed by GitHub
parent 48b0056b49
commit fe829285a6
365 changed files with 29223 additions and 24049 deletions
@@ -0,0 +1,13 @@
package harness
// AuthsessionRedisEnv returns the env-var map that wires the authsession
// binary to a Redis master at masterAddr using the master/replica/password
// shape required by `pkg/redisconn`. The integration suites pass a fixed
// placeholder password because the test Redis container runs without
// `requirepass`.
func AuthsessionRedisEnv(masterAddr string) map[string]string {
return map[string]string{
"AUTHSESSION_REDIS_MASTER_ADDR": masterAddr,
"AUTHSESSION_REDIS_PASSWORD": "integration",
}
}