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

This commit is contained in:
2026-05-07 08:31:28 +00:00
parent 43df801f95
commit 6fce9a069e
3 changed files with 167 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-go2
namespace: dev
labels:
app: sonar-test-go2
backstage.io/component: sonar-test-go2
app.kubernetes.io/managed-by: backstage
app.kubernetes.io/component: load-testing
spec:
parallelism: 1
script:
configMap:
name: k6-test-sonar-test-go2
file: load-test.js
runner:
image: grafana/k6:latest
envFrom:
- configMapRef:
name: k6-test-sonar-test-go2
env:
- name: K6_OTEL_SERVICE_NAME
value: k6-sonar-test-go2