Add ReleaseMixin to architecture

This commit is contained in:
Mirco 2023-04-14 17:15:17 +02:00
parent 1ba7f01b93
commit a253960f52

View file

@ -1,4 +1,7 @@
# Build Frontend # Overview of Build and Mixins
* Build can be used standalone
* Mixin can be added to Build
```mermaid ```mermaid
classDiagram classDiagram
@ -8,6 +11,7 @@ classDiagram
initialize_build_dir() initialize_build_dir()
} }
class DevopsTerraformBuild { class DevopsTerraformBuild {
terraform_build_commons_path() terraform_build_commons_path()
project_vars() project_vars()
@ -63,6 +67,11 @@ classDiagram
test() test()
} }
class ReleaseMixin {
prepare_release()
tag_and_push_release()
}
class ProvsK3sMixin { class ProvsK3sMixin {
// ProvsK3sMixin -> ProvsK3sBuild // ProvsK3sMixin -> ProvsK3sBuild
def update_runtime_config(fqdn, ipv4, ipv6=None) def update_runtime_config(fqdn, ipv4, ipv6=None)
@ -80,6 +89,7 @@ classDiagram
DevopsBuild <|-- DevopsImageBuild DevopsBuild <|-- DevopsImageBuild
DevopsBuild <|-- DevopsTerraformBuild DevopsBuild <|-- DevopsTerraformBuild
DevopsBuild <|-- AwsRdsPgMixin DevopsBuild <|-- AwsRdsPgMixin
DevopsBuild <|-- ReleaseMixin
DevopsTerraformBuild <|-- AwsBackendPropertiesMixin DevopsTerraformBuild <|-- AwsBackendPropertiesMixin
DevopsTerraformBuild <|-- DigitaloceanTerraformBuild DevopsTerraformBuild <|-- DigitaloceanTerraformBuild