FS#55745 - gitlab runner wrong executable name

Attached to Project: Community Packages
Opened by x2b (x2b) - Monday, 25 September 2017, 12:41 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 25 September 2017, 15:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

The `gitlab-runner` package comes with a `gitlab-runner.service` file (provided by the maintainer, *not* upstream). The launch command is:

ExecStart=/usr/bin/gitlab-ci-multi-runner "run" "--working-directory" "/var/lib/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner"

This file used to work fine, but a couple of versions ago (don't know when exactly) the executable was renamed to `/usr/bin/gitlab-runner`. As a result the service file is essentially unusable. Whenever I try to launch it, I see the following:

[root /]# systemctl status gitlab-runner.service
[root /]# systemctl status gitlab-runner.service
● gitlab-runner.service - GitLab Runner
Loaded: loaded (/usr/lib/systemd/system/gitlab-runner.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Condition: start condition failed at ...; 1min 1s ago
└─ ConditionFileIsExecutable=/usr/bin/gitlab-ci-multi-runner was not met

The reason being that the file does not exist. Please fix this :)
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 25 September 2017, 15:53 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 25 September 2017, 15:53 GMT
Uh definitely bad of me not to test this. Fixed.

Loading...