Commit graph

26 commits

Author SHA1 Message Date
Adirelle 9590336c49 Added a new configuration variable, PHPCI_BUILD_ROOT_DI.
This variable allows to change where the build happens.
It defaults to PHPCI_DIR.'PHPCI/build/'.

Moved build path calculate and build removal into the Build class.

Also remove the build directory when deleting the build.

Close #834
2015-04-22 11:44:54 +02:00
Dan Cryer c20ca7c8ff Lots of cleanup. 2015-02-12 14:11:58 +00:00
Dan Cryer 320b0efa71 Fixing run-builds. 2015-02-12 13:17:50 +00:00
Dan Cryer 5dd42da9a0 Builder, build plugins 2014-12-04 15:48:52 +00:00
Dan Cryer 9eeaabc6fe Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
Dan Cryer c211f92313 Fixing RunCommand 2014-12-01 17:36:47 +00:00
Dan Cryer f562de55c7 Allow PHPCI to mark builds as failed if the builder crashed, after a user-defined timeout. Limit to one build per project in RunCommand.
Fixes #623
2014-12-01 17:04:03 +00:00
Dan Cryer 5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer 77daef3a5f Fixing daemonise mode, forcing RunCommand to only get one build at a time when running under daemon mode 2014-05-06 16:43:47 +01:00
Dan Cryer d935c94041 Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on. 2014-02-25 10:16:58 +00:00
Steve B 53e295f145 Merge pull request #241 from meadsteve/buillder-component-extraction
Buillder component extraction
2014-01-16 00:52:42 -08:00
Raul Ferriz 8bc043065a Check for option verbose instead of get it.
This avoid crashing when called by daemonise command.
2014-01-04 10:17:24 +01:00
meadsteve 356a2293a1 move logging related classes to appropriate namespace. 2013-12-13 16:10:54 +00:00
meadsteve 6563c60ab3 Previous commit omitted these changes. doh! 2013-11-02 15:32:51 +00:00
meadsteve 35b3db13d8 Fixing more tab -> space conversion issues. 2013-10-27 14:26:37 +00:00
meadsteve a453571fcb Adding the LoggedBuildContextTidier to the monolog logging so that the build id is added to log messages. 2013-10-27 14:25:43 +00:00
meadsteve 1989203635 Adding two custom log handlers. One to link the logs to symphony console output to the logging and another to record build specific information in the DB. 2013-10-26 16:11:46 +01:00
Dan Cryer 53993a1add Fixing callable error in run builds, fixes #170 2013-10-15 14:29:23 +01:00
Dan Cryer 77fae9a56d Holy cleanup, batman. 2013-10-10 01:01:06 +01:00
Gabriel Baker 910e09eb52 daemon work 2013-06-09 17:42:50 +01:00
Dan Cryer 14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Dan Cryer 65f93555be PSR2 for PHPCI/Command - Issue #18 2013-05-16 15:14:10 +01:00
Dan Cryer 160540b6ee Add class-level docblock to every file. 2013-05-16 02:30:48 +01:00
Dan Cryer 6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
Dan Cryer be37a5e821 Refactoring builds out into separate model types (Github, Bitbucket, Local) and builder to use build->createWorkingCopy() to make build directory. Fixes #29 2013-05-15 23:47:37 +01:00
Dan Cryer 988fa42d92 Updating PHPCI to use Symfony/Console rather than a series of individual PHP files. 2013-05-15 18:27:13 +01:00