mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-02-12 22:52:51 +00:00
API: test action
This commit is contained in:
2
.github/scripts/start_api.sh
vendored
2
.github/scripts/start_api.sh
vendored
@@ -4,7 +4,7 @@ set -e # Exit on error
|
||||
cd $GITHUB_WORKSPACE
|
||||
|
||||
echo "Starting API server with logging..."
|
||||
nohup python -m src.api.server > logs/api.log 2>&1 &
|
||||
nohup uvicorn src.api.http_api:app --host 0.0.0.0 --port 9999 > logs/api.log 2>&1 &
|
||||
API_PID=$!
|
||||
echo "API server started with PID: $API_PID"
|
||||
|
||||
|
||||
2
.github/workflows/llmsecops-cicd.llm.yml
vendored
2
.github/workflows/llmsecops-cicd.llm.yml
vendored
@@ -60,6 +60,7 @@ jobs:
|
||||
|
||||
- name: 'Run test API request'
|
||||
run: ${{ github.workspace }}/.github/scripts/test_api.sh
|
||||
if: false
|
||||
|
||||
- name: 'Start system monitoring'
|
||||
run: ${{ github.workspace }}/.github/scripts/start_monitoring.sh &
|
||||
@@ -73,6 +74,7 @@ jobs:
|
||||
env:
|
||||
WORKSPACE: ${{ github.workspace }}
|
||||
GITHUB_ENV: $GITHUB_ENV
|
||||
if: false
|
||||
|
||||
# Add error analysis step
|
||||
- name: 'Analyze errors and create report'
|
||||
|
||||
Reference in New Issue
Block a user