Commit graph

949 commits

Author SHA1 Message Date
Dan Cryer
e1717bf549 Fixing PHPCS error in HomeController 2015-10-08 20:20:42 +01:00
Dan Cryer
a5f2182cf9 Restoring to login by email. 2015-10-08 20:15:20 +01:00
Dan Cryer
d3211b2c47 Missing build bugfix. 2015-10-08 17:30:34 +01:00
Dan Cryer
79b81675de Adding the ability to run branch-specific stages 2015-10-08 16:54:01 +01:00
Dan Cryer
a9eeb69092 Updating builds to try database config first, and fall back to file config. 2015-10-08 16:52:44 +01:00
Dan Cryer
dcfacfe717 General model / store cleanup 2015-10-08 16:52:19 +01:00
Dan Cryer
522eaef825 Adding project groups 2015-10-08 16:33:01 +01:00
Dan Cryer
70db830065 Removing the ability to install 'plugins' via the web interface. 2015-10-08 16:29:29 +01:00
Dan Cryer
a15f1efda7 Merge branch 'master' of github.com:Block8/PHPCI 2015-10-08 09:49:20 +01:00
Dan Cryer
f671b307d1 Build worker should delete jobs in its queue that are not recognised. 2015-10-08 09:49:16 +01:00
Stephen Ball
dbc2ae97d6 Added the commit message to the BuildInterpolator so it can be used as the default reason passed to deployer 2015-10-07 15:06:07 +01:00
Dan Cryer
6ad14a8035 Add "source" and "url" parameters to Deployer plugin. 2015-10-06 14:16:48 +01:00
Dan Cryer
a10d1b846e Deployer plugin 2015-10-06 12:00:58 +01:00
Dan Cryer
5ce31fb959 Verify that jobs actually come from PHPCI 2015-10-06 11:38:09 +01:00
Dan Cryer
3d55c14989 Merge pull request #1067 from Block8/dc/workers
Adding support for a beanstalkd-based queue
2015-10-05 15:27:18 +01:00
Dan Cryer
1c2137bf5d Merge pull request #1066 from REBELinBLUE/hide_yml_file
Adding support to check for .phpci.yml so the file can be 'hidden'
2015-10-05 15:23:20 +01:00
Dan Cryer
a6c5c0e0d9 Fix 2015-10-05 15:07:25 +01:00
Dan Cryer
a7a6ee57e1 Making PHPMD happy. 2015-10-05 14:48:17 +01:00
Dan Cryer
a365478d94 Fixings 2015-10-05 14:41:13 +01:00
Dan Cryer
007ed85264 Merge branch 'master' into dc/workers 2015-10-05 14:17:23 +01:00
Dan Cryer
3fc6bbef88 Fixing new PHPCS errors. 2015-10-05 14:17:13 +01:00
Dan Cryer
f1f5f61669 Docblock fixes 2015-10-05 14:11:43 +01:00
Dan Cryer
6846cf2628 Making duplicate builds work again. 2015-10-05 14:07:48 +01:00
Dan Cryer
3cbf9a1343 Adding support for beanstalkd-based workers. 2015-10-05 12:13:22 +01:00
Stephen Ball
ad0fd5d00a Update Build.php
Changed the order the files are loaded in
2015-10-05 10:17:04 +01:00
Stephen Ball
8511e2a251 Adding support to check for .phpci.yml so the file can be 'hidden' as with other CI systems such as Travis, StyleCI and Codeclimate 2015-10-04 17:38:03 +01:00
Dan Cryer
11d1c5bfdc Merge pull request #872 from REBELinBLUE/additional_interpolate
Additional interpolate
2015-10-02 22:14:14 +01:00
Dan Cryer
465406b24f Merge pull request #869 from REBELinBLUE/technical_debt_cleanup
Cleanup technical debt
2015-10-02 22:12:50 +01:00
Dan Cryer
c2f305bf54 Fixing Codeception plugin PHPCS errors. 2015-10-02 21:53:39 +01:00
Dan Cryer
d6f20f7a66 Updating PHPCI to send more detailed commit statuses, for @REBELinBLUE. 2015-10-02 21:35:53 +01:00
Dariusz Ruminski
9b5f3bb4ae PHP CS Fixer - fix name
Closed #1054
2015-10-02 13:54:25 +02:00
Steve Robbins
ddcdaf906c Fixes notice in github builds
Closed #996
2015-08-13 14:28:08 +02:00
Adirelle
e4721cb393 Fixes "Undefined index: login_token".
Fixes https://github.com/Block8/PHPCI/issues/994.
2015-05-30 21:16:31 +02:00
Aleix Canal
2566bf3c78 Bugfix: Default codeception xml path "tests/_output/" but now 100% configurable.
Closed #991
2015-05-28 12:18:24 +02:00
tankist
d8e19e9f15 Fix for #988
Added class::method fallback for feature entry to prevent empty report for Codeception plugin

