Skip to content

Commit

Permalink
per-test-execution: run with set k8s version (#3823)
Browse files Browse the repository at this point in the history
1.32 stable release has happened, but since we don't have a lot of
data for periodics on 1.32 we are fixing the version to
1.31 as there's more data to report over.

Signed-off-by: Daniel Hiller <[email protected]>
  • Loading branch information
dhiller authored Dec 12, 2024
1 parent dbe3e3a commit 73ffca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion robots/cmd/per-test-execution/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 73ffca1

Please sign in to comment.