Fallback to regular if cog base image can't be determined and flag is not explicitly set (#1872)
* Add base-image to gitignore
* This is a common artefact that we should prevent
from being checked in.
* Use a bool pointer as the cog base image flag
* Bool pointer allows for a tri-state, true, false
and not set.
* Mark the default if the pointer is not set to
true.
* Use IsUsingCogBaseImage function rather than
direct access to the pointer for boolean
Resolution.
* If the flag isn’t explicitly set, warn the user
and fall back to building without a base image.
* Add integration test for torch 1.13.0 fallback
* Create a project with torch 1.13.0
* Do not explicitly specify using base images
* Specify the schema so the schema is not inferred
due to failing on non-GPU machines
* Determine that the project builds successfully
* Fix build CLI entry
* Fix use of flag changed to determine explicit flag
* Add a new function that determines whether the
flag has been changed and outputs a bool pointer.
* Add tests for explicitly set both in the true
and false cases.