From 9281bbd2f0210dc9943ae75cc86c1d06ea59db97 Mon Sep 17 00:00:00 2001 From: Adam Wilson Date: Tue, 20 May 2025 10:17:09 -0600 Subject: [PATCH] API: test action --- .github/scripts/start_api.sh | 2 +- .github/workflows/llmsecops-cicd.llm.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/start_api.sh b/.github/scripts/start_api.sh index 60859b70c..c7b4d19a8 100755 --- a/.github/scripts/start_api.sh +++ b/.github/scripts/start_api.sh @@ -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" diff --git a/.github/workflows/llmsecops-cicd.llm.yml b/.github/workflows/llmsecops-cicd.llm.yml index 5dfec1736..cb261f2d6 100644 --- a/.github/workflows/llmsecops-cicd.llm.yml +++ b/.github/workflows/llmsecops-cicd.llm.yml @@ -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'