breaking-change: dda-pallet-mixin -> dda-tenant-mixin

This commit is contained in:
jem 2020-05-01 17:38:05 +02:00
parent 37177961ae
commit 50f8e0d3eb
2 changed files with 5 additions and 5 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish"
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"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -4,8 +4,8 @@ from .python_util import *
from .devops_build import DevopsBuild
def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name):
config.update({'DdaPalletMixin':
def add_dda_tenant_mixin_config(config, tenant, application, domain_file_name):
config.update({'DdaTenantMixin':
{'tenant': tenant,
'application': application,
'domain_file_name': domain_file_name,
@ -20,11 +20,11 @@ def add_dda_pallet_mixin_config(config, tenant, application, domain_file_name):
return config
class DdaPalletMixin(DevopsBuild):
class DdaTenantMixin(DevopsBuild):
def __init__(self, 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.application = dda_pallet_mixin_config['application']
self.domain_file_name = dda_pallet_mixin_config['domain_file_name']