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

prow: rename artifact-uploader to artifactuploader, fix golint errors #10444

Conversation

ibrasho
Copy link
Contributor

@ibrasho ibrasho commented Dec 16, 2018

Split from #10432

Resolves: #9247

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 16, 2018
@k8s-ci-robot
Copy link
Contributor

Hi @ibrasho. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 16, 2018
@k8s-ci-robot k8s-ci-robot added area/label_sync Issues or PRs related to code in /label_sync area/prow Issues or PRs related to prow labels Dec 16, 2018
@ibrasho ibrasho changed the title Rename from artifact-uploader to artifactuploader, fix golint errors prow: rename artifact-uploader to artifactuploader, fix golint errors Dec 16, 2018
@ibrasho ibrasho force-pushed the 9247-fix-prow-golint-artifactuploader branch from 20838e1 to 5c0220b Compare December 17, 2018 01:42
@stevekuznetsov
Copy link
Contributor

stevekuznetsov commented Dec 17, 2018

/hold

Not sure we should rename the directory, it's going to make a lot of work for anyone actually using it and the lint error doesn't warrant that much work from others IMO

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 17, 2018
@ibrasho
Copy link
Contributor Author

ibrasho commented Dec 19, 2018

The package name has to change from artifact_uploader to artifactuploader, so unless the users already use an alias they have to update thier code (even if the path is the same).

@stevekuznetsov
Copy link
Contributor

I think it's also going to change the name of the output binary, etc ... I am just not convinced it is worth it.

@BenTheElder
Copy link
Member

it is quite un-golike to name a package like it currently is. there's no reason we can't put the binary as the same name in the built images anyhow.

@stevekuznetsov
Copy link
Contributor

It is, but asking me to redo deployment specs and scripts and whatnot because go lint complains is a little frustrating. If you want to come refactor all that for me ... ;)

@BenTheElder
Copy link
Member

It is, but asking me to redo deployment specs and scripts and whatnot because go lint complains is a little frustrating. If you want to come refactor all that for me ... ;)

if we symlink it you won't need to redo anything ...

@stevekuznetsov
Copy link
Contributor

/shrug

@k8s-ci-robot k8s-ci-robot added the ¯\_(ツ)_/¯ ¯\\\_(ツ)_/¯ label Dec 21, 2018
@idealhack
Copy link
Member

IMHO maybe we can improve the way of deployment if we are worried about renaming packages.

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 4, 2019
@ibrasho ibrasho force-pushed the 9247-fix-prow-golint-artifactuploader branch from 5c0220b to 463720f Compare January 4, 2019 20:00
@k8s-ci-robot k8s-ci-robot added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Jan 4, 2019
@ibrasho ibrasho force-pushed the 9247-fix-prow-golint-artifactuploader branch from 463720f to 5cd46f2 Compare January 4, 2019 20:01
@k8s-ci-robot k8s-ci-robot added the area/prow/deck Issues or PRs related to prow's deck component label Jan 4, 2019
@cblecker
Copy link
Member

cblecker commented Jan 5, 2019

/uncc

@k8s-ci-robot k8s-ci-robot removed the request for review from cblecker January 5, 2019 01:39
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
@ibrasho ibrasho force-pushed the 9247-fix-prow-golint-artifactuploader branch from 5cd46f2 to c88ec09 Compare January 12, 2019 16:41
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ibrasho
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fejta

If they are not already assigned, you can assign the PR to them by writing /assign @fejta in a comment when ready.

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
Copy link
Contributor

@ibrasho: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 26, 2019
@fejta
Copy link
Contributor

fejta commented Jan 26, 2019

How about we continue publishing the old image with the old binary name (in addition to the new one) but otherwise move the dir?

@stevekuznetsov
Copy link
Contributor

Sure, if there are no user-facing changes that seems fine

@ibrasho
Copy link
Contributor Author

ibrasho commented Jan 28, 2019

@stevekuznetsov : Sure, if there are no user-facing changes that seems fine

Can we define the scope of user-facing changes? Since we renamed the package, I'm not sure we are still behind that boundry. 😁

@stevekuznetsov
Copy link
Contributor

Sure. As an administrator of a Prow cluster, I want to never know this change happened. That means:

  • no changes in location for the binary
  • no changes in name for the binary
  • no changes in name for the image
  • no changes to any deployment YAML

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 30, 2019
@k8s-ci-robot
Copy link
Contributor

@ibrasho: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-test-infra-lint c88ec09 link /test pull-test-infra-lint
pull-test-infra-yamllint c88ec09 link /test pull-test-infra-yamllint

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 2, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closed this PR.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/label_sync Issues or PRs related to code in /label_sync area/prow/deck Issues or PRs related to prow's deck component area/prow Issues or PRs related to prow cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. ¯\_(ツ)_/¯ ¯\\\_(ツ)_/¯
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix prow lint errors
8 participants