Added database-based yml build config
This commit is contained in:
parent
ca13b65022
commit
60bf262ee7
5 changed files with 88 additions and 32 deletions
|
|
@ -318,6 +318,14 @@ class ProjectController extends \PHPCI\Controller
|
|||
$field->setRows(6);
|
||||
$form->addField($field);
|
||||
|
||||
$field = new Form\Element\TextArea('build_config');
|
||||
$field->setRequired(false);
|
||||
$field->setLabel('PHPCI build config for this project (instead phpci.yml in the project repository)');
|
||||
$field->setClass('form-control');
|
||||
$field->setContainerClass('form-group');
|
||||
$field->setRows(6);
|
||||
$form->addField($field);
|
||||
|
||||
$field = new Form\Element\Submit();
|
||||
$field->setValue('Save Project');
|
||||
$field->setContainerClass('form-group');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue