chore: Clean up CI workflow by removing redundant Docker build steps
Some checks failed
API Docs (Node.js Express) / test (20) (push) Failing after 43s
API Docs (Node.js Express) / build (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 24s
Integration Tests / performance-tests (push) Has been skipped
Frontend (React) / test (20) (push) Failing after 1m25s
Frontend (React) / build (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 23s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 23s
Frontend (React) / lighthouse (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.13) (push) Failing after 22s
Service Adapters (Python FastAPI) / build (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Successful in 2m1s
API Gateway (Java Spring Boot) / test (21) (push) Successful in 2m7s
API Gateway (Java Spring Boot) / build (push) Successful in 2m2s
Some checks failed
API Docs (Node.js Express) / test (20) (push) Failing after 43s
API Docs (Node.js Express) / build (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 24s
Integration Tests / performance-tests (push) Has been skipped
Frontend (React) / test (20) (push) Failing after 1m25s
Frontend (React) / build (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 23s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 23s
Frontend (React) / lighthouse (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.13) (push) Failing after 22s
Service Adapters (Python FastAPI) / build (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Successful in 2m1s
API Gateway (Java Spring Boot) / test (21) (push) Successful in 2m7s
API Gateway (Java Spring Boot) / build (push) Successful in 2m2s
### Summary of Changes - Removed unnecessary Docker build steps from the CI workflows for API Docs, API Gateway, and Frontend. - Streamlined the build process by eliminating duplicate commands, enhancing clarity and maintainability. ### Expected Results - Improved readability of CI configuration and reduced complexity in the build process, making it easier to manage and update in the future.
This commit is contained in:
@@ -200,7 +200,4 @@ jobs:
|
|||||||
echo "ESLint verified successfully"
|
echo "ESLint verified successfully"
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Build Docker image (test only)
|
|
||||||
run: docker build -t api-docs:test .
|
|
||||||
@@ -153,7 +153,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: ./mvnw clean package -DskipTests
|
run: ./mvnw clean package -DskipTests
|
||||||
|
|
||||||
- name: Build Docker image (test only)
|
|
||||||
run: docker build -t api-gateway:test .
|
|
||||||
|
|
||||||
@@ -174,9 +174,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Build artifacts created in frontend/build/"
|
echo "Build artifacts created in frontend/build/"
|
||||||
echo "Build analysis available in pipeline logs"
|
echo "Build analysis available in pipeline logs"
|
||||||
|
|
||||||
- name: Build Docker image (test only)
|
|
||||||
run: docker build -t frontend:test .
|
|
||||||
|
|
||||||
lighthouse:
|
lighthouse:
|
||||||
runs-on: [self-hosted]
|
runs-on: [self-hosted]
|
||||||
|
|||||||
@@ -164,7 +164,4 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Build Docker image (test only)
|
|
||||||
run: docker build -t service-adapters:test .
|
|
||||||
Reference in New Issue
Block a user