|
|
@ -2,8 +2,8 @@ from pathlib import Path
|
|
|
|
from .common import Devops, MixinType
|
|
|
|
from .common import Devops, MixinType
|
|
|
|
from .devops_factory import DevopsFactory
|
|
|
|
from .devops_factory import DevopsFactory
|
|
|
|
from .version import Version
|
|
|
|
from .version import Version
|
|
|
|
from .infrastructure import (
|
|
|
|
from ..infrastructure import (
|
|
|
|
BuildFileRepository
|
|
|
|
GopassApi, EnvironmentApi
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
class CredentialsService:
|
|
|
|
class CredentialsService:
|
|
|
@ -12,8 +12,8 @@ class CredentialsService:
|
|
|
|
@classmethod
|
|
|
|
@classmethod
|
|
|
|
def prod(cls):
|
|
|
|
def prod(cls):
|
|
|
|
return cls(
|
|
|
|
return cls(
|
|
|
|
DevopsFactory(),
|
|
|
|
GopassApi(),
|
|
|
|
BuildFileRepository(base_dir),
|
|
|
|
EnvironmentApi()
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
def initialize(self, input: dict) -> Devops:
|
|
|
|
def initialize(self, input: dict) -> Devops:
|
|
|
|