2023-03-12 15:55:15 +00:00
|
|
|
# Domain
|
|
|
|
|
|
|
|
```mermaid
|
|
|
|
classDiagram
|
2023-03-14 11:04:52 +00:00
|
|
|
class Devops {
|
2023-04-28 12:49:23 +00:00
|
|
|
<<AggregateRoot>>
|
2023-03-12 18:09:32 +00:00
|
|
|
stage
|
|
|
|
name
|
|
|
|
project_root_path
|
|
|
|
module
|
|
|
|
build_dir_name
|
2023-03-12 15:55:15 +00:00
|
|
|
}
|
2023-03-12 16:40:10 +00:00
|
|
|
|
2023-03-17 16:27:36 +00:00
|
|
|
class Image {
|
2023-03-14 18:11:34 +00:00
|
|
|
dockerhub_user
|
|
|
|
dockerhub_password
|
|
|
|
build_dir_name
|
|
|
|
use_package_common_files
|
|
|
|
build_commons_path
|
|
|
|
docker_build_commons_dir_name
|
|
|
|
docker_publish_tag
|
|
|
|
}
|
2023-03-14 11:22:05 +00:00
|
|
|
|
2023-03-14 14:07:47 +00:00
|
|
|
class C4k {
|
2023-03-12 18:09:32 +00:00
|
|
|
executabel_name
|
|
|
|
c4k_mixin_config
|
|
|
|
c4k_mixin_auth
|
|
|
|
}
|
|
|
|
|
|
|
|
class DnsRecord {
|
|
|
|
fqdn
|
|
|
|
ipv4
|
|
|
|
ipv6
|
|
|
|
}
|
|
|
|
|
2023-04-22 12:40:40 +00:00
|
|
|
class Release {
|
|
|
|
main_branch
|
|
|
|
config_file
|
|
|
|
}
|
|
|
|
class ReleaseContext {
|
|
|
|
release_type
|
|
|
|
version
|
|
|
|
current_branch
|
|
|
|
}
|
|
|
|
|
2023-04-28 12:49:23 +00:00
|
|
|
Devops *-- Image: spcialized_build
|
|
|
|
Devops *-- C4k: spcialized_build
|
|
|
|
Devops *-- Release: release
|
2023-03-14 14:07:47 +00:00
|
|
|
C4k *-- DnsRecord
|
2023-04-22 12:40:40 +00:00
|
|
|
Release *-- "0..1" ReleaseContext
|
2023-03-12 18:09:32 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
# Infrastructure
|
|
|
|
|
|
|
|
```mermaid
|
|
|
|
classDiagram
|
2023-03-12 16:40:10 +00:00
|
|
|
class ProjectRepository {
|
2023-03-14 11:04:52 +00:00
|
|
|
get_devops(project): Devops
|
|
|
|
set_devops(project, build)
|
|
|
|
}
|
2023-03-12 15:55:15 +00:00
|
|
|
|
|
|
|
```
|