chore: Add workflow dispatch inputs for CI configurations across services
Some checks failed
API Gateway (Java Spring Boot) / test (17) (push) Failing after 35s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 36s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 34s
Integration Tests / performance-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.1) (push) Failing after 14s
API Docs (Node.js Express) / test (20) (push) Successful in 1m29s
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 41s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 43s
Frontend (React) / test (20) (push) Successful in 1m44s
Service Adapters (Python FastAPI) / test (3.9) (push) Failing after 43s
Service Adapters (Python FastAPI) / build (push) Has been skipped
API Docs (Node.js Express) / build (push) Successful in 40s
Docker Build and Push / build-and-push (push) Failing after 3m6s
Frontend (React) / build (push) Successful in 2m26s
Frontend (React) / lighthouse (push) Has been skipped

### Summary of Changes
- Introduced `workflow_dispatch` inputs for `run_tests`, `run_lint`, `run_build`, and `run_sonar` in the CI workflows for `api-docs`, `api-gateway`, `frontend`, and `service-adapters`.
- This enhancement allows for more flexible and controlled execution of CI processes, enabling developers to selectively run tests, linting, builds, and SonarQube analysis.

### Expected Results
- Improved configurability of CI workflows, facilitating better management of build and testing processes based on specific needs.
This commit is contained in:
GSRN
2025-09-16 23:33:00 +02:00
parent bfb69850f3
commit f237651dc2
5 changed files with 336 additions and 1 deletions

View File

@@ -8,6 +8,28 @@ on:
pull_request:
paths:
- 'services/api-gateway/**'
workflow_dispatch:
inputs:
run_tests:
description: 'Run tests'
required: false
default: true
type: boolean
run_lint:
description: 'Run linting'
required: false
default: true
type: boolean
run_build:
description: 'Run build'
required: false
default: true
type: boolean
run_sonar:
description: 'Run SonarQube analysis'
required: false
default: true
type: boolean
env:
REGISTRY: gitea.example.com