new-features #5

Merged
dan merged 73 commits from wordpress-nextcloud into dev 2023-12-04 12:46:32 +01:00
Showing only changes of commit 92160e0021 - Show all commits

View file

@ -1,6 +1,8 @@
import sys
from pathlib import Path
from icecream import ic
sys.path.append(Path(__file__).parent.parent.resolve().__str__())
# import pytest
@ -43,13 +45,15 @@ from src.env_file_helper import DependencyRule, EnvFile, sort_env_files_by_rule
ENV_FILES = [
Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik
Path("envfiles/blog.test.dev.local-it.cloud.env"), # wordpress
Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik
]
env_files: list[EnvFile] = Coordinator._getn_env_files_list(ENV_FILES)
dependency_rules: list[DependencyRule] = Coordinator._get_dependency_rules(env_files)
print(dependency_rules)
ic(env_files)
sorted_env_files = sort_env_files_by_rule(env_files, dependency_rules)
ic(env_files)
ic(sorted_env_files)