From e0dac3589be4d4dc410034e25fecfdeaa28f96ec Mon Sep 17 00:00:00 2001 From: lizrabuya <115472349+lizrabuya@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:44:19 +1100 Subject: [PATCH 1/2] Update readme on default mount-checkout behavior with git mirror paths --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 01b57c3..c5da3b2 100644 --- a/README.md +++ b/README.md @@ -309,6 +309,8 @@ Specify a file to load a docker image from. If omitted no load will be done. Whether to automatically mount the current working directory which contains your checked out codebase. Mounts onto `/workdir`, unless `workdir` is set, in which case that will be used. +If there's a git mirror path and `mount-checkout` is enabled, the (mirror path)[https://buildkite.com/docs/pipelines/environment-variables#BUILDKITE_REPO_MIRROR] is mounted into the docker container as an added volume. + Default: `true` ### `mount-buildkite-agent` (optional, boolean) From ce2c44abc2bd5c2f8494afce4d76181b8d7f9d27 Mon Sep 17 00:00:00 2001 From: lizrabuya <115472349+lizrabuya@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:57:10 +1100 Subject: [PATCH 2/2] add extra info on non-default behaviour for mount-checkout --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c5da3b2..3dcbc05 100644 --- a/README.md +++ b/README.md @@ -309,7 +309,7 @@ Specify a file to load a docker image from. If omitted no load will be done. Whether to automatically mount the current working directory which contains your checked out codebase. Mounts onto `/workdir`, unless `workdir` is set, in which case that will be used. -If there's a git mirror path and `mount-checkout` is enabled, the (mirror path)[https://buildkite.com/docs/pipelines/environment-variables#BUILDKITE_REPO_MIRROR] is mounted into the docker container as an added volume. +If there's a git mirror path and `mount-checkout` is enabled, the (mirror path)[https://buildkite.com/docs/pipelines/environment-variables#BUILDKITE_REPO_MIRROR] is mounted into the docker container as an added volume. Otherwise, the git mirror path will have to be explicitly added as an extra volume to mount into the container. Default: `true`