From 651e1fe5ebde9df3105f92edab3e040f48b5a1e5 Mon Sep 17 00:00:00 2001 From: GSRN Date: Thu, 18 Sep 2025 11:14:06 +0200 Subject: [PATCH] chore: Clean up CI workflow by removing redundant Docker build steps ### 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. --- .gitea/workflows/api-docs.yml | 5 +---- .gitea/workflows/api-gateway.yml | 3 --- .gitea/workflows/frontend.yml | 3 --- .gitea/workflows/service-adapters.yml | 5 +---- 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/api-docs.yml b/.gitea/workflows/api-docs.yml index 1831e86..97fecc4 100644 --- a/.gitea/workflows/api-docs.yml +++ b/.gitea/workflows/api-docs.yml @@ -200,7 +200,4 @@ jobs: echo "ESLint verified successfully" - name: Build application - run: npm run build - - - name: Build Docker image (test only) - run: docker build -t api-docs:test . \ No newline at end of file + run: npm run build \ No newline at end of file diff --git a/.gitea/workflows/api-gateway.yml b/.gitea/workflows/api-gateway.yml index 5945334..d8ff653 100644 --- a/.gitea/workflows/api-gateway.yml +++ b/.gitea/workflows/api-gateway.yml @@ -153,7 +153,4 @@ jobs: - name: Build application run: ./mvnw clean package -DskipTests - - - name: Build Docker image (test only) - run: docker build -t api-gateway:test . \ No newline at end of file diff --git a/.gitea/workflows/frontend.yml b/.gitea/workflows/frontend.yml index 4bd0184..60b59f6 100644 --- a/.gitea/workflows/frontend.yml +++ b/.gitea/workflows/frontend.yml @@ -174,9 +174,6 @@ jobs: run: | echo "Build artifacts created in frontend/build/" echo "Build analysis available in pipeline logs" - - - name: Build Docker image (test only) - run: docker build -t frontend:test . lighthouse: runs-on: [self-hosted] diff --git a/.gitea/workflows/service-adapters.yml b/.gitea/workflows/service-adapters.yml index 680167e..da7bdbf 100644 --- a/.gitea/workflows/service-adapters.yml +++ b/.gitea/workflows/service-adapters.yml @@ -164,7 +164,4 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Build Docker image (test only) - run: docker build -t service-adapters:test . \ No newline at end of file + pip install -r requirements.txt \ No newline at end of file