new-features #5
1 changed files with 7 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue