feat: print which allowed origins are set for this buildbot server
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
parent
ea08a7f4a1
commit
879e9cdcdf
1 changed files with 3 additions and 3 deletions
|
@ -996,9 +996,9 @@ class GerritNixConfigurator(ConfiguratorBase):
|
||||||
|
|
||||||
config_dict.setdefault("projects", [])
|
config_dict.setdefault("projects", [])
|
||||||
config_dict.setdefault("secretsProviders", [])
|
config_dict.setdefault("secretsProviders", [])
|
||||||
config_dict.setdefault("www", {
|
|
||||||
'allowed_origins': self.allowed_origins
|
print('Default allowed origins for this Buildbot server: {}'.format(', '.join(self.allowed_origins)))
|
||||||
})
|
config_dict["www"]["allowed_origins"] = self.allowed_origins
|
||||||
|
|
||||||
for item in worker_config_dict:
|
for item in worker_config_dict:
|
||||||
cores = item.get("cores", 0)
|
cores = item.get("cores", 0)
|
||||||
|
|
Loading…
Reference in a new issue