Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 718 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 718 Bytes

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 and generate client from swagger
git clone https://github.com/heww/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/heww/xk6-harbor/releases/latest | grep 'http.*linux-amd64.tar.gz"' | awk '{print $2}' | sed 's|[\"\,]*||g') | tar -zx