【问题标题】:Gitlab page is stuck at pendingGitlab页面卡在待处理
【发布时间】:2016-09-16 13:19:40
【问题描述】:

我几天前设置了Gitlab pages page。直到今天早上,它的建设都很好。现在它似乎卡在pending 并且尽管我尝试重新启动它并没有构建。

我检查了是否有共享跑步者。它目前说:

Available shared runners - 1

在项目设置的 Runner 部分中。

这是 .yml 文件。

pages:
  script:
  - mkdir .public
  - cp -r * .public
  - mv .public public
  artifacts:
    paths:
    - public
  only:
  - master

此代码在pages 安装指南here 中推荐。


我知道在堆栈溢出here 上有一个类似的问题,但是这个问题在 4 个月前得到了解决,而且问题似乎再次出现(至少对我而言)。

【问题讨论】:

  • 这是本地 GitLab 安装还是您使用的是 GitLab.com?
  • GitLab.com,不过现在似乎运行良好!

标签: gitlab gitlab-ci gitlab-ci-runner


【解决方案1】:

假设您在上面给出的文件名为.gitlab-ci.yml,并且您的存储库在master 分支中包含您网站的HTML/CSS/JS/etc,那么您可能已经做对了。

既然如此,您遇到的可能是这个已知问题,至少在两个地方进行了跟踪:

https://gitlab.com/gitlab-com/support-forum/issues/765

https://gitlab.com/gitlab-com/support-forum/issues/771

【讨论】:

    猜你喜欢
    • 2012-09-02
    • 1970-01-01
    • 2021-02-11
    • 1970-01-01
    • 1970-01-01
    • 2016-12-28
    • 1970-01-01
    • 2018-04-08
    • 2021-11-18
    相关资源
    最近更新 更多