Skip to content

Commit

Permalink
Ensure ROSA jobs are categorized as ROSA not just AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
stbenjam committed Sep 12, 2024
1 parent aa4944e commit 542e6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/variantregistry/ocp.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ func determinePlatform(jLog logrus.FieldLogger, variants map[string]string, jobN
// Platforms
if alibabaRegex.MatchString(jobName) {
platform = "alibaba"
} else if rosaRegex.MatchString(jobName) {
platform = "rosa" // keep above AWS as many ROSA jobs also mention AWS
} else if awsRegex.MatchString(jobName) {
platform = "aws"
} else if azureRegex.MatchString(jobName) {
Expand All @@ -537,8 +539,6 @@ func determinePlatform(jLog logrus.FieldLogger, variants map[string]string, jobN
platform = "openstack"
} else if ovirtRegex.MatchString(jobName) {
platform = "ovirt"
} else if rosaRegex.MatchString(jobName) {
platform = "rosa"
} else if vsphereRegex.MatchString(jobName) {
platform = "vsphere"
}
Expand Down

0 comments on commit 542e6b1

Please sign in to comment.