FS#59432 - [gitlab-runner] docker image not found, jobs cannot run
Attached to Project:
Community Packages
Opened by Pau Ruiz Safont (undu) - Tuesday, 24 July 2018, 09:58 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 01 August 2018, 14:18 GMT
Opened by Pau Ruiz Safont (undu) - Tuesday, 24 July 2018, 09:58 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 01 August 2018, 14:18 GMT
|
Details
Description:
With version 11.1.0-1 I'm unable to execute any tasks. This seems to be caused by a mismatch between the revision of the binary (seems like a git hash) and the name of the tag in docker hub (`x86_64-081978a` is requested, but the existing one is named `x86_64-081978aa`) I'm unsure if this is a problem with upstream or how the packaging for it is done. This is because all the docker tags contain revisions with 8 digits while the revision on the binary has 7. Steps to reproduce: This happens whenever I try to run a CI step manually. e.g. gitlab-runner --debug exec docker test |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 01 August 2018, 14:18 GMT
Reason for closing: Fixed
Wednesday, 01 August 2018, 14:18 GMT
Reason for closing: Fixed
See https://gitlab.com/gitlab-org/gitlab-runner/issues/3441#note_90317907 for reference
local revision=$(ls -d ${_srcdir}* | rev | cut -c 33-40 | rev)
fixes the revision number in the binary (change 34 to 33)
(I would change the summary, but I don't see how)
in [runners.docker] section in /etc/gitlab-runner/config.toml, add helper_image = "gitlab/gitlab-runner-helper:x86_64-081978aa" and restart the gitlab-runner service.