fix for credentials-service

This commit is contained in:
Michael Jerger 2023-05-19 15:50:33 +02:00
parent e51d2ec2a4
commit 76fd45e2dd
3 changed files with 7 additions and 7 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" name = "ddadevops"
version = "4.0.0-dev33" version = "4.0.0-dev35"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__ description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -2,8 +2,8 @@ from os import environ
from pybuilder.core import task, init from pybuilder.core import task, init
from ddadevops import * from ddadevops import *
name = "clojure" name = "ddabuild"
MODULE = "docker" MODULE = "clojure"
PROJECT_ROOT_PATH = "../.." PROJECT_ROOT_PATH = "../.."

View file

@ -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: