Enable pungi to send compose_url patches to CTS
If cts_keytab is also enabled then the HTTP requests are handled with Kerberos Authentication otherwise no authentication is used. If cts_url is defined in the configuration, translate_paths is required. This is needed in order to get the host and the path of the composes. Jira: RHELCMP-6318 Signed-off-by: Ozan Unsal <ounsal@redhat.com>
This commit is contained in:
parent
3d9335e90e
commit
b7666ba4a4
3 changed files with 29 additions and 1 deletions
|
|
@ -328,6 +328,11 @@ def main():
|
|||
logger=logger,
|
||||
notifier=notifier,
|
||||
)
|
||||
|
||||
rv = Compose.update_compose_url(compose_dir, conf)
|
||||
if not rv.ok:
|
||||
logger.error("CTS compose_url update failed with the error: %s" % rv.text)
|
||||
|
||||
errors, warnings = pungi.checks.validate(conf, offline=False)
|
||||
if errors:
|
||||
for error in errors:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue