FS#52462 - [gitlab-ci-multi-runner] Symbolic Link to /usr/bin/gitlab-runner

Attached to Project: Community Packages
Opened by Marc Mettke (RemoteAdmin) - Tuesday, 10 January 2017, 05:49 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 16 January 2017, 05:02 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When the gitlab-runner is configured to use executors like ssh, parallels or virtual-box the artifact uploader expects the remote host to have "gitlab-runner" installed.
The Problem with the Package "gitlab-ci-multi-runner" is that is compiling and keeping gitlab-ci-multi-runner in its original name and therefore the artifact upload cannot find a binary called "gitlab-runner" 'cause only "gitlab-ci-multi-runner" is present.

A solution to that would be to add a Symbolic Link from /usr/bin/gitlab-runner to /usr/bin/gitlab-ci-multi-runner which would not break current installations and allow the executors to find the gitlab-runner binary.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 16 January 2017, 05:02 GMT
Reason for closing:  Fixed
Comment by Marc Mettke (RemoteAdmin) - Monday, 16 January 2017, 04:42 GMT
  • Field changed: Percent Complete (100% → 0%)
Link is not correctly implemented into PKGBUILD.

Is State:
ln -s "${pkgdir}/usr/bin/${pkgname}" "${pkgdir}/usr/bin/gitlab-runner"

Should State:
ln -s "/usr/bin/${pkgname}" "${pkgdir}/usr/bin/gitlab-runner"
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 16 January 2017, 04:58 GMT
Oh gee you're correct. Sorry for that.

Loading...