Boy132
f6325c07c4
Fix overallocation -1
and close #268 ( #283 )
2024-05-29 18:57:30 -04:00
Lance Pioch
51460782cc
Merge branch 'main' into issue/222
...
# Conflicts:
# app/Http/Controllers/Api/Application/Nodes/NodeDeploymentController.php
# app/Http/Requests/Api/Application/Nodes/GetDeployableNodesRequest.php
# app/Services/Deployment/FindViableNodesService.php
# app/Services/Servers/ServerCreationService.php
# tests/Integration/Services/Deployment/FindViableNodesServiceTest.php
2024-05-22 02:47:37 -04:00
Lance Pioch
b007e63937
Pint fixes
2024-05-22 02:35:20 -04:00
Boy132
4dd833562b
Add CPU limit to node ( #239 ) to resolve #233
...
* add node cpu limit to backend
* update makenodecommand
* add node cpu limit to frontend
* add migration and update mysql schema
* run pint
* fix typo in mysql schema
* forgot this assert
* forgot to setCpu here
* run pint
* adjust migration
* Fix db migration
* make cpu optional
* set default value for cpu in node deployment
* update mysql schema
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-05-22 02:34:43 -04:00
Lance Pioch
f9aa8cf218
Simplify viable nodes service
2024-05-21 21:44:49 -04:00
Lance Pioch
da698a3666
Remove exception
2024-05-21 21:02:11 -04:00
Lance Pioch
e4cee4d69d
Remove locations
2024-03-14 02:23:30 -04:00
Lance Pioch
c83dd86a41
Switch namespace back to App
2024-03-12 22:39:16 -04:00
Matthew Penner
cbcf62086f
Upgrade to Laravel 9 ( #4413 )
...
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
Dane Everitt
48ad8f538e
Always allow specifying a page size with the API; closes #3218
2021-03-26 09:03:51 -07:00
Dane Everitt
c449ca5155
Use more standardized phpcs
2021-01-23 12:33:34 -08:00
Dane Everitt
a043071e3c
Update to Laravel 8
...
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00
Dane Everitt
ff21d83e2d
Add endpoint to get all nodes meeting memory & disk requirements for a server; closes #1012
2021-01-10 13:08:43 -08:00
Dane Everitt
839e277763
Fix exception when passing location IDs to creation service; closes #2529
2020-10-17 11:52:21 -07:00
Dane Everitt
bf6e1ce966
Document what is being tested a little better so it isn't just a wall of code
2020-10-09 22:12:45 -07:00
Dane Everitt
c2db163731
Update node finding service logic to be single query; add test coverage
2020-10-09 22:01:25 -07:00
Lance Pioch
e2dc0638d9
Fix app/ spelling errors
2018-05-13 11:12:41 -04:00
Dane Everitt
5ed164e13e
Implement server creation though the API.
...
Also implements auto-deployment to specific locations and ports.
2018-01-28 17:14:14 -06:00