【问题标题】:How should I install gitlab-runners on Linux?我应该如何在 Linux 上安装 gitlab-runners?
【发布时间】:2020-09-16 01:21:29
【问题描述】:

我在 Linux 上,这里是系统详细信息: Linux maltserver 5.4.0-47-generic #51~18.04.1-Ubuntu SMP Sat Sep 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 的任何帮助将不胜感激。谢谢。

【问题讨论】:

    标签: gitlab gitlab-ci-runner


    【解决方案1】:

    现在工作,我不得不这样做:

    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
    

    【讨论】:

      猜你喜欢
      • 2017-07-13
      • 2019-09-28
      • 2021-01-16
      • 1970-01-01
      • 2021-12-23
      • 2023-03-15
      • 1970-01-01
      • 2013-10-16
      • 1970-01-01
      相关资源
      最近更新 更多