Commit graph

142 commits

Author SHA1 Message Date
Anatoly Skornyakov 5d360413bd Feature: Choose branch 2014-06-11 17:18:31 +04:00
Dan Cryer ba8d88f233 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 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 4806d1a783 Hopefully fixing the clone issues for Pull Requests 2014-05-12 16:28:48 +01:00
Dan Cryer 3f0074de88 Fixing build model 2014-05-12 15:22:32 +01:00
Dan Cryer 77ec9998b6 Fixing build model 2014-05-12 15:20:42 +01:00
Dan Cryer 1739afeca6 Update GithubBuild to allow for testing pull requests, hopefully 2014-05-12 15:18:42 +01:00
Dan Cryer 03351214f1 Updating Build model to add accessor for the extra column 2014-05-12 14:07:09 +01:00
Dan Cryer 9486bd0863 Removing unused plugins column, adding extra column to allow for type-specific build information (such as forked repo information for pull requests or a patch file 2014-05-12 13:46:26 +01:00
Dan Cryer e297f60273 Fixing zero config ignore setting 2014-05-08 16:02:51 +00:00
Dan Cryer 0333016828 Converting build meta to use longtext instead of text, for builds with a lot of errors. 2014-05-07 16:09:56 +01:00
Dan Cryer 9379af8724 Implement clone_depth setting in build_settings, to allow shallow clones. Fixes #391 2014-05-05 21:03:44 +01:00
Dan Cryer b9a845a60e Re-PSR2ing the generated model base classes. 2014-05-01 17:03:48 +01:00
Dan Cryer 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer c50f7d07f2 Adding a basic external project status page, accessible via /build-status/view/{id}. Fixes #353 2014-04-30 15:00:35 +01:00
Dan Cryer ee9a7ebc53 Adding getFileLinkTemplate() to the default Build model. Fixes #375 2014-04-30 14:20:20 +01:00
Dan Cryer 8cff78cee4 Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377 2014-04-30 14:18:58 +01:00
Dan Cryer 99c80e73f9 Merge branch 'master' of github.com:Block8/PHPCI 2014-04-30 14:15:46 +01:00
Dan Cryer 36f2bdff20 Making the public key a property that we store for projects, and displaying it for later use. 2014-04-30 14:14:23 +01:00
Joseph Pugh a789f7cb26 implement RemoteGitBuild::getFileLinkTemplate
required by PHPCI/View/Build/view.phtml
2014-04-28 14:26:37 -05:00
Dan Cryer 985c51c5e4 Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Dan Cryer 2e4e3129b7 Adding the ability to run projects with no build configuration. Runs what plugins it can automatically. Closes #235 2014-04-25 10:17:39 +01:00
Dan Cryer 78e4b9d104 Updating RemoteGitBuild to support a Git SSH wrapper. See #114 2014-04-16 16:38:19 +00:00
Corpsee 7ac671424e Genereted models by console phpci:generate command 2014-04-10 23:52:21 +07:00
Corpsee ccb3d91ae1 Inverted priority of configs: phpci.yml is primary now 2014-04-10 23:41:02 +07:00
Corpsee 20bab0d47a Windows fixes 2014-03-15 12:57:06 +07:00
Corpsee f4df607a16 Moved handleConfig functionality into general Build method. 2014-03-15 12:22:59 +07:00
Corpsee 7a910631e6 Added database-based yml build config 2014-03-15 12:18:12 +07:00
Corpsee 656e0a882e Change 'cp' command to 'copy' for windows 2014-03-14 00:06:59 +07:00
Corpsee 18701544a0 Fixed 'cd' command for windows 2014-03-13 00:37:57 +07:00
Corpsee 39477678d2 Fixed git checkout for commitId = 'Manual' 2014-03-13 00:05:54 +07:00
Dan Cryer 192fa20284 Fixing getAccessInformation() 2014-02-26 15:23:24 +00:00
Dan Cryer 48a8c8b89a Merge branch 'master' of github.com:Block8/PHPCI 2014-02-26 15:18:54 +00:00
Dan Cryer ac0bac111a Fixing getAccessInformation() 2014-02-26 15:18:46 +00:00
meadsteve 2b93fe0c94 add getProjectTitle convenience method to the Build class. 2014-02-25 22:36:20 +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
Dan Cryer a1f47ddfe1 Fixing Gitlab support 2014-02-25 09:47:09 +00:00
Dan Cryer e6ef498db4 Adding support for HTTP commit-based builds too 2014-02-24 20:34:31 +00:00
Dan Cryer 43ecd57775 Adding support for building specific revisions, rather than just branches 2014-02-24 20:28:18 +00:00
meadsteve 248579f67d add getProjectTitle() to buildBase as shorthand for getProject()->getTitle() 2013-12-17 15:14:26 +00:00
indigodp cfe45f54d0 Update LocalBuild.php
Add fetching needed branch for local build
2013-12-11 09:33:59 +02:00
Ondrej Huta 02dff2b081 Proposed enhancement - fix for #221 GitlabBuild 2013-11-27 12:08:03 +01:00
Dan Cryer a21c63705a Merge pull request #205 from stianlik/master
Bugfix for bare "Local Path" repositories
2013-11-25 03:45:42 -08:00
Jimmy Cleuren 4d3372af88 Command to poll github for new commits 2013-11-18 22:49:18 +01:00
Stian Liknes 7d306b2295 Load configuration and create build directory for bare repositories 2013-11-12 22:18:09 +01:00
Dan Cryer 2a47b08fec Removed Github configuration from ProjectController / ProjectForm and added it to a new settings area. 2013-10-11 21:51:23 +01:00
Dan Cryer 13dbcc4260 Fixing Github postbacks. 2013-10-10 01:30:40 +01:00
Dan Cryer 5213a00a3a Adding some github debug stuff 2013-10-10 01:27:43 +01:00
Dan Cryer d46ea12dd7 Fixing summary table so it doesn't completely die when there is a running build. 2013-10-10 01:26:06 +01:00
Dan Cryer a5734fb330 Fixing some more PHPCS/PHPMD errors 2013-10-10 01:19:42 +01:00
Dan Cryer 05be06f9b3 Fixing some more PHPCS/PHPMD errors 2013-10-10 01:18:05 +01:00
Dan Cryer 16003ff01b Fixing some more PHPCS/PHPMD errors 2013-10-10 01:12:30 +01:00
Dan Cryer 77fae9a56d Holy cleanup, batman. 2013-10-10 01:01:06 +01:00
Dan Cryer 56b8a57efd Renaming key / value columns in build_meta with meta_key / meta_value to avoid SQL errors. 2013-10-08 13:00:38 +01:00
Dan Cryer 0dea956e87 Adding default values to project table, fixes #158 2013-10-08 09:00:22 +01:00
Dan Cryer cc09d95a3d SQL strict mode fixes. Closes #127 2013-10-08 07:45:20 +01:00
Dan Cryer b33189e08e UI plugins, including quality trend chart, logs and lines of code. Some UI tweaks. 2013-10-08 07:21:46 +01:00
Pavel Gopanenko e86852efa5 Mercurial build support 2013-09-04 19:54:26 +07:00
a.cianfarani 47be59ae46 Added Gitlab support 2013-08-23 16:05:12 +02:00
a.cianfarani db42fb4224 restored chmod 2013-08-21 15:37:23 +02:00
a.cianfarani 287a2b3632 Merge remote-tracking branch 'upstream/master'
Conflicts:
	composer.json
2013-08-02 12:11:23 +02:00
Dan Cryer b47dfbd0b3 Various bug fixes 2013-07-30 02:55:29 +01:00
a.cianfarani e77a5a75fb Merge remote-tracking branch 'upstream/master' 2013-07-26 09:45:36 +02:00
Daniel Holmes 9b458060fd Final Version.
Tested on ubuntu 12.04 64bit
2013-07-01 00:17:41 +10:00
Daniel Holmes 62e8106130 Tested And Resolved 2013-06-30 19:44:02 +10:00
Daniel Holmes 895928422e Allow for bare repositories 2013-06-30 18:55:25 +10:00
Sanpi 7f09e4df07 Allow arbitrary repository URL 2013-06-19 17:47:25 +02:00
a.cianfarani 74f3b145f2 Merge upstream/master 2013-06-05 16:48:01 +02:00
Dan Cryer 67386df9ef Refactoring to support updated b8framework. 2013-05-22 16:36:55 +01:00
Dan Cryer b9415316d4 Merging fixes for strict standards errors. Closes #44 2013-05-17 16:24:17 +01:00
Dan Cryer 709dd9171c Merge branch 'master' of github.com:Block8/PHPCI 2013-05-17 16:11:10 +01:00
Dan Cryer 653f4cb620 Adding build status images, both to the dashboard and as an external facing feature. Closes #43 2013-05-17 16:10:54 +01:00
Steve Kamerman abcc5f13d8 Fixed GitHub Remote SSH build authentication errors 2013-05-16 14:20:40 -04:00
Steve Kamerman 6ad3c0894e Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-16 13:40:22 -04:00
Dan Cryer 14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Steve Kamerman 02632f8799 Bugfix: Remote GitHub builds fail 2013-05-16 11:57:47 -04:00
Dan Cryer 674cf716c8 Fixing base models. 2013-05-16 15:53:00 +01:00
Dan Cryer 11a3e3403f PHPCI/Helper and PHPCI/Model PSR2 compliance. Issue #18 2013-05-16 15:41:15 +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 d4835b46fa Fixing LocalBuild, it was in the wrong namespace. 2013-05-16 00:51:12 +01:00
Dan Cryer a5a03e1f07 Switching executeCommand() to use sprintf for parameters, and all the plugins to pass params separately. See #12, closes #24 2013-05-16 00:19:24 +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 505b0c0563 Updating base models to ones generated by the new b8framework generator. Now include strict typing, proper commenting and better formatting. Fixes #13 2013-05-15 17:28:36 +01:00
Dan Cryer 918b4deff4 Adding Github statuses integration 2013-05-14 17:49:39 +01:00
Dan Cryer 812dfcb95a Github pull request status updates 2013-05-14 16:58:14 +01:00
Dan Cryer 4037964d4c Adding a status indicator for each plugin on the build page, fixing ignores for PHPCPD 2013-05-14 13:09:54 +01:00
Dan Cryer 188162f0a2 Adding user accounts. 2013-05-10 16:25:51 +01:00
Dan Cryer 3647ac1cd8 Big update. 2013-05-10 12:28:43 +01:00
Dan Cryer 2c860e8009 Initial commit. 2013-05-03 16:02:53 +01:00