为什么 gitlab 运行ner 不能在 3Gb 数字海洋服务器上 运行 作业?

Why gitlab runner cannot run jobs on the 3Gb Digital ocean servers?

我正在 运行使用 gitlab 运行ner 在 4Gb 数字海洋服务器上测试我的 rails。在我将 运行ner 大小更改为 3Gb 并重新启动协调器后,它完全停止 运行 构建

# /etc/gitlab-runner/config.toml

[[runners]]
  ...
  [runners.machine]
    ...
    MachineOptions = [
      "digitalocean-size=3gb" # before there was 4gb
       ...
    ]

没有创建数字海洋服务器,作业显示以下信息:

Running with gitlab-runner 11.5.1 
  on <Project name> build coordinator <ID>
...

没有任何反应,最终作业因超时而失败

是否可以将数字海洋作业 运行 的大小从 4Gb 减少到 3Gb?

2018 年 1 月 16 日,数字海洋推出 new droplet plans。 Droplet slug 名称相应更改。要使用 3Gb 服务器 运行 您的构建,您必须在 MachineOptions 中包含以下行:

# /etc/gitlab-runner/config.toml
[[runners]]
  ...
  [runners.machine]
    ...
    MachineOptions = [
      "digitalocean-size=s-1vcpu-3gb"
       ...
    ]