diff --git a/lib/aio/testingfarm.py b/lib/aio/testingfarm.py index 3da5031f1d..4f99f963bb 100644 --- a/lib/aio/testingfarm.py +++ b/lib/aio/testingfarm.py @@ -106,7 +106,7 @@ async def submit_job( job: JobSpecification | JsonObject, # TODO: PEP 728 *, git_url_ref: tuple[str, str] | None = None, - compose: str = 'Fedora-Rawhide', + compose: str = 'Fedora-44', ) -> str: """Submit a job to Testing Farm for remote execution. @@ -114,7 +114,7 @@ async def submit_job( ctx: JobContext with configuration (will be serialized) job: Job specification as JSON object git_url_ref: Git repository URL and ref (default: from @{upstream}) - compose: Fedora compose to use (default: Fedora-Rawhide) + compose: Fedora compose to use (default: Fedora-44) Returns: Testing Farm request ID @@ -150,19 +150,8 @@ async def submit_job( 'secrets': { 'JOB_RUNNER_CONFIG_JSON': config_json, }, - 'hardware': { - 'virtualization': { - 'is-virtualized': True, - 'is-supported': True, - } - }, } ], - 'settings': { - 'pipeline': { - 'timeout': 120, - } - }, } url = f'{self.api_url}/requests' diff --git a/plans/job-runner.fmf b/plans/job-runner.fmf index b2ba53272c..49ccc88504 100644 --- a/plans/job-runner.fmf +++ b/plans/job-runner.fmf @@ -1,4 +1,12 @@ summary: Run job-runner task remotely +provision: + arch: x86_64 + image: Fedora-44 + hardware: + memory: ">= 4 GB" + virtualization: + is-supported: true + prepare: how: install package: @@ -16,4 +24,4 @@ execute: /job-runner: summary: Run job-runner task test: ../job-runner json "$JOB_JSON" - duration: 2h + duration: 4h