toggle builds / pipelines only manually

7 views
Skip to first unread message

Kristian Rink

unread,
Feb 22, 2017, 2:12:35 AM2/22/17
to gitl...@googlegroups.com
Folks;

we're using gitlab all along with maven and some heavier Java/Vaadin
projects which even on more potent infrastructure take quite a while to
really build. Right now, with gitlab-ci configuration and configured
runners, the build happens after each commit to a project which is quite
heavy.

Is there a way to change this behaviour in a way so that builds only
happen either manually or on "some" events (such as merging branches or
somehow designated commits)?

TIA and all the best,
Kristian

Aleksey Tsalolikhin

unread,
Feb 22, 2017, 9:01:38 AM2/22/17
to gitl...@googlegroups.com
Hi Kristian,

Look at only, except and when in https://docs.gitlab.com/ce/ci/yaml/#jobs

Best,
Aleksey Tsalolikhin
GitLab CI trainer


--
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/1487747548.4309.1.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Magnus Therning

unread,
Feb 28, 2017, 3:49:05 AM2/28/17
to gitl...@googlegroups.com

Aleksey Tsalolikhin <ale...@verticalsysadmin.com> writes:

> Hi Kristian,
>
> Look at only, except and when in https://docs.gitlab.com/ce/ci/yaml/#jobs

More info on triggers can be found at https://gitlab.com/help/ci/triggers/README.md

/M

--
Magnus Therning, magnus....@cipherstone.com
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden

As we enjoy great advantages from the inventions of others we should
be glad of an opportunity to serve others by any invention of
ours, and this we should do freely and generously.
— Benjamin Franklin

Kristian Rink

unread,
Mar 2, 2017, 8:37:48 AM3/2/17
to gitl...@googlegroups.com
Hi *;

and thanks for your feedback and help on that. Gonna pass this on to the
team, seems this solves our problem. Great to see it's possible like
that. :)

Thanks again and all the best,
Kristian
Reply all
Reply to author
Forward
0 new messages