Gitlab CI永远运行

时间:2016-01-18 10:48:33

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

我刚刚将Gitlab CE更新到最新版本8.3.4。 在升级之前,我的Gitlab CI工作正常。

升级后,我的Gitlab CI会触发新版本,但它们会在开始时挂起。 升级我的Gitlab CI运行程序后,构建开始但又重新挂起。我在控制台中看不到任何输出。

如果我在我的跑步者上检查〜/ builds文件夹,我发现构建在执行grunt之前就会挂起。

这是我的.gitlab-ci.yml文件:

before_script:
  - chmod 755 config/gitlab-runner/*
  - cp -r ~/cache/myproject/node_modules .
  - npm --proxy http://localhost:8080 --https-proxy http://localhost:8080 --strict-ssl false update
  - bower install
  - grunt --force
  - cp -r node_modules ~/cache/myproject/

deploy-dev:
  type: deploy
  script: "config/gitlab-runner/deploy-pp-dev.sh"
  only:
  - master

你有什么提示我可以如何调试吗? application.log,production.log或sidekiq.log中没有相关的日志。

1 个答案:

答案 0 :(得分:0)

我从头开始重新安装了整个Gitlab,重新导入了我的项目,这解决了我的问题。

相关问题