[CI] Build one commit on ALL runners

Hi,

I have an app running on OS X / Linux and Windows.
I did a CI script for each OS family : Windows, OS X and Linux.
I have few runners like:

  • Ubuntu 12.04 386, Ubuntu 12.04 amd64, Ubuntu 14.04, Debian 7, CentOS 7, CentOS 6 (use linux script)
  • Windows 7, Windows 8 (use windows script)
  • OS X Yosemite (use osx script)

I would like to trigger build on ALL runners when I push a commit, i.e. when I push, I want my CI script run on all my Linux runners, all my Windows runners and all my OS X runners (I want to check that everything is OK on all OS).

A first idea is to use tags, i.e. define a unique tag (ubuntu-12.04-386, ubuntu-14.04, …) for each runner but it will not be easy to maintain… Every time I would like to add a new OS support to all my projects, I will need to update my gitlab-ci.yml even if my code doesn’t need update.
I can’t also use “linux” tag for all Linux runners because GitLab CI will run build only on one runner (not all).

Any ideas ?

Thank you

1 Like

Hi pals,

I also am looking for a “generic” tag to execute a Job/task along all runners with this tag, any updates about this topic?.

I have some ideas like use Ansible or a fabric script to do it, but any built-in that already be done would be great.

Thanks in advance.

Best regards

/jmp