-
Notifications
You must be signed in to change notification settings - Fork 50
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
ci-tools: Add rtool subcommand to download artifact #1643
base: main
Are you sure you want to change the base?
Conversation
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.
LGTM; a minor nit and cleanup suggestion (but I understand that converting to flag
is probably out of scope for htis PR).
|
This is useful to keep the runner images up-to-date.
err = hello.DownloadArtifact(ctx, client, os.Args[4], os.Args[5]) | ||
if err != nil { | ||
log.Fatal(err) | ||
} |
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
err = hello.DownloadArtifact(ctx, client, os.Args[4], os.Args[5]) | |
if err != nil { | |
log.Fatal(err) | |
} | |
if err = hello.DownloadArtifact(ctx, client, os.Args[4], os.Args[5]); err != nil { | |
log.Fatal(err) | |
} |
This is useful to keep the runner images up-to-date.