forked from toolshed/abra
WIP abra app version <app> implementation
This commit is contained in:
@ -228,6 +228,9 @@ func GetAppStatuses(appFiles AppFiles) (map[string]string, error) {
|
||||
return statuses, nil
|
||||
}
|
||||
|
||||
// GetAppComposeFiles retrieves a compose specification for a recipe. This
|
||||
// specification is the result of a merge of all the compose.**.yml files in
|
||||
// the recipe repository.
|
||||
func GetAppComposeFiles(recipe string) (*composetypes.Config, error) {
|
||||
pattern := fmt.Sprintf("%s/%s/compose**yml", APPS_DIR, recipe)
|
||||
composeFiles, err := filepath.Glob(pattern)
|
||||
|
Reference in New Issue
Block a user