From a7af7df9cbe16a7237c794bf455315e49569d31c Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Thu, 28 May 2020 10:15:19 -0700 Subject: [PATCH] Add a note for go-getter --- examples/remoteBuild.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/remoteBuild.md b/examples/remoteBuild.md index 2c4a48714..d47a77ebf 100644 --- a/examples/remoteBuild.md +++ b/examples/remoteBuild.md @@ -71,6 +71,10 @@ test 3 == \ The url should follow [hashicorp/go-getter URL format](https://github.com/hashicorp/go-getter#url-format). +Note that using `//` in the url will only copy the directory specified by the path +after `//`, which means some relative paths, like `../xxx`, may not work. Using `/` to copy +entire repo. For more details please see [go-getter documentation](https://github.com/hashicorp/go-getter#subdirectories). + Note that S3 and GCS are NOT supported to avoid introducing massive dependency. Here are some example urls