-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathk6.yaml
54 lines (47 loc) · 989 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
53
54
package:
name: k6
version: "0.57.0"
epoch: 2
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: 50afd82c18d5a66f4b2bfd1f8d266218bfdeaede
- uses: go/bump
with:
deps: |-
golang.org/x/crypto@v0.35.0
golang.org/x/net@v0.36.0
- 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