正如标题所说......
我已经将gitlab迁移到6.0-stable并且还设置了gitlab-ci 4.1.0和一个跑步者。跑步者已成功设置并显示在CI界面中。我可以从gitlab看到所有存储库,但是在CI中点击“add build”会返回一条警告消息“无法保存项目”。
正如我可以评估的那样,gitlab-ci的production.log
显示正确的POST参数。
Started POST "/projects" for 127.0.0.1 at 2014-01-01 19:48:29 +0100
Processing by ProjectsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qu1GFc8FwyGw84Vt0XbakvbdxhQWMPfZMcDGldP1BGA=", "project"=>"--- !ruby/object:OpenStruct\r\ntable:\r\n :id: 3\r\n :description: ''\r\n :default_branch: master\r\n :public: false\r\n :ssh_url_to_repo: git@git.mydomain.com:mygroup/demoproject.git\r\n :http_url_to_repo: http://git.mydomain.com/mygroup/demoproject.git\r\n :web_url: http://git.mydomain.com/mygroup/demoproject\r\n :owner:\r\n id: 3\r\n name: mygroup\r\n created_at: '2013-05-18T21:05:10Z'\r\n :name: demoproject\r\n :name_with_namespace: mygroup / demoproject\r\n :path: demoproject\r\n :path_with_namespace: mygroup/demoproject\r\n :issues_enabled: true\r\n :merge_requests_enabled: false\r\n :wall_enabled: false\r\n :wiki_enabled: true\r\n :snippets_enabled: false\r\n :created_at: '2013-05-18T21:05:48Z'\r\n :last_activity_at: '2014-01-01T14:05:25Z'\r\n :namespace:\r\n created_at: '2013-05-18T21:05:10Z'\r\n description: ''\r\n id: 3\r\n name: mygroup\r\n owner_id: 1\r\n path: mygroup\r\n updated_at: '2013-05-18T21:05:10Z'\r\n", "commit"=>"Add"}
Redirected to http://ci.mydomain.com/
Completed 302 Found in 90ms (ActiveRecord: 6.0ms)
有关于此的任何想法吗?
编辑:我没有睁大眼睛,只找到了https://github.com/gitlabhq/gitlab-ci/issues/291 ......
答案 0 :(得分:0)
显然,CI只支持gitlab 6.3+。我刚刚升级到6.4-stable分支,解决了这个问题。