Rename directory on cloning or fetching repository in gitlab-ci-multirunner CI

260 views
Skip to first unread message

johannes amorosa

unread,
Jun 9, 2017, 5:02:30 AM6/9/17
to GitLab
Is there a way to control how gitlab-ci-mutlirunner is cloning/fetching the repository.

What I specifically need is to clone/fetch the repo to a new directory name.

This is like a standard git clone with added new name:

git clone git@gitlab:dev-op/repo_name.git newname

Thanks for your time
Johannes

Aleksey Tsalolikhin

unread,
Jun 12, 2017, 10:45:55 AM6/12/17
to gitl...@googlegroups.com
Hi Johannes.  Why do you want to clone the repo to a different directory name?

-- 
Need training on CFEngine, Git or Time Management?  Email trai...@verticalsysadmin.com.

--
You received this message because you are subscribed to the Google Groups "GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/9fa24c3a-75ab-4216-8dc0-354862959b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

johannes amorosa

unread,
Jun 13, 2017, 6:34:59 AM6/13/17
to GitLab
Nevermind. We had a special naming convention that needed the checkout onto a different folder name,
based on local or on CI checkout.

I changed our naming convention using subgroups. This is much cleaner, anyway!

Thanks for your time
Johannes

On Monday, 12 June 2017 16:45:55 UTC+2, Aleksey Tsalolikhin wrote:
Hi Johannes.  Why do you want to clone the repo to a different directory name?

-- 
Need training on CFEngine, Git or Time Management?  Email trai...@verticalsysadmin.com.

On Fri, Jun 9, 2017 at 2:02 AM, johannes amorosa <amo...@posteo.de> wrote:
Is there a way to control how gitlab-ci-mutlirunner is cloning/fetching the repository.

What I specifically need is to clone/fetch the repo to a new directory name.

This is like a standard git clone with added new name:

git clone git@gitlab:dev-op/repo_name.git newname

Thanks for your time
Johannes

--
You received this message because you are subscribed to the Google Groups "GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+u...@googlegroups.com.

Aleksey Tsalolikhin

unread,
Jun 13, 2017, 1:34:10 PM6/13/17
to gitl...@googlegroups.com
Nice work and thanks for letting us know!

To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/90c3c482-af0a-40d3-8dad-338e6d99097f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages