0
我有问题得到的Git插件刀-spork提交并推向它的回购。厨师刀spork Git插件没有提交或推动
下面是从knife spork info
输出:
{"version_change_threshold"=>2,
"preserve_constraint_operators"=>true,
"always_promote_remote"=>true,
"skip_berkshelf"=>false,
"role_match_file_name"=>true,
"role_safe_delete"=>true,
"json_options"=>{"indent"=>" "},
"plugins"=>{
"git"=>{
"auto_push"=>true,
"remote"=>"origin",
"branch"=>"master"
}
}}
[...]
KnifeSpork::Plugins::Git: enabled
[...]
当我做了knife spork bump COOKBOOK minor
:
Git: Pulling latest changes from /path/to/chef-repo/cookbooks/COOKBOOK
Pulling latest changes from git submodules (if any)
Successfully bumped base to v0.2.0!
Git add'ing /path/to/chef-repo/cookbooks/COOKBOOK/metadata.rb
这不仅增加了它...然后我做knife spork upload COOKBOOK
:
Git: Pulling latest changes from /path/to/chef-repo/cookbooks/COOKBOOK
Pulling latest changes from git submodules (if any)
Freezing COOKBOOK at 0.2.0...
Successfully uploaded [email protected]!
哪将食谱上传到厨师服务器,但不是c ommit到回购或设法推...而且也没有错误输出:/
如果您刚开始与厨师合作,我强烈建议您查看策略工作流程而不是Spork。它非常相似,但有一些专门构建的工作流程工具。 – coderanger