Triggering the same build from multiple projects with no cleanups.

31 views
Skip to first unread message

daniel hilsT

unread,
Mar 24, 2017, 5:32:20 PM3/24/17
to GitLab
Hi everybody.

I'm involved on a multi-repository project that uses one of its git repository as builder. The builder has the code to checkout all other repositories an build everything. If the files are there in the next build the builder only compiles what changed. Putting in code if I do `make checkout && make` the builder will update/download the other repositories and compile only the new stuff.

I want to configure gitlab-ci so that (A) in the first build the builder is cloned and in the remaining no cleanup is made (B) any change at any other repository triggers a build.

I am open to new ideas. Any help is welcome.

Regards,


Aleksey Tsalolikhin

unread,
Mar 24, 2017, 6:07:03 PM3/24/17
to gitl...@googlegroups.com
Are all the git repositories on GitLab?

If so, you can setup a CI config file on each repo that is not the builder to trigger a build on the builder (over GitLab API).

I'm sure you could do something similar with other Git repos, just hit the GitLab API to trigger the build.




--
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/e264fbce-6973-4bcb-94de-625bd41236a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages