diff options
author | William Hubbs <williamh@gentoo.org> | 2022-06-23 16:24:24 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-06-23 16:27:05 -0500 |
commit | 57abc75d48c615116e9770e167cb566b3a89e9c5 (patch) | |
tree | 0bfe3d0facec74b2e0aacdd8a4cdfe5f4861d516 /dev-util/kube-linter | |
parent | games-emulation/pcsx2: add games@ as maintainer (diff) | |
download | gentoo-57abc75d48c615116e9770e167cb566b3a89e9c5.tar.gz gentoo-57abc75d48c615116e9770e167cb566b3a89e9c5.tar.bz2 gentoo-57abc75d48c615116e9770e167cb566b3a89e9c5.zip |
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>
Diffstat (limited to 'dev-util/kube-linter')
-rw-r--r-- | dev-util/kube-linter/Manifest | 2 | ||||
-rw-r--r-- | dev-util/kube-linter/kube-linter-0.3.0.ebuild | 27 | ||||
-rw-r--r-- | dev-util/kube-linter/metadata.xml | 8 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/kube-linter/Manifest b/dev-util/kube-linter/Manifest new file mode 100644 index 000000000000..068f7a4efdaf --- /dev/null +++ b/dev-util/kube-linter/Manifest @@ -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 diff --git a/dev-util/kube-linter/kube-linter-0.3.0.ebuild b/dev-util/kube-linter/kube-linter-0.3.0.ebuild new file mode 100644 index 000000000000..45b858d5153a --- /dev/null +++ b/dev-util/kube-linter/kube-linter-0.3.0.ebuild @@ -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 +} diff --git a/dev-util/kube-linter/metadata.xml b/dev-util/kube-linter/metadata.xml new file mode 100644 index 000000000000..db463f3eeb66 --- /dev/null +++ b/dev-util/kube-linter/metadata.xml @@ -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> |