-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update doc for how to re-run an action with another RBE instance. #590
Conversation
This CL update the readme file to show how to re-run an action on another RBE instance. This CL also fix the flag conflict issue, for execute_action, one and only one of these two flags should be set: [--action_root=PATH|--digest=DIGEST].
go/README.md
Outdated
permission to download actions from `FOO`, but lack of permission to don't have | ||
the permission to execute an action with instance `FOO`). In this case, you want |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
permission to download actions from `FOO`, but lack of permission to don't have | |
the permission to execute an action with instance `FOO`). In this case, you want | |
permission to download actions from `FOO`, but don't have | |
the permission to execute that instance). In this case, you want |
go/pkg/tool/embeddedtool.go
Outdated
log.Exitf("either specify --digest or --action_root, should not set both of them together.") | ||
} | ||
if inputDigest == "" && actionRoot == "" { | ||
log.Exitf("either specify --digest or --action_root, at least one of these two flag must be set.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.Exitf("either specify --digest or --action_root, at least one of these two flag must be set.") | |
log.Exitf("either specify --digest or --action_root, one of these two flag must be set, but not both.") |
go/pkg/tool/embeddedtool.go
Outdated
@@ -157,3 +159,13 @@ func getPathFlag() string { | |||
} | |||
return pathPrefix | |||
} | |||
|
|||
func validateActionRootAndDg() (string, string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: validate
implies no return values, but validation can be expected as a side effect for a function that does return values.
func validateActionRootAndDg() (string, string) { | |
func inputDgAndActionRoot() (string, string) { |
This CL update the readme file to show how to re-run an action on another RBE instance. This CL also fix the flag conflict issue, for execute_action, one and only one of these two flags should be set: [--action_root=PATH|--digest=DIGEST].
This CL update the readme file to show how to re-run an action on another RBE instance.
This CL also fix the flag conflict issue, for execute_action, one and only one of these two flags should be set: [--action_root=PATH|--digest=DIGEST].