fix __init__
This commit is contained in:
parent
f65fbe206b
commit
b22f0096f2
5 changed files with 6 additions and 6 deletions
2
build.py
2
build.py
|
@ -27,7 +27,7 @@ use_plugin("python.distutils")
|
||||||
default_task = "publish"
|
default_task = "publish"
|
||||||
|
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
version = "0.4.0.dev1"
|
version = "0.4.0.dev2"
|
||||||
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")]
|
||||||
|
|
|
@ -11,8 +11,8 @@ def add_aws_mixin_config(config, account_name):
|
||||||
|
|
||||||
class AwsMixin(DevopsTerraformBuild):
|
class AwsMixin(DevopsTerraformBuild):
|
||||||
|
|
||||||
def __init__(self, project, config):
|
def __init__(project, config):
|
||||||
super().__init__(self, project, config)
|
super().__init__(project, config)
|
||||||
aws_mixin_config = config['AwsMixin']
|
aws_mixin_config = config['AwsMixin']
|
||||||
self.account_name = aws_mixin_config['account_name']
|
self.account_name = aws_mixin_config['account_name']
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name):
|
||||||
class DdaPalletMixin(DevopsBuild):
|
class DdaPalletMixin(DevopsBuild):
|
||||||
|
|
||||||
def __init__(self, project, config):
|
def __init__(self, project, config):
|
||||||
super().__init__(self, project, config)
|
super().__init__(project, config)
|
||||||
dda_pallet_mixin_config = config['DdaPalletMixin']
|
dda_pallet_mixin_config = config['DdaPalletMixin']
|
||||||
self.tenant = dda_pallet_mixin_config['tenant']
|
self.tenant = dda_pallet_mixin_config['tenant']
|
||||||
self.application = dda_pallet_mixin_config['application']
|
self.application = dda_pallet_mixin_config['application']
|
||||||
|
|
|
@ -21,7 +21,7 @@ def create_devops_terraform_build_config(stage, project_root_path, build_commons
|
||||||
class DevopsTerraformBuild(DevopsBuild):
|
class DevopsTerraformBuild(DevopsBuild):
|
||||||
|
|
||||||
def __init__(self, project, config):
|
def __init__(self, project, config):
|
||||||
super().__init__(self, project, config)
|
super().__init__(project, config)
|
||||||
self.additional_vars = config['additional_vars']
|
self.additional_vars = config['additional_vars']
|
||||||
self.tf_import_name = config['tf_import_name']
|
self.tf_import_name = config['tf_import_name']
|
||||||
self.tf_import_resource = config['tf_import_resource']
|
self.tf_import_resource = config['tf_import_resource']
|
||||||
|
|
|
@ -11,7 +11,7 @@ def add_hetzner_mixin_config(config):
|
||||||
class HetznerMixin(DevopsTerraformBuild):
|
class HetznerMixin(DevopsTerraformBuild):
|
||||||
|
|
||||||
def __init__(self, project, config):
|
def __init__(self, project, config):
|
||||||
super().__init__(self, project, config)
|
super().__init__(project, config)
|
||||||
hetzner_mixin_config = config['HetznerMixin']
|
hetzner_mixin_config = config['HetznerMixin']
|
||||||
self.hetzner_api_key = gopass_credential_from_env_path(
|
self.hetzner_api_key = gopass_credential_from_env_path(
|
||||||
hetzner_mixin_config['HETZNER_API_KEY_PATH_ENVIRONMENT'])
|
hetzner_mixin_config['HETZNER_API_KEY_PATH_ENVIRONMENT'])
|
||||||
|
|
Loading…
Reference in a new issue