forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
k6.yaml
52 lines (45 loc) · 943 Bytes
/
k6.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package:
name: k6
version: 0.55.0
epoch: 1
description: A modern load testing tool, using Go and JavaScript
copyright:
- license: AGPL-3.0-or-later
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: "0"
pipeline:
- uses: git-checkout
with:
repository: https://github.com/grafana/k6
tag: v${{package.version}}
expected-commit: 90bb9415d0724355e93eb276624d25394751d54d
- uses: go/bump
with:
deps: golang.org/x/[email protected]
- uses: go/build
with:
packages: .
output: k6
- uses: strip
update:
enabled: true
github:
identifier: grafana/k6
strip-prefix: v
test:
pipeline:
- name: "test out k6 version"
runs: |
k6 version
k6 --version
k6 --help
- name: "run a demo test"
runs: |
k6 new
k6 run script.js --duration=1.5s