From fef8ea5b77b12fc17f3c449c9295bfa9e5c0eaf8 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Fri, 19 Jul 2019 16:03:31 +0200 Subject: [PATCH] fix(vcs): allow ssh for git repo URLs --- garden-service/src/config/common.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/garden-service/src/config/common.ts b/garden-service/src/config/common.ts index ab1bf6f333..903b425e45 100644 --- a/garden-service/src/config/common.ts +++ b/garden-service/src/config/common.ts @@ -165,12 +165,13 @@ export const joiArray = (schema) => Joi export const joiRepositoryUrl = () => Joi .string() .uri({ - // TODO Support other protocols? scheme: [ "git", /git\+https?/, + /git\+ssh?/, "https", "file", + "ssh", ], }) .description(