Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-06 Thread Andrea Bolognani
On Mon, 2020-04-06 at 12:52 +0200, Erik Skultety wrote: > On Mon, Apr 06, 2020 at 12:09:50PM +0200, Erik Skultety wrote: > > Anyhow, now I remember why I didn't go with User=gitlab systemd service > > directive and opted for dropping the privileges by gitlab-runner itself, the > > build fails on de

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-06 Thread Erik Skultety
On Mon, Apr 06, 2020 at 12:09:50PM +0200, Erik Skultety wrote: > On Fri, Apr 03, 2020 at 06:26:23PM +0200, Andrea Bolognani wrote: > > Looks like I somehow sent an empty reply by mistake the first time > > around. Let's try again... > > > > On Fri, 2020-04-03 at 16:04 +0200, Erik Skultety wrote: >

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-06 Thread Erik Skultety
On Fri, Apr 03, 2020 at 06:26:23PM +0200, Andrea Bolognani wrote: > Looks like I somehow sent an empty reply by mistake the first time > around. Let's try again... > > On Fri, 2020-04-03 at 16:04 +0200, Erik Skultety wrote: > > On Fri, Apr 03, 2020 at 03:50:21PM +0200, Andrea Bolognani wrote: > > >

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-03 Thread Andrea Bolognani
Looks like I somehow sent an empty reply by mistake the first time around. Let's try again... On Fri, 2020-04-03 at 16:04 +0200, Erik Skultety wrote: > On Fri, Apr 03, 2020 at 03:50:21PM +0200, Andrea Bolognani wrote: > > I have tested this, though not extensively, on Linux and adding > > User=git

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-03 Thread Andrea Bolognani
On Fri, 2020-04-03 at 16:04 +0200, Erik Skultety wrote: > On Fri, Apr 03, 2020 at 03:50:21PM +0200, Andrea Bolognani wrote: > > On Fri, 2020-04-03 at 09:21 +0200, Erik Skultety wrote: > > > On Tue, Mar 31, 2020 at 04:42:10PM +0200, Andrea Bolognani wrote: > > > > On Thu, 2020-03-26 at 14:33 +0100,

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-03 Thread Erik Skultety
On Fri, Apr 03, 2020 at 03:50:21PM +0200, Andrea Bolognani wrote: > On Fri, 2020-04-03 at 09:21 +0200, Erik Skultety wrote: > > On Tue, Mar 31, 2020 at 04:42:10PM +0200, Andrea Bolognani wrote: > > > On Thu, 2020-03-26 at 14:33 +0100, Erik Skultety wrote: > > > > +gitlab_runner_start() > > > > +{ >

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-03 Thread Andrea Bolognani
On Fri, 2020-04-03 at 09:21 +0200, Erik Skultety wrote: > On Tue, Mar 31, 2020 at 04:42:10PM +0200, Andrea Bolognani wrote: > > On Thu, 2020-03-26 at 14:33 +0100, Erik Skultety wrote: > > > +gitlab_runner_start() > > > +{ > > > +export USER=${user} > > > +export HOME=${user_home} > > > +

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-04-03 Thread Erik Skultety
On Tue, Mar 31, 2020 at 04:42:10PM +0200, Andrea Bolognani wrote: > On Thu, 2020-03-26 at 14:33 +0100, Erik Skultety wrote: > > guests: templates: Introduce a gitlab-runner RC init service template > > "RC init" is sort of a loaded term, I'd just call out FreeBSD > directly. > > > +++ b/guests/play

Re: [libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-03-31 Thread Andrea Bolognani
On Thu, 2020-03-26 at 14:33 +0100, Erik Skultety wrote: > guests: templates: Introduce a gitlab-runner RC init service template "RC init" is sort of a loaded term, I'd just call out FreeBSD directly. > +++ b/guests/playbooks/update/templates/gitlab-runner.j2 > @@ -0,0 +1,32 @@ > +#!/bin/sh > +# P

[libvirt-jenkins-ci PATCH 2/5] guests: templates: Introduce a gitlab-runner RC init service template

2020-03-26 Thread Erik Skultety
Signed-off-by: Erik Skultety --- .../update/templates/gitlab-runner.j2 | 32 +++ 1 file changed, 32 insertions(+) create mode 100644 guests/playbooks/update/templates/gitlab-runner.j2 diff --git a/guests/playbooks/update/templates/gitlab-runner.j2 b/guests/playbooks/upd