Skip to content

Commit

Permalink
Better default for jobs names (#1484)
Browse files Browse the repository at this point in the history
Using the search string "nightly-<version>" on job names ensures we don't
get incorrect hits for upgrade jobs (upgrading from <version> )
  • Loading branch information
derekhiggins authored Dec 5, 2022
1 parent ac7ac11 commit e1dee2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/periodics_pass_rates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ done
shift $((OPTIND-1))

ALLJOBSURL="https://raw.githubusercontent.com/openshift/release/master/ci-operator/jobs/openshift/release/openshift-release-master-periodics.yaml"
JOBSTOTEST=$(curl -s $ALLJOBSURL | yq -r ".periodics[] | select(.name | contains(\"metal-ipi\")) | select(.name | contains(\"${1:-periodic}-\")) | .name")
JOBSTOTEST=$(curl -s $ALLJOBSURL | yq -r ".periodics[] | select(.name | contains(\"metal-ipi\")) | select(.name | contains(\"nightly-${1:-}\")) | .name")

function getJobSummary(){
JOB=$1
Expand Down

0 comments on commit e1dee2f

Please sign in to comment.