Skip to content

Commit

Permalink
Merge pull request #44 from grafana/transfer-to-grafana
Browse files Browse the repository at this point in the history
chore: Update repository references (from szkiba to grafana)
  • Loading branch information
szkiba authored Aug 18, 2023
2 parents cde98b7 + 1ad0110 commit 559008a
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
id: build
uses: szkiba/xk6bundler@v0
with:
with: github.com/szkiba/xk6-dashboard=/github/workspace
with: github.com/grafana/xk6-dashboard=/github/workspace
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: build
uses: szkiba/xk6bundler@v0
with:
with: github.com/szkiba/xk6-dashboard=/github/workspace
with: github.com/grafana/xk6-dashboard=/github/workspace

- name: Create Release
uses: softprops/action-gh-release@v1
Expand Down
Binary file modified .github/xk6-dashboard-social.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .github/xk6-dashboard-social.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ linters-settings:
- github.com/gorilla/schema
- github.com/tidwall/gjson
- github.com/r3labs/sse/v2
- github.com/szkiba/xk6-dashboard/assets
- github.com/szkiba/xk6-dashboard/dashboard
- github.com/grafana/xk6-dashboard/assets
- github.com/grafana/xk6-dashboard/dashboard
test:
files:
- $test
allow:
- $gostd
- github.com/stretchr/testify/assert
- github.com/sirupsen/logrus
- github.com/szkiba/xk6-dashboard/assets
- github.com/szkiba/xk6-dashboard/dashboard
- github.com/grafana/xk6-dashboard/assets
- github.com/grafana/xk6-dashboard/dashboard
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/szkiba/xk6-dashboard)](https://goreportcard.com/report/github.com/szkiba/xk6-dashboard)
[![GitHub Actions](https://github.com/szkiba/xk6-dashboard/workflows/Test/badge.svg)](https://github.com/szkiba/xk6-dashboard/actions?query=workflow%3ATest+branch%3Amaster)
[![codecov](https://codecov.io/gh/szkiba/xk6-dashboard/branch/master/graph/badge.svg?token=ORDNEEZIV3)](https://codecov.io/gh/szkiba/xk6-dashboard)
[![Go Report Card](https://goreportcard.com/badge/github.com/grafana/xk6-dashboard)](https://goreportcard.com/report/github.com/grafana/xk6-dashboard)
[![GitHub Actions](https://github.com/grafana/xk6-dashboard/workflows/Test/badge.svg)](https://github.com/grafana/xk6-dashboard/actions?query=workflow%3ATest+branch%3Amaster)
[![codecov](https://codecov.io/gh/grafana/xk6-dashboard/branch/master/graph/badge.svg?token=ORDNEEZIV3)](https://codecov.io/gh/grafana/xk6-dashboard)


# xk6-dashboard <!-- omit in toc -->
Expand Down Expand Up @@ -61,7 +61,7 @@ The report can be saved in a single responsive HTML file.
*Single file HTML report*
![k6 dashboard HTML report](screenshot/k6-dashboard-html-report.png)

See [sample HTML report](screenshot/k6-dashboard-html-report.html) or try the [online version](https://raw.githack.com/szkiba/xk6-dashboard/master/screenshot/k6-dashboard-html-report.html)
See [sample HTML report](screenshot/k6-dashboard-html-report.html) or try the [online version](https://raw.githack.com/grafana/xk6-dashboard/master/screenshot/k6-dashboard-html-report.html)

**Table of Contents**

Expand All @@ -79,7 +79,7 @@ See [sample HTML report](screenshot/k6-dashboard-html-report.html) or try the [o

## Download

You can download pre-built k6 binaries from [Releases](https://github.com/szkiba/xk6-dashboard/releases/) page. Check [Packages](https://github.com/szkiba/xk6-dashboard/pkgs/container/xk6-dashboard) page for pre-built k6 Docker images.
You can download pre-built k6 binaries from [Releases](https://github.com/grafana/xk6-dashboard/releases/) page. Check [Packages](https://github.com/grafana/xk6-dashboard/pkgs/container/xk6-dashboard) page for pre-built k6 Docker images.

## Build

Expand All @@ -97,7 +97,7 @@ Then:

2. Build the binary:
```bash
$ xk6 build --with github.com/szkiba/xk6-dashboard@latest
$ xk6 build --with github.com/grafana/xk6-dashboard@latest
```

## Usage
Expand Down Expand Up @@ -148,13 +148,13 @@ You can also use pre-built k6 image within a Docker container. In order to do th
**Linux**

```plain
docker run -v $(pwd):/scripts -p 5665:5665 -it --rm ghcr.io/szkiba/xk6-dashboard:latest run --out=dashboard /scripts/script.js
docker run -v $(pwd):/scripts -p 5665:5665 -it --rm ghcr.io/grafana/xk6-dashboard:latest run --out=dashboard /scripts/script.js
```

**Windows**

```plain
docker run -v %cd%:/scripts -p 5665:5665 -it --rm ghcr.io/szkiba/xk6-dashboard:latest run --out=dashboard /scripts/script.js
docker run -v %cd%:/scripts -p 5665:5665 -it --rm ghcr.io/grafana/xk6-dashboard:latest run --out=dashboard /scripts/script.js
```

The dashboard will accessible on port `5665` with any web browser: http://127.0.0.1:5665
Expand All @@ -178,7 +178,7 @@ k6 dashboard replay --report test-report.html test-result.json
*Example HTML report*
![k6 dashboard HTML report](screenshot/k6-dashboard-html-report.png)

See [sample HTML report](screenshot/k6-dashboard-html-report.html) or try the [online version](https://raw.githack.com/szkiba/xk6-dashboard/master/screenshot/k6-dashboard-html-report.html)
See [sample HTML report](screenshot/k6-dashboard-html-report.html) or try the [online version](https://raw.githack.com/grafana/xk6-dashboard/master/screenshot/k6-dashboard-html-report.html)

## Events

Expand Down Expand Up @@ -345,15 +345,15 @@ You can also use pre-built k6 image within a Docker container. In order to do th
**Linux**
```plain
docker run -v $(pwd):/work -v /tmp:/tmp/work -it --rm ghcr.io/szkiba/xk6-dashboard:latest run --out=json=/tmp/work/test_result.json.gz /work/script.js
docker run -v /tmp:/tmp/work -p 5665:5665 -it --rm ghcr.io/szkiba/xk6-dashboard:latest dashboard replay /tmp/work/test_result.json.gz
docker run -v $(pwd):/work -v /tmp:/tmp/work -it --rm ghcr.io/grafana/xk6-dashboard:latest run --out=json=/tmp/work/test_result.json.gz /work/script.js
docker run -v /tmp:/tmp/work -p 5665:5665 -it --rm ghcr.io/grafana/xk6-dashboard:latest dashboard replay /tmp/work/test_result.json.gz
```
**Windows**
```plain
docker run -v %cd%:/work -v %USERPROFILE%\AppData\Local\Temp:/tmp/work -it --rm ghcr.io/szkiba/xk6-dashboard:latest run --out=json=/tmp/work/test_result.json.gz /work/script.js
docker run -v %USERPROFILE%\AppData\Local\Temp:/tmp/work -p 5665:5665 -it --rm ghcr.io/szkiba/xk6-dashboard:latest dashboard replay /tmp/work/test_result.json.gz
docker run -v %cd%:/work -v %USERPROFILE%\AppData\Local\Temp:/tmp/work -it --rm ghcr.io/grafana/xk6-dashboard:latest run --out=json=/tmp/work/test_result.json.gz /work/script.js
docker run -v %USERPROFILE%\AppData\Local\Temp:/tmp/work -p 5665:5665 -it --rm ghcr.io/grafana/xk6-dashboard:latest dashboard replay /tmp/work/test_result.json.gz
```
The dashboard will accessible on port `5665` with any web browser: http://127.0.0.1:5665
Expand Down
4 changes: 2 additions & 2 deletions command.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package dashboard
import (
"os"

"github.com/szkiba/xk6-dashboard/assets"
"github.com/szkiba/xk6-dashboard/dashboard"
"github.com/grafana/xk6-dashboard/assets"
"github.com/grafana/xk6-dashboard/dashboard"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/brief_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"testing"

"github.com/grafana/xk6-dashboard/assets"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/szkiba/xk6-dashboard/assets"
)

type errorWriter struct {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/extension_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"testing"
"time"

"github.com/grafana/xk6-dashboard/assets"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/szkiba/xk6-dashboard/assets"
"go.k6.io/k6/metrics"
"go.k6.io/k6/output"
)
Expand Down
2 changes: 1 addition & 1 deletion dashboard/replay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"testing"
"time"

"github.com/grafana/xk6-dashboard/assets"
"github.com/stretchr/testify/assert"
"github.com/szkiba/xk6-dashboard/assets"
"go.k6.io/k6/metrics"
)

Expand Down
2 changes: 1 addition & 1 deletion dashboard/web_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"strings"
"testing"

"github.com/grafana/xk6-dashboard/assets"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/szkiba/xk6-dashboard/assets"
)

func Test_newWebServer(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/szkiba/xk6-dashboard
module github.com/grafana/xk6-dashboard

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion magefiles/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Test() error {
}

func Build() error {
return shellcmd.Command(`xk6 build --with github.com/szkiba/xk6-dashboard=.`).Run()
return shellcmd.Command(`xk6 build --with github.com/grafana/xk6-dashboard=.`).Run()
}

func It() error {
Expand Down
4 changes: 2 additions & 2 deletions register.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package dashboard

import (
"github.com/szkiba/xk6-dashboard/assets"
"github.com/szkiba/xk6-dashboard/dashboard"
"github.com/grafana/xk6-dashboard/assets"
"github.com/grafana/xk6-dashboard/dashboard"
"go.k6.io/k6/output"
)

Expand Down

0 comments on commit 559008a

Please sign in to comment.