diff --git a/github/ci/prow-deploy/files/jobs/kubevirt/kubevirt/kubevirt-periodics.yaml b/github/ci/prow-deploy/files/jobs/kubevirt/kubevirt/kubevirt-periodics.yaml index 6fa386724e..6803045cb0 100644 --- a/github/ci/prow-deploy/files/jobs/kubevirt/kubevirt/kubevirt-periodics.yaml +++ b/github/ci/prow-deploy/files/jobs/kubevirt/kubevirt/kubevirt-periodics.yaml @@ -114,7 +114,7 @@ periodics: - | report_dir="/tmp/per-test-results/last-six-months" mkdir -p "${report_dir}" - go run ./robots/cmd/per-test-execution --months 6 --output-directory "${report_dir}" + go run ./robots/cmd/per-test-execution --kubernetes-version 1.31 --months 6 --output-directory "${report_dir}" gsutil cp "${report_dir}/*" "gs://kubevirt-prow/reports/per-test-results/kubevirt/kubevirt/last-six-months/" command: - /usr/local/bin/runner.sh diff --git a/robots/cmd/per-test-execution/main.go b/robots/cmd/per-test-execution/main.go index 7f4dc26530..cc228b41b3 100644 --- a/robots/cmd/per-test-execution/main.go +++ b/robots/cmd/per-test-execution/main.go @@ -61,7 +61,7 @@ var ( htmlTemplate *template.Template k8sVersionRegex = regexp.MustCompile(`^[0-9]\.[1-9][0-9]*$`) - k8sStableReleaseVersionRegex = regexp.MustCompile(`^v([0-9]\.[1-9][0-9]*)\.[1-9][0-9]*$`) + k8sStableReleaseVersionRegex = regexp.MustCompile(`^v([0-9]\.[1-9][0-9]*)\.(0|[1-9][0-9]*)$`) ) type Config struct {