Skip to content

Commit

Permalink
Merge pull request openshift#1909 from stbenjam/query-variant-registry
Browse files Browse the repository at this point in the history
Feature gate sippy queries to use variant registry
  • Loading branch information
openshift-merge-bot[bot] authored Jul 15, 2024
2 parents b0adfa1 + 5a8b954 commit e9f09d2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/codegen/pkg/sippy/json_types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package sippy

import "fmt"

type SippyQueryStruct struct {
Items []SippyQueryItem `json:"items"`
LinkOperator string `json:"linkOperator"`
Expand Down Expand Up @@ -52,25 +54,25 @@ func QueriesFor(cloud, architecture, topology, testPattern string) []*SippyQuery
ColumnField: "variants",
Not: false,
OperatorValue: "contains",
Value: "techpreview",
Value: "FeatureSet:techpreview",
},
{
ColumnField: "variants",
Not: false,
OperatorValue: "contains",
Value: cloud,
Value: fmt.Sprintf("Platform:%s", cloud),
},
{
ColumnField: "variants",
Not: false,
OperatorValue: "contains",
Value: architecture,
Value: fmt.Sprintf("Architecture:%s", architecture),
},
{
ColumnField: "variants",
Not: false,
OperatorValue: "contains",
Value: topology,
Value: fmt.Sprintf("Topology:%s", topology),
},
{
ColumnField: "name",
Expand Down

0 comments on commit e9f09d2

Please sign in to comment.