feat(k6): add bespoke load test files
Some checks failed
Build and Push to ACR / Build and Push (push) Successful in 1m59s
Integration Test / Platform Conformance (pull_request) Successful in 4s
Integration Test / Unit Tests + Container Smoke (workflow_dispatch) All checks passed
Integration Test / Unit Tests + Container Smoke (pull_request) Successful in 1m25s
SonarQube Analysis / Build, Test & Analyse (pull_request) Failing after 2m46s

This commit is contained in:
2026-05-06 13:06:43 +00:00
parent a13242bc87
commit d2e27c64c0
3 changed files with 172 additions and 0 deletions

24
k6/testrun.yaml Normal file
View File

@@ -0,0 +1,24 @@
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: k6-sonar-test-go
namespace: dev
labels:
app: sonar-test-go
backstage.io/component: sonar-test-go
app.kubernetes.io/managed-by: backstage
app.kubernetes.io/component: load-testing
spec:
parallelism: 1
script:
configMap:
name: k6-test-sonar-test-go
file: load-test.js
runner:
image: grafana/k6:latest
envFrom:
- configMapRef:
name: k6-test-sonar-test-go
env:
- name: K6_OTEL_SERVICE_NAME
value: k6-sonar-test-go