fix s3-credentials init

This commit is contained in:
jerger 2022-12-10 14:06:22 +01:00
parent 510087c527
commit 692756e5c5
2 changed files with 4 additions and 5 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" name = "ddadevops"
version = "2.0.6" version = "2.0.7-dev0"
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

@ -20,10 +20,9 @@ class DigitaloceanMixin(DevopsTerraformBuild):
def project_vars(self): def project_vars(self):
ret = super().project_vars() ret = super().project_vars()
if self.do_api_key:
ret['do_api_key'] = self.do_api_key ret['do_api_key'] = self.do_api_key
ret['do_spaces_access_id'] = self.do_api_key ret['do_spaces_access_id'] = self.do_spaces_access_id
ret['do_spaces_secret_key'] = self.do_api_key ret['do_spaces_secret_key'] = self.do_spaces_secret_key
return ret return ret
def copy_build_resources_from_package(self): def copy_build_resources_from_package(self):