【问题标题】:continuous integration with travis ci and openshift与 travis ci 和 openshift 的持续集成
【发布时间】:2013-11-07 10:12:21
【问题描述】:

我尝试与 travis 和 openshift 进行持续集成。

Travis log

Total 387 (delta 202), reused 387 (delta 202)
error: Could not read f296a9effed3a7c3f86be451613e529c1818667b
fatal: revision walk setup failed
error: Could not read f296a9effed3a7c3f86be451613e529c1818667b
fatal: revision walk setup failed
remote: Stopping MongoDB cartridge[K
remote: Stopping Ruby cartridge[K
remote: [Wed Nov 06 16:24:47 2013] [warn] PassEnv variable SHELL was undefined[K
remote: [Wed Nov 06 16:24:47 2013] [warn] PassEnv variable USER was undefined[K
remote: [Wed Nov 06 16:24:47 2013] [warn] PassEnv variable LOGNAME was undefined[K
To ssh://527aafeb5973caf4e90007ca@audioblog-l33tname.rhcloud.com/~/git/audioblog.git/
 ! [remote rejected] master -> master (missing necessary objects)
error: failed to push some refs to 'ssh://527aafeb5973caf4e90007ca@audioblog-l33tname.rhcloud.com/~/git/audioblog.git/'

我的问题是:这个错误是什么意思或者我做错了什么?

我已尝试重新创建 openshift 应用程序。并在我的.travis.yml 文件中检查我的密码。

【问题讨论】:

    标签: git continuous-integration openshift travis-ci


    【解决方案1】:

    我从本地 git 存储库 git push -f openshift master 初始推送它

    .git/config

    [remote "openshift"]
        url = ssh://527aafeb5973caf4e90007ca@audioblog-l33tname.rhcloud.com/~/git/audioblog.git/
        fetch = +refs/heads/*:refs/remotes/openshift/*
    

    现在它再次部署,但我仍然对为什么会发生这种情况感兴趣。

    【讨论】:

    • 这并不能回答您的问题。如果这仍然是开放的,我们实际上可能会得到一个真正的答案
    • 确实如此,但它解决了问题,所以它可能对 90% 的人(包括我)来说足够好,如果你找到一个,你总是可以提供更好的答案
    猜你喜欢
    • 2013-07-12
    • 2023-03-24
    • 1970-01-01
    • 2019-10-31
    • 1970-01-01
    • 2016-01-12
    • 1970-01-01
    • 2010-12-06
    • 2016-06-08
    相关资源
    最近更新 更多