2016-09-24 5 views
0

나이프 스포크가 Git 플러그인을 사용하여 커밋하고 Repo하는 데 문제가 있습니다.Chef knife-spork Git 플러그인이 커밋 또는 푸시하지 않음

{"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 내가 않는 경우 : ... 그럼 난 knife spork upload COOKBOOK 만 추가

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 info의 출력의

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

그래서 당신은 먼저 환경을 만들 필요가 .../

답변

0

내가 흐름을 잘못 이해했다 네 좋아요 : 다음의 repo에 ommit 또는 것은 밀어하려고 ... 그리고 오류 출력은 없습니다

knife spork environment create production 
knife spork environment create development 

그런 다음 요리 책은 환경에 대한 준비가되면, 당신은 그것을

knife spork promote development COOKBOOK 

promote 그리고 그 다음 커밋과

를 밀어
+0

주방장과 함께 나간 분이라면 Spork 대신 정책 작업 과정을 살펴 보는 것이 좋습니다. 매우 비슷하지만 목적에 따라 제작 된 워크 플로우 도구가 있습니다. – coderanger