Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: clone missing Git repositories automatically #429

Merged
merged 1 commit into from
Jan 4, 2017

Conversation

talex5
Copy link
Contributor

@talex5 talex5 commented Jan 4, 2017

Git.v ~remote local_dir will automatically clone remote into local_dir if local_dir does not exist.

This makes it easier to deploy a CI to a new node.

/cc @avsm

`Git.v ~remote local_dir` will automatically clone `remote` into
`local_dir` if `local_dir` does not exist.

This makes it easier to deploy a CI to a new node.

Signed-off-by: Thomas Leonard <thomas.leonard@docker.com>
@samoht
Copy link
Member

samoht commented Jan 4, 2017

This also make easier to deploy a local CI. Does it work with the remote address is a local path?

@talex5
Copy link
Contributor Author

talex5 commented Jan 4, 2017

@samoht: yes - in fact the unit tests make use of this.

@avsm
Copy link
Collaborator

avsm commented Jan 4, 2017

hurrah!

@talex5 talex5 merged commit b2d7211 into moby:master Jan 4, 2017
@talex5 talex5 deleted the git-autoclone branch January 4, 2017 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants