Refactor CI workflows to standardize runner configurations by removing specific service labels and utilizing only self-hosted runners across API Docs, API Gateway, Frontend, Integration Tests, and Service Adapters; update documentation to reflect these changes.
Some checks failed
Docker Build and Push / build-and-push (push) Failing after 32s
Docker Build and Push / security-scan (push) Has been skipped
Docker Build and Push / deploy-staging (push) Has been skipped
Docker Build and Push / deploy-production (push) Has been skipped
API Docs (Node.js Express) / test (20) (push) Successful in 4m24s
API Gateway (Java Spring Boot) / test (17) (push) Failing after 6m26s
API Docs (Node.js Express) / test (18) (push) Successful in 13m3s
API Docs (Node.js Express) / test (16) (push) Successful in 13m14s
API Gateway (Java Spring Boot) / test (21) (push) Failing after 4m55s
API Gateway (Java Spring Boot) / build (push) Has been skipped
API Gateway (Java Spring Boot) / security (push) Has been skipped
Frontend (React) / test (20) (push) Failing after 1m42s
Integration Tests / integration-tests (push) Failing after 55s
Integration Tests / performance-tests (push) Has been skipped
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 6m9s
Frontend (React) / test (16) (push) Failing after 6m16s
Service Adapters (Python FastAPI) / test (3.1) (push) Failing after 1m0s
Frontend (React) / test (18) (push) Failing after 9m6s
Frontend (React) / build (push) Has been skipped
Frontend (React) / security (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 6m5s
Service Adapters (Python FastAPI) / test (3.9) (push) Failing after 5m29s
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 6m18s
Service Adapters (Python FastAPI) / build (push) Has been skipped
Service Adapters (Python FastAPI) / security (push) Has been skipped
API Docs (Node.js Express) / security (push) Has been cancelled
API Docs (Node.js Express) / build (push) Has been cancelled
LabFusion CI/CD Pipeline / service-adapters (push) Has been cancelled
LabFusion CI/CD Pipeline / api-docs (push) Has been cancelled
LabFusion CI/CD Pipeline / frontend (push) Has been cancelled
LabFusion CI/CD Pipeline / integration-tests (push) Has been cancelled
LabFusion CI/CD Pipeline / security-scan (push) Has been cancelled
Frontend (React) / lighthouse (push) Has been cancelled

This commit is contained in:
glenn schrooyen
2025-09-13 12:52:51 +02:00
parent 8e927f4b11
commit aa31ac98fa
10 changed files with 6 additions and 20 deletions

View File

@@ -16,7 +16,7 @@ env:
jobs: jobs:
test: test:
runs-on: [nodejs, light, self-hosted] runs-on: [self-hosted]
defaults: defaults:
run: run:
working-directory: ./services/api-docs working-directory: ./services/api-docs

View File

@@ -16,7 +16,7 @@ env:
jobs: jobs:
test: test:
runs-on: [java, heavy, self-hosted] runs-on: [self-hosted]
defaults: defaults:
run: run:
working-directory: ./services/api-gateway working-directory: ./services/api-gateway

View File

@@ -13,7 +13,7 @@ env:
jobs: jobs:
# Java Spring Boot API Gateway # Java Spring Boot API Gateway
api-gateway: api-gateway:
runs-on: [java, heavy, self-hosted] runs-on: [self-hosted]
defaults: defaults:
run: run:
working-directory: ./services/api-gateway working-directory: ./services/api-gateway

View File

@@ -16,7 +16,7 @@ env:
jobs: jobs:
test: test:
runs-on: [frontend, light, self-hosted] runs-on: [self-hosted]
defaults: defaults:
run: run:
working-directory: ./frontend working-directory: ./frontend

View File

@@ -12,7 +12,7 @@ env:
jobs: jobs:
integration-tests: integration-tests:
runs-on: [docker, integration, self-hosted] runs-on: [self-hosted]
services: services:
postgres: postgres:

View File

@@ -16,7 +16,7 @@ env:
jobs: jobs:
test: test:
runs-on: [python, self-hosted] runs-on: [self-hosted]
defaults: defaults:
run: run:
working-directory: ./services/service-adapters working-directory: ./services/service-adapters

View File

@@ -43,9 +43,6 @@ runner:
# If it's empty when registering, it will ask for inputting labels. # If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `daemon`, will use labels in `.runner` file. # If it's empty when execute `daemon`, will use labels in `.runner` file.
labels: labels:
# Primary optimized images (checked first)
- "docker:docker://docker:24-dind"
- "integration:docker://docker:24-dind"
# Fallback images (checked last) # Fallback images (checked last)
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest" - "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"

View File

@@ -43,10 +43,6 @@ runner:
# If it's empty when registering, it will ask for inputting labels. # If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `daemon`, will use labels in `.runner` file. # If it's empty when execute `daemon`, will use labels in `.runner` file.
labels: labels:
# Primary optimized images (checked first)
- "java:docker://openjdk:17-slim"
- "python:docker://python:3.11-slim"
- "heavy:docker://openjdk:17-slim"
# Fallback images (checked last) # Fallback images (checked last)
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest" - "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"

View File

@@ -43,10 +43,6 @@ runner:
# If it's empty when registering, it will ask for inputting labels. # If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `daemon`, will use labels in `.runner` file. # If it's empty when execute `daemon`, will use labels in `.runner` file.
labels: labels:
# Primary optimized images (checked first)
- "nodejs:docker://node:20-slim"
- "frontend:docker://node:20-slim"
- "light:docker://node:20-slim"
# Fallback images (checked last) # Fallback images (checked last)
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest" - "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"

View File

@@ -43,9 +43,6 @@ runner:
# If it's empty when registering, it will ask for inputting labels. # If it's empty when registering, it will ask for inputting labels.
# If it's empty when execute `daemon`, will use labels in `.runner` file. # If it's empty when execute `daemon`, will use labels in `.runner` file.
labels: labels:
# Primary optimized images (checked first)
- "security:docker://alpine:3.19"
- "scan:docker://alpine:3.19"
# Fallback images (checked last) # Fallback images (checked last)
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest" - "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"