Skip to content

feat: JMeter template v2 - alpine image #988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading