support setting pypiBaseUrl by environment variables and queryParameters; affects [pypi] (#10044)

* support setting pypiBaseUrl by environment variables

* Add support for pypiBaseUrl configuration

* Update Pypi services to include pypiBaseUrl parameter

* change package name example to a more well-known package

* Update custom-environment-variables.yml

* Update Pypi services to include pypiBaseUrl parameter

* fix openapi mismatch

* Update doc/server-secrets.md

---------

Co-authored-by: chris48s <chris48s@users.noreply.github.com>
This commit is contained in:
Leo Q
2024-04-22 00:33:42 +08:00
committed by GitHub
parent 1e5d03fe58
commit e8671be7f2
14 changed files with 78 additions and 69 deletions

View File

@@ -139,6 +139,9 @@ const publicConfigSchema = Joi.object({
nexus: defaultService,
npm: defaultService,
obs: defaultService,
pypi: {
baseUri: requiredUrl,
},
sonar: defaultService,
teamcity: defaultService,
weblate: defaultService,