Skip to content

Commit

Permalink
JMeter template v2 - alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny committed Feb 4, 2025
1 parent 90505f6 commit 8ce17df
Showing 1 changed file with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: official--jmeter--v1
labels:
testkube.io/name: JMeter
testkube.io/wizard: enabled
testkube.io/wizard: disabled
annotations:
helm.sh/hook: post-install,post-upgrade
helm.sh/hook-weight: "19"
Expand All @@ -29,4 +29,35 @@ spec:
run:
image: {{`"justb4/jmeter:{{ config.version }}"`}}
shell: {{`"{{ config.run }}"`}}
---
kind: TestWorkflowTemplate
apiVersion: testworkflows.testkube.io/v1
metadata:
name: official--jmeter--v2
labels:
testkube.io/name: JMeter
testkube.io/wizard: enabled
annotations:
helm.sh/hook: post-install,post-upgrade
helm.sh/hook-weight: "19"
helm.sh/hook-delete-policy: hook-failed,before-hook-creation
testkube.io/categories: Load & Performance
testkube.io/description: Run JMeter Plan
testkube.io/icon: jmeter
testkube.io/image: alpine/jmeter
spec:
config:
version:
description: JMeter version to use
type: string
default: "5.6"
run:
description: Run command
type: string
default: "jmeter -n"
steps:
- name: Run JMeter tests
run:
image: {{`"alpine/jmeter:{{ config.version }}"`}}
shell: {{`"{{ config.run }}"`}}
{{- end }}

0 comments on commit 8ce17df

Please sign in to comment.