fix: generate and store the ext auth salt on a new install instead of refusing to start (#15191)

This commit is contained in:
Hengfei Yang
2026-10-08 09:56:01 +00:00
committed by GitHub
parent 1bf81734c5
commit 610cd70a13
23 changed files with 320 additions and 274 deletions
-1
View File
@@ -20,7 +20,6 @@ env:
COLUMNS: 150
ZO_ROOT_USER_EMAIL: root@example.com
ZO_ROOT_USER_PASSWORD: Complexpass#123
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
ZO_BASE_URL: http://localhost:5080/
ZO_BASE_URL_SC: http://localhost:5080/
WS_ZO_BASE_URL: ws://localhost:5080/
-1
View File
@@ -20,7 +20,6 @@ env:
COLUMNS: 150
ZO_ROOT_USER_EMAIL: root@example.com
ZO_ROOT_USER_PASSWORD: Complexpass#123
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
ZO_BASE_URL: http://localhost:5080/
ZO_INTERNAL_GRPC_TOKEN: fake_token_for_testing
ZO_MEM_PERSIST_INTERVAL: 1
-1
View File
@@ -84,7 +84,6 @@ env:
# Non-secret defaults for a fresh local OpenObserve (identical to the other test workflows).
ZO_ROOT_USER_EMAIL: root@example.com
ZO_ROOT_USER_PASSWORD: Complexpass#123
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
# RUM-ingestion parity with the proven playwright.yml suite. Without these a fresh
# OpenObserve can silently reject/misfile RUM ingest (loopback SSRF guard, missing org,
# dynamic schema, past-timestamp window). The iOS binary inherits these from the job env;
-1
View File
@@ -21,7 +21,6 @@ env:
COLUMNS: 150
ZO_ROOT_USER_EMAIL: root@example.com
ZO_ROOT_USER_PASSWORD: Complexpass#123
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
ZO_BASE_URL: http://localhost:5080
WS_ZO_BASE_URL: ws://localhost:5080
ZO_BASE_URL_SC: http://localhost:5080
@@ -18,7 +18,6 @@ env:
COLUMNS: 150
ZO_ROOT_USER_EMAIL: root@example.com
ZO_ROOT_USER_PASSWORD: Complexpass#123
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
ZO_BASE_URL: http://localhost:5080
WS_ZO_BASE_URL: ws://localhost:5080
ZO_BASE_URL_SC: http://localhost:5080
-2
View File
@@ -112,7 +112,6 @@ jobs:
contents: read
env:
ZO_INTERNAL_GRPC_TOKEN: fake
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
ZO_TEXT_DATA_TYPE: text
ZO_META_STORE: postgres
ZO_META_POSTGRES_DSN: postgres://postgres:password@localhost:5432/postgres
@@ -187,7 +186,6 @@ jobs:
contents: read
env:
ZO_INTERNAL_GRPC_TOKEN: fake
ZO_EXT_AUTH_SALT: ci-only-ext-auth-salt-0123456789abcdef
ZO_TEXT_DATA_TYPE: text
ZO_META_STORE: sqlite
ZO_META_POSTGRES_DSN: ""