dev-util/kube-linter: new package, add 0.3.0

This is another static analysis tool for kubernetes configurations and
helm charts.

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs 2022-06-23 16:24:24 -05:00
parent f77d7930a9
commit 57abc75d48
No known key found for this signature in database
GPG Key ID: 9B40A8EDCAFAE733
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST kube-linter-0.3.0-deps.tar.xz 141981332 BLAKE2B 52ae84c6769d95384b4cf222152960786d747603234d4807c21c7b1e049f7995248746cea3cdf67e9ff16184c5c9a8655acb23c83141bd086afe2bae87ec723e SHA512 d743cc3a0b8bf90a56d3fbeef3f99ca5c039322136b3085fe75d9dd46b08bf5c456785848fd74c1325faac30e14566dc76dfbb271d9923c26ed2f40c0072e202
DIST kube-linter-0.3.0.tar.gz 252093 BLAKE2B 7cbd904ad2bd8e5b5496c606a3a640e93235907b3422f3e18d022c0be370fbde1ba19766a24f9d13f194066d471cd5449d6d1cf12f0a05d92233676d82c175eb SHA512 bcd8a28eb52902c0b1e248a43ec9ce96afdced554b7198fd7898853d02a88093f72bed038fcc36373250da68bc362e3a89e52e73a5ebe74267000b89bfdc6e6a

View File

@ -0,0 +1,27 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="kubernetes yaml and helm chart static analysis tool"
HOMEPAGE="https://kubelinter.io"
SRC_URI="https://github.com/stackrox/kube-linter/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
emake TAG=${PV} build
}
src_install() {
dobin .gobin/kube-linter
dodoc -r config.yaml.example docs/*
}
src_test() {
emake TAG=${PV} test
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
</pkgmetadata>