Refactor CI workflows by removing security scan steps for API Docs, API Gateway, Frontend, and Service Adapters; update Docker build configurations for improved clarity and maintainability.
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 34s
API Docs (Node.js Express) / test (20) (push) Successful in 1m37s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 6m16s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 4m54s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
API Docs (Node.js Express) / test (18) (push) Successful in 10m18s
API Docs (Node.js Express) / test (16) (push) Successful in 10m24s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m54s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 5m2s
LabFusion CI/CD Pipeline / frontend (push) Failing after 6m15s
Frontend (React) / test (16) (push) Failing after 6m11s
Frontend (React) / test (18) (push) Failing after 6m14s
Service Adapters (Python FastAPI) / test (3.1) (push) Failing after 14s
Integration Tests / integration-tests (push) Failing after 41s
Integration Tests / performance-tests (push) Has been skipped
Frontend (React) / test (20) (push) Failing after 1m49s
Frontend (React) / build (push) Has been skipped
LabFusion CI/CD Pipeline / api-docs (push) Successful in 9m57s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 5m18s
Frontend (React) / lighthouse (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 5m28s
Service Adapters (Python FastAPI) / test (3.9) (push) Failing after 5m24s
Service Adapters (Python FastAPI) / build (push) Has been skipped
API Docs (Node.js Express) / build (push) Successful in 9m53s
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 34s
API Docs (Node.js Express) / test (20) (push) Successful in 1m37s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 6m16s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 4m54s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
API Docs (Node.js Express) / test (18) (push) Successful in 10m18s
API Docs (Node.js Express) / test (16) (push) Successful in 10m24s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 4m54s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 5m2s
LabFusion CI/CD Pipeline / frontend (push) Failing after 6m15s
Frontend (React) / test (16) (push) Failing after 6m11s
Frontend (React) / test (18) (push) Failing after 6m14s
Service Adapters (Python FastAPI) / test (3.1) (push) Failing after 14s
Integration Tests / integration-tests (push) Failing after 41s
Integration Tests / performance-tests (push) Has been skipped
Frontend (React) / test (20) (push) Failing after 1m49s
Frontend (React) / build (push) Has been skipped
LabFusion CI/CD Pipeline / api-docs (push) Successful in 9m57s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 5m18s
Frontend (React) / lighthouse (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 5m28s
Service Adapters (Python FastAPI) / test (3.9) (push) Failing after 5m24s
Service Adapters (Python FastAPI) / build (push) Has been skipped
API Docs (Node.js Express) / build (push) Successful in 9m53s
This commit is contained in:
@@ -127,35 +127,4 @@ jobs:
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Build Docker image (test only)
|
||||
run: docker build -t service-adapters:test .
|
||||
|
||||
security:
|
||||
runs-on: [self-hosted]
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Build Docker image for security scan
|
||||
run: |
|
||||
cd services/service-adapters
|
||||
docker build -t service-adapters:security-scan .
|
||||
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
image-ref: service-adapters:security-scan
|
||||
format: 'sarif'
|
||||
output: 'trivy-results.sarif'
|
||||
|
||||
- name: Upload Trivy scan results
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
if: always()
|
||||
with:
|
||||
sarif_file: 'trivy-results.sarif'
|
||||
run: docker build -t service-adapters:test .
|
||||
Reference in New Issue
Block a user