Skip to content

goharbor/xk6-harbor

Repository files navigation

xk6-harbor

This is a Harbor client library for k6.

Build

To build a k6 binary with this extension, first ensure you have the prerequisites:

Then:

  1. Clone this repostiroy
git clone https://github.com/goharbor/xk6-harbor
cd xk6-harbor
  1. Build the binary
make build

Get the binrary

You can also download the latest pre-build binary file.

curl -sL $(curl -s https://api.github.com/repos/goharbor/xk6-harbor/releases/latest | grep 'http.*linux-amd64.tar.gz"' | awk '{print $2}' | sed 's|[\"\,]*||g') | tar -zx