Skip to content

Commit

Permalink
mark all livemode actors as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
mhecko committed Jun 2, 2024
1 parent 6f2e9c9 commit 1cc9525
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
PrepareLiveImagePostTasks,
TargetUserSpaceInfo,
)
from leapp.tags import InterimPreparationPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag


class LiveImageGenerator(Actor):
Expand All @@ -26,7 +26,7 @@ class LiveImageGenerator(Actor):
PrepareLiveImagePostTasks,
TargetUserSpaceInfo,)
produces = (LiveModeArtifacts,)
tags = (InterimPreparationPhaseTag, IPUWorkflowTag,)
tags = (ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag,)

def process(self):
livemode = next(api.consume(LiveModeConfigFacts), None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from leapp.libraries.common.rpms import has_package
from leapp.libraries.stdlib import api
from leapp.models import InstalledRPM, LiveModeConfigFacts, ModelViolationError
from leapp.tags import FactsPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, FactsPhaseTag, IPUWorkflowTag

LEAPP_LIVEMODE_JSON = '/etc/leapp/files/livemode.json'

Expand All @@ -20,7 +20,7 @@ class LiveModeConfig(Actor):
name = 'live_mode_config'
consumes = (InstalledRPM)
produces = (LiveModeConfigFacts)
tags = (FactsPhaseTag, IPUWorkflowTag,)
tags = (ExperimentalTag, FactsPhaseTag, IPUWorkflowTag,)

def process(self):
unsupported = os.getenv('LEAPP_UNSUPPORTED', 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from leapp.actors import Actor
from leapp.models import LiveModeConfigFacts
from leapp.reporting import Report
from leapp.tags import FactsPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, FactsPhaseTag, IPUWorkflowTag


class LiveModeReport(Actor):
Expand All @@ -13,7 +13,7 @@ class LiveModeReport(Actor):
name = 'live_mode_report'
consumes = (LiveModeConfigFacts)
produces = (Report)
tags = (IPUWorkflowTag, FactsPhaseTag)
tags = (ExperimentalTag, IPUWorkflowTag, FactsPhaseTag)

def process(self):
livemode = next(self.consume(LiveModeConfigFacts), None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
StorageInfo,
TargetUserSpaceInfo,
)
from leapp.tags import InterimPreparationPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag


class PrepareLiveImage(Actor):
Expand All @@ -24,7 +24,7 @@ class PrepareLiveImage(Actor):
StorageInfo,
TargetUserSpaceInfo)
produces = (PrepareLiveImageTasks,)
tags = (InterimPreparationPhaseTag, IPUWorkflowTag,)
tags = (ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag,)

def process(self):
livemode = next(api.consume(LiveModeConfigFacts), None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
TargetUserSpaceInfo,
UsedTargetRepositories,
)
from leapp.tags import InterimPreparationPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag

# NOTE: would also need
# _REQUIRED_PACKAGES from actors/commonleappdracutmodules/libraries/modscan.py
Expand Down Expand Up @@ -42,7 +42,7 @@ class PrepareLiveRequirements(Actor):
TargetUserSpaceInfo,
UsedTargetRepositories)
produces = (LiveModeRequirementsTasks)
tags = (InterimPreparationPhaseTag, IPUWorkflowTag,)
tags = (ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag,)

def process(self):
livemode = next(api.consume(LiveModeConfigFacts), None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from leapp.actors import Actor
from leapp.libraries.stdlib import api
from leapp.models import LiveModeConfigFacts, LiveModeArtifacts
from leapp.tags import FirstBootPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, FirstBootPhaseTag, IPUWorkflowTag


class RemoveLiveImage(Actor):
Expand All @@ -14,7 +14,7 @@ class RemoveLiveImage(Actor):
name = 'remove_live_image'
consumes = (LiveModeConfigFacts, LiveModeArtifacts,)
produces = ()
tags = (FirstBootPhaseTag, IPUWorkflowTag)
tags = (ExperimentalTag, FirstBootPhaseTag, IPUWorkflowTag)

def process(self):
livemode = next(api.consume(LiveModeConfigFacts), None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
TargetUserSpaceInfo,
TargetKernelCmdlineArgTasks,
)
from leapp.tags import InterimPreparationPhaseTag, IPUWorkflowTag
from leapp.tags import ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag


class SetupBootEntry(Actor):
Expand All @@ -27,7 +27,7 @@ class SetupBootEntry(Actor):
TargetUserSpaceInfo,
TargetKernelCmdlineArgTasks)
produces = (LiveBootEntryTasks,)
tags = (InterimPreparationPhaseTag, IPUWorkflowTag,)
tags = (ExperimentalTag, InterimPreparationPhaseTag, IPUWorkflowTag,)

def process(self):
livemode = next(api.consume(LiveModeConfigFacts), None)
Expand Down

0 comments on commit 1cc9525

Please sign in to comment.