dist/kubernetes: provide check-source module.

This commit is contained in:
Jimmy Berry 2018-09-06 00:03:29 -05:00
parent 2ecf813cbd
commit ca22d5ea7a
3 changed files with 27 additions and 0 deletions

View File

@ -6,6 +6,8 @@ environments:
server: https://caasp-master.infra.opensuse.org:6443
k8sVersion: v1.8.0
path: heroes
targets:
- check-source
kind: ksonnet.io/app
name: openSUSE-release-tools
version: 0.0.1

View File

@ -0,0 +1,13 @@
{
global: {
cpu: "100m",
memory: "64Mi",
cache: "64Mi",
image: null,
prefix: "check-source",
},
components: {
review: {
},
},
}

View File

@ -0,0 +1,12 @@
local params = std.extVar("__ksonnet/params").components.review;
local review_bot = import '../review_bot.libsonnet';
[
review_bot.parts.cache.base(
params.prefix, params.cache),
review_bot.parts.cron.base(
params.prefix, "review",
"*/3 * * * *", params.cpu, params.memory, params.image,
"osrt-check_source --verbose --group factory-auto review"),
]