In some cases it is OK to ignore any error that may occur during processing metadata of app layers. If it happens then no precise info/metadata about layer sizes is generated hence no precise diff can be calculated during app update. In some cases it is ok and/or having approximate diff estimation is fine, e.g. updating app on some cloud hosts or dev devices.
Therefore, the goal of this task is to add ability optionally ignore any errors that may occur during this process and let the app publishing proceed.
|
return fmt.Errorf("= Failed to get app layers metadata: %s\n", err.Error()) |
In some cases it is OK to ignore any error that may occur during processing metadata of app layers. If it happens then no precise info/metadata about layer sizes is generated hence no precise diff can be calculated during app update. In some cases it is ok and/or having approximate diff estimation is fine, e.g. updating app on some cloud hosts or dev devices.
Therefore, the goal of this task is to add ability optionally ignore any errors that may occur during this process and let the app publishing proceed.
composeapp/pkg/compose/v1/publish.go
Line 110 in 07a5b14