fix: Correct deployment directory structure in deploy-prod.yml
Merge to Main - Full Pipeline / Stage 1: Fast Gates (push) Failing after 3s
Merge to Main - Full Pipeline / Stage 2: Critical Gates (push) Has been skipped
Merge to Main - Full Pipeline / Stage 3: Integration Tests (push) Has been skipped
Merge to Main - Full Pipeline / Stage 4: Build and Package (push) Has been skipped
Merge to Main - Full Pipeline / Stage 5: Deploy to Production (push) Has been skipped
Merge to Main - Full Pipeline / Pipeline Summary (push) Successful in 1s

- Add deployment structure normalization step after tar extraction
- If net10.0 subdirectory exists, move its contents to deployment root
- Create corrected systemd service file (quantengine.service)
- Fixes issue where .NET DLLs were incorrectly placed in net10.0 subdirectory

This ensures compatibility with existing ExecStart path in systemd service:
  ExecStart=/usr/bin/dotnet /path/to/QuantEngine.Web.dll

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-07-11 20:57:06 +09:00
parent 668f109b01
commit 331b8e3a30
2 changed files with 28 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
[Unit]
Description=Quant Engine Web Application (.NET 10)
After=network.target
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
Type=simple
User=kjh2064
WorkingDirectory=/home/kjh2064/quantengine_active
ExecStart=/usr/bin/dotnet /home/kjh2064/quantengine_active/QuantEngine.Web.dll
Restart=on-failure
RestartSec=10
SyslogIdentifier=quantengine
StandardOutput=journal
StandardError=journal
Environment="ASPNETCORE_ENVIRONMENT=Production"
Environment="ASPNETCORE_URLS=http://127.0.0.1:5000"
[Install]
WantedBy=multi-user.target