File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Dora Metrics Tests
2+
3+ on :
4+ push :
5+ branches : [ main, fix_csv ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ name : Run Tests
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Set up Go
19+ uses : actions/setup-go@v5
20+ with :
21+ go-version : ' 1.26'
22+ cache : true
23+
24+ - name : Download dependencies
25+ run : go mod download
26+
27+ - name : Run tests
28+ run : go test ./... -v -race -coverprofile=coverage.out
29+
30+ - name : Generate coverage report
31+ run : go tool cover -func=coverage.out
32+
33+ - name : Upload coverage
34+ uses : codecov/codecov-action@v4
35+ if : success()
36+ with :
37+ file : ./coverage.out
38+ fail_ci_if_error : false
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ COPY . .
1717RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -buildvcs=false -o main ./cmd/server
1818
1919# Final stage
20- FROM registry.redhat.io/ubi9/ubi -minimal:latest
20+ FROM registry.redhat.io/ubi9-minimal:9.7
2121
2222# Create non-root user
2323RUN groupadd -g 1001 dora-metrics && \
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ argocd:
3232 - " cluster-secret-store"
3333 - " build-templates"
3434 - " policies"
35+ - " image-rbac-proxy"
36+ - " authentication"
3537
3638 # Known cluster names for application name parsing
3739 # These are used to extract component and cluster information from application names
@@ -137,7 +139,6 @@ integration:
137139 - name : " konflux-infrastructure-team"
138140 project_id : " 5"
139141 argocd_components :
140- - " authentication"
141142 - " backup"
142143 - " cert-manager"
143144 - " cost-management"
Original file line number Diff line number Diff line change 4545 - "cluster-secret-store"
4646 - "build-templates"
4747 - "policies"
48+ - "image-rbac-proxy"
49+ - "authentication"
4850
4951 # Known cluster names for application name parsing
5052 # These are used to extract component and cluster information from application names
@@ -150,7 +152,6 @@ data:
150152 - name: "konflux-infrastructure-team"
151153 project_id: "5"
152154 argocd_components:
153- - "authentication"
154155 - "backup"
155156 - "cert-manager"
156157 - "cost-management"
You can’t perform that action at this time.
0 commit comments