mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 19:57:37 +08:00
Tests: bump the commit before builds
Whenever the tests start a "normal" (non-scratch) build, the commit needs to be bumped. Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
This commit is contained in:
@@ -14,6 +14,7 @@ def test_failed_build(test_env, repo, koji):
|
||||
cancelled, if not completed.
|
||||
"""
|
||||
build = utils.Build(test_env["packaging_utility"], test_env["mbs_api"])
|
||||
repo.bump()
|
||||
build.run(
|
||||
"--watch",
|
||||
"--scratch",
|
||||
|
||||
@@ -18,6 +18,7 @@ def test_normal_build(test_env, repo, koji):
|
||||
if a Platform stream is representing a GA RHEL release.
|
||||
"""
|
||||
build = utils.Build(test_env["packaging_utility"], test_env["mbs_api"])
|
||||
repo.bump()
|
||||
build_id = build.run(
|
||||
"--watch",
|
||||
"--scratch",
|
||||
|
||||
Reference in New Issue
Block a user