Closed #989
2015-05-28 12:10:14 +02:00
mulleto
fe1d234f6c Adding an option for Plugin::Composer to pass the no_dev option. If set to true, it will execute composer with the --no-dev option, which usually suffices for testing in most projects. Default is set to false.
Closed #987
2015-05-28 12:08:30 +02:00
mulleto
d92ea1840e Added missing strings in german translation
Closed #982
2015-05-28 12:05:58 +02:00
Stephen Ball
087cde47e8 Removed allowed_warnings as it is not used
Calling setOptions

Closed #975
2015-05-28 12:03:23 +02:00
Adirelle
f6f4a23b8c Don't use an if and two return statements when one return is sufficient.
Don't use two if when one else does the same job.
Don't use convoluted calculations when one return statement is sufficient.
Don't call a method that doesn't exist.
Don't write a try-catch block that does nothing.
Do send exceptions when a abnormal situation occurs.

Closed #962
2015-05-28 12:00:43 +02:00
Dmitry Khomutov
e719920b7c Extended shields.io status badge support
Closed #958
2015-05-28 11:50:57 +02:00
Petr Cervenka
811d6dc057 Adding Flowdock integration
Closed #954
2015-05-28 11:47:57 +02:00
Adirelle
8ba7f1f9dc Track and display the build progression, for each stages and plugins.
Translations for the build summary.

Closed #944
2015-05-28 11:39:35 +02:00
Adirelle
7de9023810 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
Vaidas Zilionis
8fc4c51d54 Allow see project build status in cctray xml format
Refactoring is done for BuildStatus information.
- Fixed all phpcs, phpmd errors
- Added test for my code (hurray 100 tests already :D)

Closed #705
2015-05-28 10:50:29 +02:00
Victor
a22390c83d 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
Adirelle
33e8a1a0f6 Allow to specify a mail template ('short' or 'long') in phpci.yml.
Email plugin: checks if the custom template exists before trying to use it.

Closed #933
2015-04-28 14:09:23 +02:00
Adirelle
8f8b6d823b Build::removeBuildDirectory: do not try to remove build directory of not-yet-persisted builds. 2015-04-25 21:25:50 +02:00
Adirelle
7c622bd712 LoggerConfig::getFor always returns the same instance of Logger for the same $name.
This avoid issues when push handlers/processors to that logger.
Use the Monolog\ErrorHandler to log errors and exceptions.
PHPCI/Logging/Handler becomes PHPCI/ErrorHandler.
And it only throws ErrorException for reported errors.
No need to initialize a second $loggerConfig in daemonise.

Close #892
2015-04-23 13:25:53 +02:00
Adirelle
4e6ecaac83 The manual build button creates build for the currently watched branch.
Close #927
2015-04-23 13:23:13 +02:00
Adam Cooper
fa99684d89 An attempt at making the codeception plugin a little more complete.
Codeception JS plugin and theme changes.
Improvements to the display. Extra total information plus some test file locations.

Close #588
2015-04-23 13:18:26 +02:00