Skip to content
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

gh2gcs: when copying the package to cloud storage use the tag to set the path in the destination #1470

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

cpanato
Copy link
Member

@cpanato cpanato commented Aug 6, 2020

What type of PR is this?

/kind bug

What this PR does / why we need it:

when copying a single tag to cloud storage it was not setting the package in the tag directory. with this fix it set the package in his own directory

Before:
command used: gh2gcs --org kubernetes --repo kubernetes --bucket carlos-test-gcb --release-dir release --tags v1.18.0
Screenshot 2020-08-06 at 13 31 32

After the fix:
command used: gh2gcs --org kubernetes --repo kubernetes --bucket carlos-test-gcb --release-dir release --tags v1.18.0
Screenshot 2020-08-06 at 13 29 25

with multiple tags:
command used: gh2gcs --org kubernetes --repo kubernetes --bucket carlos-test-gcb --release-dir release --tags v1.18.0,v1.16.0,v1.19.0-rc.3

Screenshot 2020-08-06 at 13 30 18

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

gh2gcs: when copying the package to cloud storage use the tag to set the path in the destination

/assign @justaugustus

@k8s-ci-robot k8s-ci-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Aug 6, 2020
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 6, 2020
@k8s-ci-robot k8s-ci-robot added area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. labels Aug 6, 2020
@justaugustus
Copy link
Member

Perfect. Thanks @cpanato!
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 6, 2020
Copy link
Contributor

@hasheddan hasheddan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cpanato, hasheddan, justaugustus

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 8e0a833 into kubernetes:master Aug 6, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Aug 6, 2020
@cpanato cpanato deleted the GH-1320-bug branch August 6, 2020 12:06
@justaugustus justaugustus mentioned this pull request Aug 6, 2020
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants