【发布时间】:2016-09-24 19:38:26
【问题描述】:
我在让刀叉的 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 COOKBOOK@0.2.0!
将食谱上传到厨师服务器,但不提交回购或尝试推送......并且没有错误输出:/
【问题讨论】:
标签: ruby chef-infra knife configuration-management spork