2dc0288ae0
Conftest helps you write tests against structured configuration data. Using Conftest you can write tests for your Kubernetes configuration, Tekton pipeline definitions, Terraform code, Serverless configs or any other config files. Conftest uses the Rego language from Open Policy Agent for writing the assertions.
20 lines
570 B
Makefile
20 lines
570 B
Makefile
# $NetBSD: Makefile,v 1.1 2022/01/20 23:22:34 leot Exp $
|
|
|
|
DISTNAME= conftest-0.30.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=open-policy-agent/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://www.conftest.dev/
|
|
COMMENT= Tests structured configuration data via OPA Rego query language
|
|
LICENSE= apache-2.0
|
|
|
|
GO_BUILD_PATTERN+= -ldflags ' \
|
|
-X github.com/open-policy-agent/conftest/internal/commands.version=${GITHUB_TAG}' \
|
|
.
|
|
|
|
.include "go-modules.mk"
|
|
|
|
.include "../../lang/go/go-module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|