Skip to content

Commit

Permalink
[orion-decision] Force push task to test in PR CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yescomply committed Oct 29, 2024
1 parent 9426341 commit 18f80e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/orion-builder/src/orion_builder/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ def main(argv: Optional[List[str]] = None) -> None:

# manually add the task to the TC index.
# do this now and not via route on the build task so that post-build tests can run
if args.index is not None:
# if args.index is not None:
if False: # TODO: remove after testing push in PR CI
LOG.info("Inserting into TC index task: ", tasks[0][0])
index.insertTask(
args.index,
Expand Down
1 change: 1 addition & 0 deletions services/orion-decision/src/orion_decision/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ def create_tasks(self) -> None:
combine_tasks_created[obj.name] = self._create_combine_task(
obj, service_build_tasks
)
should_push = True # TODO: remove (after testing push in PR CI)
if should_push:
if multi_arch:
if last_build_for_svc:
Expand Down

0 comments on commit 18f80e2

Please sign in to comment.