-
Notifications
You must be signed in to change notification settings - Fork 168
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
mantle/ore: gcloud: clean up upload.go, stop mutating image name #1322
mantle/ore: gcloud: clean up upload.go, stop mutating image name #1322
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.
Re the second commit message, I don't think we ever needed it, I think it's just what we did. The code was introduced in d98ec2e and it might be good to link to that commit message for context.
- Don't try to detect or set defaults for bucket, name, or file arguments. - Don't try to set a default prefix/path to use in GS buckets
Before this commit if I try to upload to gs://mybucket/fedora-coreos my image name would get rewritten to append the path `fedora-coreos` into the image name. For example: - `fedora-coreos-31-20200404-dev-1-gcp-x86-64` turns into - `fedora-coreos-fedora-coreos-31-20200404-dev-1-gcp-x86-64` This was introduced in d98ec2e and doesn't seem to be needed. Let's rework it so that transformation doesn't happen.
bfb094c
to
32b0062
Compare
cc @cgwalters - any issues with that second commit for the RHCOS pipeline? |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bgilbert, cgwalters, dustymabe 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 |
Some cleanup in here to remove CL specific bits and change the code from mutating the image name on upload. See the individual commit messages for more info.