mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #239] [MERGED] Add CPU limit to node #651
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/239
Author: @Boy132
Created: 5/16/2024
Status: ✅ Merged
Merged: 5/22/2024
Merged by: @lancepioch
Base:
main← Head:feature/node-cpu📝 Commits (10+)
463d543add node cpu limit to backend88c92e3update makenodecommand715613aadd node cpu limit to frontend93485abadd migration and update mysql schemaa077c6erun pint5cc6643fix typo in mysql schemac2e3c8bforgot this assert1cc7124forgot to setCpu here975dbd2run pint30ca981adjust migration📊 Changes
18 files changed (+190 additions, -23 deletions)
View changed files
📝
app/Console/Commands/Node/MakeNodeCommand.php(+4 -0)📝
app/Filament/Resources/NodeResource/Pages/CreateNode.php(+39 -0)📝
app/Filament/Resources/NodeResource/Pages/EditNode.php(+41 -0)📝
app/Filament/Resources/NodeResource/Pages/ListNodes.php(+6 -0)📝
app/Http/Controllers/Api/Application/Nodes/NodeController.php(+1 -1)📝
app/Http/Controllers/Api/Application/Nodes/NodeDeploymentController.php(+1 -0)📝
app/Http/Requests/Api/Application/Nodes/GetDeployableNodesRequest.php(+1 -0)📝
app/Http/Requests/Api/Application/Nodes/StoreNodeRequest.php(+2 -0)📝
app/Models/Node.php(+13 -3)📝
app/Services/Deployment/FindViableNodesService.php(+25 -9)📝
app/Services/Servers/ServerCreationService.php(+2 -1)📝
app/Services/Servers/TransferServerService.php(+3 -3)📝
app/Transformers/Api/Application/NodeTransformer.php(+2 -1)📝
database/Factories/NodeFactory.php(+2 -0)➕
database/migrations/2024_05_16_091207_add_cpu_columns_to_nodes_table.php(+30 -0)📝
database/schema/mysql-schema.sql(+3 -0)📝
lang/en/commands.php(+3 -1)📝
tests/Integration/Services/Deployment/FindViableNodesServiceTest.php(+12 -4)📄 Description
Closes #233
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.