Skip to content

Use individual token per qa-report-app instance - T10606

Ritesh Raj Sarraf requested to merge wip/ritesh/t10606.main into master

With task T10606, we make each instance of qa-report-app have its own token. As such, these changes are needed to honor the new field

Should fix below exception:

Traceback (most recent call last):
  File "/app/./wait-for-db.py", line 27, in <module>
    main()
  File "/app/./wait-for-db.py", line 18, in main
    config.load_config_from_file(args.config)
  File "/app/config.py", line 817, in load_config_from_file
    self._instance = AppConfig.parse_obj(data)
  File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj
  File "pydantic/env_settings.py", line 39, in pydantic.env_settings.BaseSettings.__init__
  File "pydantic/main.py", line 342, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for AppConfig
qa-report-gitlab-token
  extra fields not permitted (type=value_error.extra)

Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com

Merge request reports

Loading