Re: [libvirt-jenkins-ci PATCH v2 5/6] guests: Introduce the new 'gitlab' flavor

2020-04-08 Thread Andrea Bolognani
On Wed, 2020-04-08 at 15:56 +0200, Erik Skultety wrote: > On Wed, Apr 08, 2020 at 03:21:00PM +0200, Andrea Bolognani wrote: > > I guess you could drop the image element and replace it with > > > > tags: > > - fedora-31 > > ^This is what I had in mind > > > but then you'd either have to dup

Re: [libvirt-jenkins-ci PATCH v2 5/6] guests: Introduce the new 'gitlab' flavor

2020-04-08 Thread Erik Skultety
On Wed, Apr 08, 2020 at 03:21:00PM +0200, Andrea Bolognani wrote: > On Wed, 2020-04-08 at 12:28 +0200, Erik Skultety wrote: > > On Wed, Apr 08, 2020 at 12:05:11PM +0200, Andrea Bolognani wrote: > > > You didn't answer in the other thread, so I'll ask again here: is the > > > idea that we're going t

Re: [libvirt-jenkins-ci PATCH v2 5/6] guests: Introduce the new 'gitlab' flavor

2020-04-08 Thread Andrea Bolognani
On Wed, 2020-04-08 at 12:28 +0200, Erik Skultety wrote: > On Wed, Apr 08, 2020 at 12:05:11PM +0200, Andrea Bolognani wrote: > > You didn't answer in the other thread, so I'll ask again here: is the > > idea that we're going to use only the FreeBSD runners to supplement > > the shared runners for th

Re: [libvirt-jenkins-ci PATCH v2 5/6] guests: Introduce the new 'gitlab' flavor

2020-04-08 Thread Erik Skultety
On Wed, Apr 08, 2020 at 12:05:11PM +0200, Andrea Bolognani wrote: > On Tue, 2020-04-07 at 13:31 +0200, Erik Skultety wrote: > > +- name: Register the gitlab-runner agent > > + become: true > > + become_user: gitlab > > + shell: '/home/gitlab/bin/gitlab-runner register --non-interactive > > --co

Re: [libvirt-jenkins-ci PATCH v2 5/6] guests: Introduce the new 'gitlab' flavor

2020-04-08 Thread Andrea Bolognani
On Tue, 2020-04-07 at 13:31 +0200, Erik Skultety wrote: > +- name: Register the gitlab-runner agent > + become: true > + become_user: gitlab > + shell: '/home/gitlab/bin/gitlab-runner register --non-interactive --config > {{ gitlab_runner_config_path }} --registration-token {{ gitlab_runner_sec

[libvirt-jenkins-ci PATCH v2 5/6] guests: Introduce the new 'gitlab' flavor

2020-04-07 Thread Erik Skultety
With the recent efforts in upstream libvirt to centralize our CI on gitlab, let's add a new gitlab-specific flavor along with related playbook tasks. This flavour revolves around installing and configuring the gitlab-runner agent binary which requires the per-project registration token to be specif