dshoreman / servidor

A modern web application for managing servers
GNU Lesser General Public License v2.1
9 stars 11 forks source link

Add ability to set PHP version per-project #564

Closed dshoreman closed 1 year ago

dshoreman commented 1 year ago

Adds a config field to the project_applications table for extra project app data, which enables us to easily add a PHP Version dropdown in the creation wizard.

That option (for PHP/Laravel projects) is then used to set the fpm version in the nginx config, and will be shown in the Project Viewer as a label at the top-right of the source details.

codecov[bot] commented 1 year ago

Codecov Report

Merging #564 (ec3c2e1) into develop (48b3fc3) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             develop     #564   +/-   ##
==========================================
  Coverage      99.76%   99.76%           
  Complexity       434      434           
==========================================
  Files             90       90           
  Lines           1256     1259    +3     
==========================================
+ Hits            1253     1256    +3     
  Misses             3        3           
Impacted Files Coverage Δ
app/Projects/Application.php 100.00% <ø> (ø)
app/Http/Requests/Projects/NewProjectApp.php 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more