Add integration test and docs for build with a git url.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-11-19 15:46:14 -05:00
commit 2ab3cb212a
4 changed files with 31 additions and 6 deletions

View file

@ -564,7 +564,8 @@ def validate_paths(service_dict):
(not os.path.exists(build_path) or not os.access(build_path, os.R_OK))
):
raise ConfigurationError(
"build path %s either does not exist or is not accessible." % build_path)
"build path %s either does not exist, is not accessible, "
"or is not a valid URL." % build_path)
def merge_path_mappings(base, override):