Skip to content

Commit

Permalink
Merge pull request #559 from perftool-incubator/dev-kmr
Browse files Browse the repository at this point in the history
add basic support for accepting --registries-json to rickshaw-run
  • Loading branch information
k-rister authored Oct 29, 2024
2 parents a3ca520 + 3f0ffa1 commit d301b67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rickshaw-run
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ $SIG{'INT'} = sub {

sub usage {
print "\nusage:\n\n";
print "--registries-json Path to a JSON file containing container registry information\n";
print "--json-validator Path to json schema validation utility\n";
print "--engine-dir Directory where the engine project exists\n";
print "--workshop-dir Directory where workshop project exists\n";
Expand Down Expand Up @@ -1518,6 +1519,7 @@ sub process_cmdline() {
$arg =~ /^run-id$|^id$|^bench-params$|^tool-params$|^bench-params$|^max-rb-attempts$/ or
$arg =~ /^test-order$|^tool-group$|^num-samples$|^max-sample-failures$|^name$|^bench-ids$/ or
$arg =~ /^reg-(auth|repo)$/ or
$arg =~ /^registries-json$/ or
$arg =~ /^email$|^desc$/) {
debug_log(sprintf "argument: [%s]\n", $arg);
$run{$arg} = $val;
Expand Down
3 changes: 3 additions & 0 deletions schema/run.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
"type": "string",
"pattern": "^.+$"
},
"registries-json": {
"type": "string"
},
"reg-auth": {
"type": "string",
"pattern": "^.+$"
Expand Down

0 comments on commit d301b67

Please sign in to comment.