New port: net/k6

Modern load testing tool for developers and testers in the
DevOps era, building on Load Impact's years of experience
in the load and performance testing industry. It provides
a clean, approachable scripting API, local and cloud
execution, and flexible configuration.

WWW: https://k6.io/

PR:		245082
Submitted by:	Lewis Cook <vulcan@wired.sh>
This commit is contained in:
Dmitri Goutnik 2020-04-12 20:54:57 +00:00
parent 904b7a297b
commit 2c6e32fee0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531557
4 changed files with 49 additions and 0 deletions

View File

@ -298,6 +298,7 @@
SUBDIR += jsch
SUBDIR += jumpgate
SUBDIR += jwhois
SUBDIR += k6
SUBDIR += kafka
SUBDIR += kafkacat
SUBDIR += kalarmcal

38
net/k6/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $FreeBSD$
PORTNAME= k6
DISTVERSIONPREFIX= v
DISTVERSION= 0.26.2
CATEGORIES= net
MAINTAINER= vulcan@wired.sh
COMMENT= Modern load testing tool, using Go and Javascript
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= go
USE_GITHUB= yes
GH_ACCOUNT= loadimpact
_BUILD_DATE= $$(date -u +"%FT%T%z")
_BUILD_HASH= 459da79
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
-s -w \
-X ${GO_PKGNAME}/lib/consts.VersionDetails=${_BUILD_DATE}/${_BUILD_HASH}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ${DOCS:T}
OPTIONS_DEFINE= DOCS
DOCS= release\ notes/\${DISTVERSIONFULL}.md CODE_OF_CONDUCT.md \
CONTRIBUTING.md README.md SUPPORT.md
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

3
net/k6/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1585246692
SHA256 (loadimpact-k6-v0.26.2_GH0.tar.gz) = 28941215c295155538fc8d920167bfcda343cc1dd767c28f0df284cf93da37bb
SIZE (loadimpact-k6-v0.26.2_GH0.tar.gz) = 5467130

7
net/k6/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Modern load testing tool for developers and testers in the
DevOps era, building on Load Impact's years of experience
in the load and performance testing industry. It provides
a clean, approachable scripting API, local and cloud
execution, and flexible configuration.
WWW: https://k6.io/