goharbor / xk6-harbor

GNU Affero General Public License v3.0
6 stars 13 forks source link

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
  2. 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