🔧(conf) add server to server api tokens to common
We have the e2e test "it creates a doc server way" that is quite complicated to run locally, because it requires the `DJANGO_SERVER_TO_SERVER_API_TOKENS` environment variable to be set in "env.d/development/common". We moved `DJANGO_SERVER_TO_SERVER_API_TOKENS` from "env.d/development/common.e2e.dist" to "env.d/development/common.dist", by doing so, this variable will be set by default in the "env.d/development/common" file, the test will now run without any additional configuration.
This commit is contained in:
@@ -62,5 +62,6 @@ COLLABORATION_SERVER_ORIGIN=http://localhost:3000
|
||||
COLLABORATION_SERVER_SECRET=my-secret
|
||||
COLLABORATION_WS_URL=ws://localhost:4444/collaboration/ws/
|
||||
|
||||
DJANGO_SERVER_TO_SERVER_API_TOKENS=server-api-token
|
||||
Y_PROVIDER_API_BASE_URL=http://y-provider-development:4444/api/
|
||||
Y_PROVIDER_API_KEY=yprovider-api-key
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# For the CI job test-e2e
|
||||
BURST_THROTTLE_RATES="200/minute"
|
||||
COLLABORATION_API_URL=http://y-provider:4444/collaboration/api/
|
||||
DJANGO_SERVER_TO_SERVER_API_TOKENS=test-e2e
|
||||
SUSTAINED_THROTTLE_RATES="200/hour"
|
||||
Y_PROVIDER_API_BASE_URL=http://y-provider:4444/api/
|
||||
Reference in New Issue
Block a user