Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from MStoykov/updateK6PathAndReadme
Browse files Browse the repository at this point in the history
Update k6 path
  • Loading branch information
simskij authored May 18, 2021
2 parents 064932e + 6b4ec3a commit 71245c7
Show file tree
Hide file tree
Showing 6 changed files with 464 additions and 132 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# xk6-chaos
A k6 extension for testing for the unknown unknowns.
Built for [k6](https://github.com/loadimpact/k6) using [xk6](https://github.com/k6io/xk6).
Built for [k6](https://go.k6.io/k6) using [xk6](https://github.com/k6io/xk6).

</div>

Expand All @@ -28,13 +28,12 @@ Then:

1. Download `xk6`:
```bash
$ go get -u github.com/k6io/xk6
$ go install github.com/k6io/xk6/cmd/xk6@latest
```

2. Build the binary:
```bash
$ xk6 build v0.29.0 \
--with github.com/simskij/xk6-chaos
$ xk6 build --with github.com/simskij/xk6-chaos@latest
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion chaos.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package chaos

import (
"github.com/loadimpact/k6/js/modules"
"go.k6.io/k6/js/modules"
_ "github.com/simskij/xk6-chaos/internal/k8s" // Register the k8s module as well
)

Expand Down
21 changes: 4 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,12 @@ module github.com/simskij/xk6-chaos
go 1.15

require (
github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 // indirect
github.com/evanphx/json-patch v4.9.0+incompatible // indirect
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/googleapis/gnostic v0.5.3 // indirect
github.com/imdario/mergo v0.3.11 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/loadimpact/k6 v0.29.0
github.com/onsi/ginkgo v1.14.0
github.com/onsi/gomega v1.10.1
github.com/pkg/errors v0.9.1 // indirect
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4 // indirect
k8s.io/api v0.17.0
k8s.io/apimachinery v0.17.0
k8s.io/client-go v0.17.0
k8s.io/klog v1.0.0 // indirect
k8s.io/klog/v2 v2.2.0 // indirect
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6 // indirect
k8s.io/utils v0.0.0-20201110183641-67b214c5f920 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
go.k6.io/k6 v0.32.0
k8s.io/api v0.21.0
k8s.io/apimachinery v0.21.0
k8s.io/client-go v0.21.0
)
Loading

0 comments on commit 71245c7

Please sign in to comment.