17
18
19
20
21
22
23
24
25
|
# File 'lib/uffizzi/services/compose_file_service.rb', line 17
def parse(compose_content, compose_file_dir)
compose_data = parse_compose_content_to_object(compose_content)
services = compose_data['services']
env_files_paths = prepare_env_files_paths(services).flatten.uniq
config_files_paths = prepare_config_files_paths(compose_data['configs'])
host_volumes_paths = prepare_host_volumes_paths(services)
prepare_dependencies(compose_file_dir, env_files_paths, config_files_paths, host_volumes_paths)
end
|