Allow setting CTS parent_compose_ids using --parent-compose-id option.
This is needed to track dependencies between composes in the Compose Tracking Service. Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
parent
7a6d8303dc
commit
2657a12c96
3 changed files with 17 additions and 3 deletions
|
|
@ -648,7 +648,7 @@ class ComposeTestCase(unittest.TestCase):
|
|||
mocked_requests.post.assert_called_once_with(
|
||||
"https://cts.localhost.tld/api/1/composes/",
|
||||
auth=mock.ANY,
|
||||
json={"compose_info": self.ci_json},
|
||||
json={"compose_info": self.ci_json, "parent_compose_ids": None},
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue