Commit graph

90 commits

Author SHA1 Message Date
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