From 455ccc460f4def6c1c3d6243b21e41bb4bc3966e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 22 Dec 2021 12:07:07 -0700 Subject: [PATCH] removed URL from docs Signed-off-by: Richard Jones --- docs/reference/europa/dagger/engine.md | 2 +- stdlib/europa/dagger/engine/git.cue | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/reference/europa/dagger/engine.md b/docs/reference/europa/dagger/engine.md index 40c11901..c7f64d24 100644 --- a/docs/reference/europa/dagger/engine.md +++ b/docs/reference/europa/dagger/engine.md @@ -92,7 +92,7 @@ _No output._ ## engine.#GitPull -Pull a directory from a git remote Note: do not add credentials to the remote url: e.g: https://username:password@github.com as this will expose those in logs. By using username and password (as #Secret) Dagger will url encode them for you +Pull a directory from a git remote Warning: do NOT embed credentials in the remote url as this will expose them in logs. By using username and password Dagger will handle this for you in a secure manner. ### engine.#GitPull Inputs diff --git a/stdlib/europa/dagger/engine/git.cue b/stdlib/europa/dagger/engine/git.cue index aaa8fd17..034f16b0 100644 --- a/stdlib/europa/dagger/engine/git.cue +++ b/stdlib/europa/dagger/engine/git.cue @@ -11,9 +11,8 @@ package engine } // Pull a directory from a git remote -// Note: do not add credentials to the remote url: e.g: https://username:password@github.com -// as this will expose those in logs. By using username and password (as #Secret) Dagger will -// url encode them for you +// Warning: do NOT embed credentials in the remote url as this will expose them in logs. +// By using username and password Dagger will handle this for you in a secure manner. #GitPull: { $dagger: task: _name: "GitPull" remote: string