예제 #1
0
def test_validate():
    stack.validate_stack(settings)
예제 #2
0
파일: test_stack.py 프로젝트: cnuber/gitbot
def test_validate():
    conf_path = BEES_ROOT.child('project.yaml')
    conf = yaml.load(File(conf_path).read_all())
    conf['file_path'] = conf_path
    stack.validate_stack(conf)
예제 #3
0
파일: builder.py 프로젝트: gitbot/builder
def validate(data):
    data = ConfigDict(data)
    config_file = File(File(__file__).parent.child('stack/gitbot.yaml'))
    config = yaml.load(config_file.read_all())
    config['file_path'] = config_file.path
    stack.validate_stack(config)
예제 #4
0
파일: engine.py 프로젝트: cnuber/gitbot
 def validate(self, args):
     self.main(args, skip=True)
     stack.validate_stack(self.config)
     print 'done.'