File tree Expand file tree Collapse file tree
tmt/steps/prepare/artifact Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313from tmt .steps .prepare import PreparePlugin , PrepareStepData
1414from tmt .steps .prepare .artifact .providers import (
1515 _PROVIDER_REGISTRY ,
16+ SHARED_REPO_NAME ,
1617 ArtifactProvider ,
1718 Repository ,
1819)
3132from tmt .utils import Path
3233from tmt .utils .environment import Environment
3334
34- #: Name of the shared repository that download providers contribute RPMs into.
35- SHARED_REPO_NAME : str = 'tmt-artifact-shared'
36-
3735
3836@container
3937class PrepareArtifactData (PrepareStepData ):
Original file line number Diff line number Diff line change 2727 r'^(?P<name>.+)-(?:(?P<epoch>\d+):)?(?P<version>.+)-(?P<release>.+)\.(?P<arch>.+)$'
2828)
2929
30+ #: Name of the shared repository that download providers contribute RPMs into.
31+ SHARED_REPO_NAME : str = 'tmt-artifact-shared'
32+
3033
3134class UnsupportedOperationError (RuntimeError ):
3235 """
@@ -45,7 +48,7 @@ class ArtifactInfo:
4548 provider : "ArtifactProvider"
4649 #: Repository ID this artifact is available from. Used during verification
4750 #: to confirm the artifact was installed from the expected repository.
48- repo_id : str = 'tmt-artifact-shared'
51+ repo_id : str = SHARED_REPO_NAME
4952
5053 @property
5154 def id (self ) -> str :
You can’t perform that action at this time.
0 commit comments