Commit graph

84 commits

Author SHA1 Message Date
Adirelle
ccdc73326d 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
ca8ff8d743 Switching tabs to spaces as per style guide.
No functional changes.
2015-03-18 09:47:47 +00:00
Mark Clements
efe16ce11a 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
f7f50e85eb Updating the UpdateCommand to check for a config key rather than a specific file. 2015-02-25 09:36:50 +00:00
Dan Cryer
c914a25ff2 Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Jon Gotlin
6401ee7770 Create admin command cleanup 2015-02-19 07:31:00 +01:00
Dan Cryer
a84cde0cb5 Lots of cleanup. 2015-02-12 14:15:19 +00:00
Dan Cryer
9f93db9f35 Lots of cleanup. 2015-02-12 14:11:58 +00:00
Dan Cryer
53273a0902 Fixing run-builds. 2015-02-12 13:17:50 +00:00
Dan Cryer
2d5659d613 Cleaning up unnecessary use of 'die' and 'exit' 2015-02-12 12:37:56 +00:00
Dan Cryer
9d2005d8e8 Fixing SensioLabs Insight 'Critical' violations. 2015-02-12 10:39:41 +00:00
Dan Cryer
5a9e71adc5 Merge fixes 2014-12-18 10:45:21 +00:00
Dan Cryer
a2a89df4c0 Removing apparently redundant requirement for mcrypt. 2014-12-11 14:35:07 +00:00
Dan Cryer
633608249f Builder, build plugins 2014-12-04 15:48:52 +00:00
Dan Cryer
3e6b8adda7 Installer and Updater 2014-12-04 15:01:19 +00:00
Dan Cryer
43fef1539f Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
Marc Aschmann
6ab7973fd2 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
52fcf8273c Adding non-interactive installation mode.
Closes #641
2014-12-03 10:52:14 +00:00
Dan Cryer
9ceec307ac Fixing RunCommand 2014-12-01 17:36:47 +00:00
Dan Cryer
bd47766d63 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
c58ee2a368 Add a commit message to builds imported via PollCommand.
Closes #626
2014-11-13 17:30:27 +00:00
Dan Cryer
fa1fd4038a Fixing #527 2014-07-25 20:49:42 +01:00
Dan Cryer
f24f5c0a45 Migrating install and create-admin console commands to use userservice 2014-07-23 15:56:23 +01:00
Steve B
a8ac14b1dd Merge pull request #459 from FriTOol/master
Feature: Choose branch
2014-06-27 14:31:52 +01:00
Anatoly Skornyakov
34a72006ae Feature: Choose branch 2014-06-11 17:18:31 +04:00
Dmitry Khomutov
1a9994d5f5 Fixed trailing slash 2014-06-05 22:00:49 +07:00
Dmitry Khomutov
a5aa448071 Fixed phpdoc 2014-05-26 02:58:36 +07:00
Dmitry Khomutov
6892bd3b6c Fixed PHPCI installation (Doesnt load the database settings when saving admin user) 2014-05-26 02:56:27 +07:00
Dan Cryer
3a863e8eed Adding migrations functionality to PHPCI using Phinx 2014-05-13 15:15:06 +00:00
Dan Cryer
d098fabdb6 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer
460bed8841 Removing 5.4+ array syntax from GenerateCommand 2014-05-09 07:01:03 +01:00
Dan Cryer
d69ffe0dc1 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
Dmitry Khomutov
d39ff71484 Humanised yaml application config 2014-04-29 23:22:04 +07:00
Dan Cryer
5eee1d6704 Fixes for feedback in #341. 2014-04-16 09:29:01 +01:00
Dan Cryer
8a7f048f4c Removing commented code from the installer 2014-04-10 16:31:10 +01:00
Dan Cryer
e8abdfcb17 Adding verification to the install and update commands to check whether PHPCI is installed. 2014-04-10 14:59:01 +00:00
Dan Cryer
e7033bfa23 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
Wogan May
cd3a18d73c Create admin user
New console command just to create an admin user
2014-01-14 23:09:40 +02:00
Wogan May
89931d01b5 Revert "Create an admin user"
This reverts commit f6f5a6e111.
2014-01-14 23:07:12 +02:00
Wogan May
f6f5a6e111 Create an admin user
New console command to add an admin user without trying to reinstall the
whole app.
2014-01-14 23:03:23 +02:00
Raul Ferriz
1ac77fd268 Removed unused use clauses. 2014-01-04 10:20:20 +01:00
Raul Ferriz
4b50b9eb77 Fix daemonise crash. 2014-01-04 10:19:55 +01: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
localhost8080
f6ee6493e2 adding support for the 'committer' parameter
adding support for the committer parameter in the email configuration
section of phpci.yaml

enabled with
committer: true
in your phpci.yml
2013-12-15 20:21:12 +00:00
meadsteve
356a2293a1 move logging related classes to appropriate namespace. 2013-12-13 16:10:54 +00:00