hasura / smooth-checkout-buildkite-plugin

All the things you need during a Buildkite checkout :butter: :kite:
Apache License 2.0
14 stars 12 forks source link

Check out single repository in subdirectory #35

Open kyuhyunc opened 1 year ago

kyuhyunc commented 1 year ago

Unlike single repo checkouts, when checking out multiple repos, they will each be checked out in subdirectories of $BUILDKITE_BUILD_CHECKOUT_PATH corresponding to the name of the repository (based on its URL). In the above example, the contents of the working directory would be repo_1/ and repo_2/.

I see it is supported when checking out multiple repos, but was wondering if the same can be setup for single checkout scenario while keeping the same $BUILDKITE_BUILD_CHECKOUT_PATH

e.g.

want to check out repo to $BUILDKITE_BUILD_CHECKOUT_PATH/test_repo instead of $BUILDKITE_BUILD_CHECKOUT_PATH