Skip to content

Instantly share code, notes, and snippets.

@tolleiv
Created August 1, 2021 21:03
Show Gist options
  • Save tolleiv/5d101ac1381988e62a01e66b56926415 to your computer and use it in GitHub Desktop.
Save tolleiv/5d101ac1381988e62a01e66b56926415 to your computer and use it in GitHub Desktop.
apiVersion: v2
actions:
- name: "Run hey"
events:
- name: "sh.keptn.event.test.triggered"
tasks:
- name: "Run hey smoke tests"
image: "tolleiv/rakyll-hey:v0.1.4" # just the official Dockerfile build
cmd:
- /hey
args:
- '-n'
- 100
- '-c'
- 20
- '-m'
- 'GET'
- '-h2'
- $(HOST)
env:
- name: HOST
value: "$.data.deployment.deploymentURIsLocal[0]"
valueFrom: event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment