You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// make a body with "admin-user": {encryptedToken}, "source": {source}, "sha": {sha}, "workloads": workloads, "numberOfExecutions": {numberOfExecutions}}
// keyMinimumVitessVersion is used to define on which minimum Vitess version a given
55
56
// benchmark should be run. Only the major version is counted. This key/value is located
@@ -95,7 +96,8 @@ type Server struct {
95
96
sourceFilter []string
96
97
excludeSourceFilter []string
97
98
98
-
ghApp*github.App
99
+
ghApp*github.App
100
+
ghTokenSaltstring
99
101
100
102
requestRunKeystring
101
103
@@ -119,6 +121,7 @@ func (s *Server) AddToCommand(cmd *cobra.Command) {
119
121
cmd.Flags().StringSliceVar(&s.sourceFilter, flagFilterBySource, nil, "List of execution source that should be run. By default, all sources are ran.")
120
122
cmd.Flags().StringSliceVar(&s.excludeSourceFilter, flagExcludeFilterBySource, nil, "List of execution source to not execute. By default, all sources are ran.")
121
123
cmd.Flags().StringVar(&s.requestRunKey, flagRequestRunKey, "", "Key to authenticate requests for custom benchmark runs.")
124
+
cmd.Flags().StringVar(&s.ghTokenSalt, flagGhAuth, "", "The salt string to salt the GitHub Token")
0 commit comments