Commit graph

92 commits

Author SHA1 Message Date
Dan Cryer 4d0911f2a9 Bug fixes
Signed-off-by: Dan Cryer <dan@block8.co.uk>
2016-06-23 11:30:41 +01:00
Dan Cryer 21d5f4954f
Adding a debug mode to the worker so you can see what commands are being run. 2016-04-27 14:56:52 +01:00
Dan Cryer 04c67dc1dd Update installer to support new worker functionality. Closes #1094 2015-11-07 12:25:01 +00:00
Dan Cryer 4b8d25c0f7 Adding rebuild queue option 2015-11-03 20:42:47 +00:00
Dan Cryer 06204ef171 Adding support for beanstalkd-based workers. 2015-10-05 12:13:22 +01:00
Adirelle 4edefee761 Reworked the DaemonCommand.
* Accepts options for PID and log file.
* Uses posix_kill whenever available.
* Checks that the daemon actually started or stopped.
* Try to terminate then kill the daemon.
* Uses the logger or output instead of "echo".

Added a ProcessControl interface and implementations.

Closed #908
2015-05-28 10:55:59 +02:00
Victor 0887bd4bc4 Fix for strict standards issue in RebuildCommand.php
[ErrorException]
Runtime Notice: Only variables should be passed by reference in /var/www/phpci/PHPCI/Command/RebuildCommand.php line 78
2015-05-15 16:37:45 +02:00
Jérémy DECOOL 9261f24d25 Command to create a new build
Close #889
2015-04-22 12:00:38 +02:00
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
Mark Clements 1dd1af2443 Switching tabs to spaces as per style guide.
No functional changes.
2015-03-18 09:47:47 +00:00
Mark Clements 8a96ec8551 Fixed the install script, which bails-out with an error if the PHPCI path contains spaces.
This occurs commonly on Windows, but from my reading of the code it would also be a problem on other platforms if spaces were present (though this is less likely, due to different naming conventions).

It has been fixed by using escapeshellarg() on both of the paths used in the command.

Fixes #698, which I've just noticed has a similar solution suggested in one of the comments, but was closed without anyone actually implementing it.
2015-03-02 22:49:22 +00:00
Dan Cryer db90f2ea11 Updating the UpdateCommand to check for a config key rather than a specific file. 2015-02-25 09:36:50 +00:00
Dan Cryer dd58dd682f Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Jon Gotlin bf6ac530a6 Create admin command cleanup 2015-02-19 07:31:00 +01:00
Dan Cryer 44c489dd22 Lots of cleanup. 2015-02-12 14:15:19 +00: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 489f71b8c2 Cleaning up unnecessary use of 'die' and 'exit' 2015-02-12 12:37:56 +00:00
Dan Cryer 9379da1393 Fixing SensioLabs Insight 'Critical' violations. 2015-02-12 10:39:41 +00:00
Dan Cryer 72581aa01e Merge fixes 2014-12-18 10:45:21 +00:00
Dan Cryer 036501b363 Removing apparently redundant requirement for mcrypt. 2014-12-11 14:35:07 +00:00
Dan Cryer 5dd42da9a0 Builder, build plugins 2014-12-04 15:48:52 +00:00
Dan Cryer 6e469b01ec Installer and Updater 2014-12-04 15:01:19 +00:00
Dan Cryer 9eeaabc6fe Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
Marc Aschmann 646d2ba3d7 Make PHPCI output properly formatted JSON and Yaml files where possible, rather than one-line files.
Closes #547
2014-12-03 11:41:31 +00:00
Marco Vito Moscaritolo 207411d5fc Adding non-interactive installation mode.
Closes #641
2014-12-03 10:52:14 +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
Jimmy Cleuren 2f4063c788 Add a commit message to builds imported via PollCommand.
Closes #626
2014-11-13 17:30:27 +00:00
Dan Cryer 04a1284117 Fixing #527 2014-07-25 20:49:42 +01:00
Dan Cryer 217d94a8c2 Migrating install and create-admin console commands to use userservice 2014-07-23 15:56:23 +01:00
Steve B 9e146a275d Merge pull request #459 from FriTOol/master
Feature: Choose branch
2014-06-27 14:31:52 +01:00
Anatoly Skornyakov 5d360413bd Feature: Choose branch 2014-06-11 17:18:31 +04:00
Corpsee 55d354d000 Fixed trailing slash 2014-06-05 22:00:49 +07:00
Corpsee 9e73151755 Fixed phpdoc 2014-05-26 02:58:36 +07:00
Corpsee df2b9c9e28 Fixed PHPCI installation (Doesnt load the database settings when saving admin user) 2014-05-26 02:56:27 +07:00
Dan Cryer d63a029b74 Adding migrations functionality to PHPCI using Phinx 2014-05-13 15:15:06 +00:00
Dan Cryer 5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer f6c7f65f01 Removing 5.4+ array syntax from GenerateCommand 2014-05-09 07:01:03 +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
Corpsee a38adb5d78 Humanised yaml application config 2014-04-29 23:22:04 +07:00
Dan Cryer 1bc5f9048c Fixes for feedback in #341. 2014-04-16 09:29:01 +01:00
Dan Cryer 2b791b1f3b Removing commented code from the installer 2014-04-10 16:31:10 +01:00
Dan Cryer 65f51cff4a Adding verification to the install and update commands to check whether PHPCI is installed. 2014-04-10 14:59:01 +00:00
Dan Cryer 9f182aad91 Updating console installer to be more reliable, easier to use, and use Symfony console properly. 2014-04-10 15:38:16 +01:00
steve.brazier 5178c4c229 tidy up code in Command namespace 2014-02-27 14:12:19 +00:00
Dan Cryer eaec52b525 Adding commit message to Build 2014-02-25 16:43:06 +00: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 54694d197b Merge pull request #253 from woganmay/create-admin-user
Create admin user
2014-01-16 00:55:32 -08:00
Steve B 53e295f145 Merge pull request #241 from meadsteve/buillder-component-extraction
Buillder component extraction
2014-01-16 00:52:42 -08:00