This is a Harbor client library for k6.
To build a k6
binary with this extension, first ensure you have the prerequisites:
- Go toolchain
- Git
Then:
- Clone this repostiroy
git clone https://github.com/goharbor/xk6-harbor
cd xk6-harbor
- Build the binary
make build
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