tmt.steps.prepare.artifact package
Subpackages
- tmt.steps.prepare.artifact.providers package
- Submodules
- tmt.steps.prepare.artifact.providers.brew module
- tmt.steps.prepare.artifact.providers.copr_build module
- tmt.steps.prepare.artifact.providers.file module
- tmt.steps.prepare.artifact.providers.koji module
- tmt.steps.prepare.artifact.providers.repository module
- Module contents
Module contents
- class tmt.steps.prepare.artifact.PrepareArtifact(*, step: Step, data: StepDataT, workdir: Literal[True] | Path | None = None, logger: Logger)
Bases:
PreparePlugin[PrepareArtifactData]Prepare artifacts on the guest.
Note
This is a draft plugin to be implemented
Store plugin name, data and parent step
- SHARED_REPO_DIR_NAME: ClassVar[str] = 'artifact-shared-repo'
- SHARED_REPO_NAME: ClassVar[str] = 'tmt-artifact-shared'
- cli_invocation: 'tmt.cli.CliInvocation' | None = None
- essential_requires() list[DependencySimple | DependencyFmfId | DependencyFile]
Collect all essential requirements of the plugin.
Essential requirements of a plugin are necessary for the plugin to perform its basic functionality.
- Returns:
a list of requirements.
- go(*, guest: Guest, environment: Environment | None = None, logger: Logger) PluginOutcome
Prepare the guest (common actions)
- class tmt.steps.prepare.artifact.PrepareArtifactData(name: str, how: str, order: int = 50, when: list[str] = <factory>, summary: str | None = None, where: list[str] = <factory>, provide: list[str] = <factory>)
Bases:
PrepareStepData- provide: list[str]
- class tmt.steps.prepare.artifact.RpmArtifactInfo(_raw_artifact: dict[str, str])
Bases:
ArtifactInfoRepresents a single RPM package.
- property id: str
RPM identifier
- property location: str
- tmt.steps.prepare.artifact.get_artifact_provider(provider_id: str) type[ArtifactProvider[ArtifactInfo]]