Update optimization recommendations and runner configurations to utilize official Docker images for Java, Python, Node.js, and security tools; enhance documentation for clarity on available images and their benefits.
Some checks failed
LabFusion CI/CD Pipeline / api-docs (push) Failing after 2s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 2s
LabFusion CI/CD Pipeline / frontend (push) Failing after 2s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 2s
LabFusion CI/CD Pipeline / security-scan (push) Has been skipped
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 3m55s
Docker Build and Push / security-scan (push) Has been skipped
Docker Build and Push / deploy-staging (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 2s
Integration Tests / performance-tests (push) Has been skipped
Docker Build and Push / deploy-production (push) Has been skipped
Some checks failed
LabFusion CI/CD Pipeline / api-docs (push) Failing after 2s
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 2s
LabFusion CI/CD Pipeline / frontend (push) Failing after 2s
LabFusion CI/CD Pipeline / service-adapters (push) Failing after 2s
LabFusion CI/CD Pipeline / security-scan (push) Has been skipped
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Docker Build and Push / build-and-push (push) Failing after 3m55s
Docker Build and Push / security-scan (push) Has been skipped
Docker Build and Push / deploy-staging (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 2s
Integration Tests / performance-tests (push) Has been skipped
Docker Build and Push / deploy-production (push) Has been skipped
This commit is contained in:
@@ -73,39 +73,47 @@ Each runner configuration file maps labels to Docker images:
|
||||
### Heavy Runner (`config_heavy.yaml`)
|
||||
```yaml
|
||||
labels:
|
||||
# Primary optimized images (checked first)
|
||||
- "java:docker://openjdk:17-jdk-slim"
|
||||
- "python:docker://python:3.11-slim"
|
||||
- "heavy:docker://openjdk:17-jdk-slim"
|
||||
# Fallback images (checked last)
|
||||
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "heavy:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "java:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "python:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
```
|
||||
|
||||
### Light Runner (`config_light.yaml`)
|
||||
```yaml
|
||||
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)
|
||||
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "light:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "nodejs:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "frontend:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
```
|
||||
|
||||
### Docker Runner (`config_docker.yaml`)
|
||||
```yaml
|
||||
labels:
|
||||
# Primary optimized images (checked first)
|
||||
- "docker:docker://docker:24-dind"
|
||||
- "integration:docker://docker:24-dind"
|
||||
# Fallback images (checked last)
|
||||
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "docker:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "integration:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
```
|
||||
|
||||
### Security Runner (`config_security.yaml`)
|
||||
```yaml
|
||||
labels:
|
||||
# Primary optimized images (checked first)
|
||||
- "security:docker://alpine:3.19"
|
||||
- "scan:docker://alpine:3.19"
|
||||
# Fallback images (checked last)
|
||||
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "self-hosted:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "security:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
- "scan:docker://docker.gitea.com/runner-images:ubuntu-latest"
|
||||
```
|
||||
|
||||
## Label Priority and Matching
|
||||
|
||||
Reference in New Issue
Block a user