Skip to content

Commit

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

Signed-off-by: Daniel Hiller <[email protected]>
  • Loading branch information
dhiller committed Dec 12, 2024
1 parent 73ffca1 commit 838b994
Showing 1 changed file with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,49 @@ 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"

0 comments on commit 838b994

Please sign in to comment.