breaking-change: dda-pallet-mixin -> dda-tenant-mixin
This commit is contained in:
parent
37177961ae
commit
50f8e0d3eb
2 changed files with 5 additions and 5 deletions
2
build.py
2
build.py
|
@ -28,7 +28,7 @@ use_plugin("python.distutils")
|
||||||
default_task = "publish"
|
default_task = "publish"
|
||||||
|
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
version = "0.6.2.dev0"
|
version = "0.7.0.dev"
|
||||||
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")]
|
||||||
|
|
|
@ -4,8 +4,8 @@ from .python_util import *
|
||||||
from .devops_build import DevopsBuild
|
from .devops_build import DevopsBuild
|
||||||
|
|
||||||
|
|
||||||
def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name):
|
def add_dda_tenant_mixin_config(config, tenant, application, domain_file_name):
|
||||||
config.update({'DdaPalletMixin':
|
config.update({'DdaTenantMixin':
|
||||||
{'tenant': tenant,
|
{'tenant': tenant,
|
||||||
'application': application,
|
'application': application,
|
||||||
'domain_file_name': domain_file_name,
|
'domain_file_name': domain_file_name,
|
||||||
|
@ -20,11 +20,11 @@ def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name):
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
|
||||||
class DdaPalletMixin(DevopsBuild):
|
class DdaTenantMixin(DevopsBuild):
|
||||||
|
|
||||||
def __init__(self, project, config):
|
def __init__(self, project, config):
|
||||||
super().__init__(project, config)
|
super().__init__(project, config)
|
||||||
dda_pallet_mixin_config = config['DdaPalletMixin']
|
dda_pallet_mixin_config = config['DdaTenantMixin']
|
||||||
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']
|
||||||
self.domain_file_name = dda_pallet_mixin_config['domain_file_name']
|
self.domain_file_name = dda_pallet_mixin_config['domain_file_name']
|
Loading…
Reference in a new issue