-
Notifications
You must be signed in to change notification settings - Fork 75
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
iterate on geranos MVP #155
Conversation
make dry-run configurable, throttle concurrency more, fix keys, skip existing layers by default
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
||
repo, err := name.NewRepository(sourceRegistry) | ||
if err != nil { | ||
return err | ||
} | ||
s3Uploader, err := newS3Uploader() | ||
s3Uploader, err := newS3Uploader(os.Getenv("REALLY_UPLOAD") == "") |
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.
s3Uploader, err := newS3Uploader(os.Getenv("REALLY_UPLOAD") == "") | |
s3Uploader, err := newS3Uploader(os.Getenv("DRY_RUN") != "") |
I'm new here, so maybe this makes more sense to everyone else.
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.
The default for now is to do a dry run. This would invert that default.
dryRun bool | ||
svc *s3.S3 | ||
uploader *s3manager.Uploader | ||
reuploadLayers bool |
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.
Doesn't look like this is used
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.
It is read. It is not yet written.
LGTM /lgtm |
couple quick follow-ups that should be enough to get a test job running:
make dry-run configurable
throttle concurrency more ref #153
fix s3 bucket / keys
skip existing layers by default