Skip to content

Commit

Permalink
community: add test, lint and coverage jobs
Browse files Browse the repository at this point in the history
Based on PR kubevirt/community#368
where new make targets test, lint and coverage are introduced we are
adding new presubmit jobs that execute them.

Signed-off-by: Daniel Hiller <[email protected]>
  • Loading branch information
dhiller committed Dec 13, 2024
1 parent e5af80c commit ed06551
Showing 1 changed file with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,72 @@ presubmits:
memory: "1Gi"
limits:
memory: "1Gi"
- always_run: false
cluster: kubevirt-prow-control-plane
decorate: true
extra_refs:
- org: kubevirt
repo: project-infra
base_ref: main
name: pull-community-make-lint
run_if_changed: "generators/.*|validators/.*|pkg/.*"
spec:
containers:
- args:
- make lint
command:
- "/usr/local/bin/runner.sh"
- "/bin/sh"
- "-ce"
image: quay.io/kubevirtci/golang:v20241206-ae344ab
resources:
requests:
memory: "1Gi"
limits:
memory: "1Gi"
- always_run: false
cluster: kubevirt-prow-control-plane
decorate: true
extra_refs:
- org: kubevirt
repo: project-infra
base_ref: main
name: pull-community-make-test
run_if_changed: "generators/.*|validators/.*|pkg/.*"
spec:
containers:
- args:
- make test
command:
- "/usr/local/bin/runner.sh"
- "/bin/sh"
- "-ce"
image: quay.io/kubevirtci/golang:v20241206-ae344ab
resources:
requests:
memory: "1Gi"
limits:
memory: "1Gi"
- always_run: false
cluster: kubevirt-prow-control-plane
decorate: true
extra_refs:
- org: kubevirt
repo: project-infra
base_ref: main
name: pull-community-make-coverage
run_if_changed: "generators/.*|validators/.*|pkg/.*"
spec:
containers:
- args:
- make coverage
command:
- "/usr/local/bin/runner.sh"
- "/bin/sh"
- "-ce"
image: quay.io/kubevirtci/golang:v20241206-ae344ab
resources:
requests:
memory: "1Gi"
limits:
memory: "1Gi"

0 comments on commit ed06551

Please sign in to comment.