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

This commit is contained in:
2026-05-08 13:45:39 +00:00
parent bbbf8c06f6
commit dcafde8660
3 changed files with 173 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-demo-crucible-1
namespace: dev
labels:
app: demo-crucible-1
backstage.io/component: demo-crucible-1
app.kubernetes.io/managed-by: backstage
app.kubernetes.io/component: load-testing
spec:
parallelism: 1
script:
configMap:
name: k6-test-demo-crucible-1
file: load-test.js
runner:
image: grafana/k6:latest
envFrom:
- configMapRef:
name: k6-test-demo-crucible-1
env:
- name: K6_OTEL_SERVICE_NAME
value: k6-demo-crucible-1