P
P
PesyCorm2021-03-26 23:15:51
linux
PesyCorm, 2021-03-26 23:15:51

How to install gitlab runner on Linux Mint?

Hey! I'm trying to install gitlab runner according to the instructions , but something goes wrong

[email protected]:~$ curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   243    0   243    0     0    416      0 --:--:-- --:--:-- --:--:--   416
[email protected]:~$ dpkg -i gitlab-runner_<arch>.deb
bash: arch: Нет такого файла или каталога

The file is really called differently if you look at ls
[email protected]:~$ ls
 gitlab-runner_.deb   Видео   Документы   Загрузки   Изображения   Музыка   Общедоступные  'Рабочий стол'   Шаблоны

However, if I try to use this name in dpkg, I will get this error
[email protected]:~$ sudo dpkg -i gitlab-runner_.deb
dpkg-deb: ошибка: 'gitlab-runner_.deb' is not a Debian format archive
dpkg: ошибка при обработке архива gitlab-runner_.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
При обработке следующих пакетов произошли ошибки:
 gitlab-runner_.deb

How can I install runner? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-03-26
@PesyCorm

specify your architecture instead of the ${arch} variable
PS why don't you install it through the repository? also more convenient.. for Mint everything is there.
https://docs.gitlab.com/runner/install/linux-repos...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question