Commit graph

135 commits

Author SHA1 Message Date
Stephen Ball
6f4a18f0c8 Clean up PHPCS issue 2015-10-13 16:28:37 +01:00
Stephen Ball
c42d2f3dad Added a fixed and broken stage 2015-10-13 16:22:39 +01:00
Dan Cryer
b57ed81779 Merge pull request #993 from corpsee/feature-phpcpd-fix
Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work
2015-10-13 15:04:13 +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
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
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
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
d6f20f7a66 Updating PHPCI to send more detailed commit statuses, for @REBELinBLUE. 2015-10-02 21:35:53 +01:00
Steve Robbins
ddcdaf906c Fixes notice in github builds
Closed #996
2015-08-13 14:28:08 +02:00
Dmitry Khomutov
498a3e90e8 Fixed GithubBuild::getDiffLineNumber method for correct phpcpd work 2015-05-24 14:20:51 +06: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
3427252cfe When starting a manual build, replace the "Manual" commit id with the HEAD hash.
Close #928
2015-04-23 13:13:29 +02:00
rm3nchaca
b9f9fdb1b8 fix file link in plugins
Running builds leave a file link with an error like "http://gitlab.example.com/root/project/blob/master/index.php#L6" but it is pointing to the actual file, not the file with a bug, example "97f0a6453d/index.php (L6)"

Close #915
2015-04-22 12:24:29 +02:00
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
Martin Sadovy
4083fcd9b6 Github: Support pull private repository from pull request
Closes #832
2015-04-22 11:41:33 +02:00
Tobias van Beek
60e5d53f44 Add the --recursive parameter to the git clone to get the submodules 2015-04-09 12:03:08 +02:00
Dan Cryer
74565282a8 Hopefully fixing a bug where reporting errors back to Github causes an infinite loop. 2015-02-26 08:31:58 +00:00
Dan Cryer
e63a3c2a86 Fixing comparison where commit ID is Manual.
Fixes #823
2015-02-25 14:13:31 +00:00
Alex Davyskiba
36b39bfc0d Allow projects to be archived.
Closes #771
2015-02-23 19:37:11 +00:00
Dan Cryer
edd26d12be Add support for Mercurial SSH-based clones. 2015-02-23 16:17:46 +00:00
Daniel Seif
e7d9d19368 Fixed settings handling for symlink creation in local build
Closes #766
2015-02-23 14:07:42 +00:00
Dan Cryer
c914a25ff2 Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dzhilkibaev Nadir
7756066050 Add SVN support to PHPCI.
Closes #759
2015-02-20 14:14:36 +00:00
Dan Cryer
e80f8ffaae Fixing issues related to LIMIT in Base Store files. 2015-02-12 11:08:45 +00:00
Dan Cryer
f1b4c1246b Fixing missing docblock error. 2015-02-03 11:10:22 +00:00
Alex Davyskiba
46aae66700 Escape commit message from XSS and broken markup.
Closes #769
2015-02-03 10:27:36 +00:00
Dan Cryer
9fda9ed989 Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer
43fef1539f Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
Dan Cryer
7986688b1e Properly handling Gitlab URLs that contain ports.
Fixes #484, closes #501
2014-07-30 15:33:05 +01:00
Dan Cryer
2875badb0a Switching project access information to use JSON instead of serialization, fixes #493 2014-07-30 15:13:50 +01:00
Dan Cryer
0d189f6f4c Fixing links to files on Github when viewing a pull request build.
Fixes #423
2014-07-29 17:19:37 +01:00
Dan Cryer
84e78993d8 Reverting accidental addition of engine and parent_id columns to the Build table. 2014-07-23 16:19:45 +01:00
Dan Cryer
4d2583e536 More service layer functionality, builds now. Also some extra tests for projects and build models. 2014-07-14 16:02:36 +01:00
Dan Cryer
cb53ec9c6d Fixing some issues with project default branches, adding tests for that too 2014-07-14 14:59:04 +01:00
Emmanuel Vella
dae95a1bec Remote Git Build: Use --quiet to checkout specific revision silently
Without the ``--quiet`` parameter, the cron error output get this message :

```

Note: checking out 'fe0fcd1b79f0db3d49fe6e50765bcb527e29980b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at fe0fcd1...
```

Closes #485
2014-07-11 15:56:49 +01:00
Jeffrey Brubaker
3434c2714f resolve issue with undefined variable in Windows 2014-07-03 16:55:34 -04:00
Anatoly Skornyakov
34a72006ae Feature: Choose branch 2014-06-11 17:18:31 +04:00
Dan Cryer
d639f4a324 Renaming project.git_key and project.public_key to project.ssh_private_key and project.ssh_public_key respectively. 2014-05-13 15:15:33 +00: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
a64add4bf6 Hopefully fixing the clone issues for Pull Requests 2014-05-12 16:28:48 +01:00
Dan Cryer
3f8599b8c7 Fixing build model 2014-05-12 15:22:32 +01:00
Dan Cryer
8430f87f40 Fixing build model 2014-05-12 15:20:42 +01:00