feat(k6): add bespoke load test files
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 1m56s
All checks were successful
Build and Push to ACR / Build and Push (push) Successful in 1m56s
This commit is contained in:
24
k6/testrun.yaml
Normal file
24
k6/testrun.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: k6.io/v1alpha1
|
||||
kind: TestRun
|
||||
metadata:
|
||||
name: k6-sonar-test-go3
|
||||
namespace: dev
|
||||
labels:
|
||||
app: sonar-test-go3
|
||||
backstage.io/component: sonar-test-go3
|
||||
app.kubernetes.io/managed-by: backstage
|
||||
app.kubernetes.io/component: load-testing
|
||||
spec:
|
||||
parallelism: 1
|
||||
script:
|
||||
configMap:
|
||||
name: k6-test-sonar-test-go3
|
||||
file: load-test.js
|
||||
runner:
|
||||
image: grafana/k6:latest
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: k6-test-sonar-test-go3
|
||||
env:
|
||||
- name: K6_OTEL_SERVICE_NAME
|
||||
value: k6-sonar-test-go3
|
||||
Reference in New Issue
Block a user