我应该如何在Linux上安装gitlab-runners?

问题描述

我在Linux上,这是系统详细信息: Linux Maltserver 5.4.0-47-通用#51〜18.04.1-Ubuntu SMP星期六9月5日14:35:50 UTC 2020 x86_64 x86_64 x86_64 GNU / Linux

尝试安装gitlab-runner时出现以下错误:

tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml  gitlab/gitlab-runner
Error: failed to download "gitlab/gitlab-runner" (hint: running `helm repo update` may help)
tania@maltserver:~$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. â Happy Helming!â
tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml  gitlab/gitlab-runner
Error: failed to download "gitlab/gitlab-runner" (hint: running `helm repo update` may help)

还尝试了以下操作:

tania@maltserver:~$ helm search hub gitlab/gitlab-runner
URL                                                     CHART VERSION   APP VERSION     DESCRIPTION
https://hub.helm.sh/charts/gitlab/gitlab-runner         0.21.0-rc1      13.4.0-rc1      GitLab Runner
https://hub.helm.sh/charts/camptocamp/gitlab-ru...      0.12.6          12.6.0          GitLab Runner
tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml https://hub.helm.sh/charts/gitlab/gitlab-runner
Error: file '/home/tania/.cache/helm/repository/gitlab-runner' does not appear to be a gzipped archive; got 'text/html; charset=utf-8'

对于成功安装gitlab-runner的任何帮助,我们将不胜感激。谢谢。

解决方法

现在工作,我必须做:

tania@maltserver:~$ helm repo add https://charts.gitlab.io
tania@maltserver:~$ helm install --namespace gitlab gitlab-runner -f values.yaml  gitlab/gitlab-runner
NAME: gitlab-runner
LAST DEPLOYED: Tue Sep 15 13:19:53 2020
NAMESPACE: gitlab
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Your GitLab Runner should now be registered against the GitLab instance reachable at: "https://gitlab.com/"

资源:

https://docs.gitlab.com/runner/install/kubernetes.html

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...