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

Shellcheck bash scripts #726

Closed
justaugustus opened this issue May 30, 2019 · 17 comments
Closed

Shellcheck bash scripts #726

justaugustus opened this issue May 30, 2019 · 17 comments
Assignees
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/release Categorizes an issue or PR as relevant to SIG Release.
Milestone

Comments

@justaugustus
Copy link
Member

The release repo has several bash scripts that could likely do with some linting.
Let's:

/sig release
/area release-team
/help
/good-first-issue
/kind cleanup
/priority important-longterm

@k8s-ci-robot k8s-ci-robot added sig/release Categorizes an issue or PR as relevant to SIG Release. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels May 30, 2019
@pswica
Copy link
Contributor

pswica commented May 30, 2019

I would love to help with this, if that would be okay. I might need some additional guidance as I'm still fairly new to the release architecture.

@justaugustus
Copy link
Member Author

@pswica -- sounds good! I'll put some additional pointers on this issue when I have a moment.

@justaugustus
Copy link
Member Author

/remove-help
/remove-area release-team
/area release-eng

@k8s-ci-robot k8s-ci-robot added area/release-eng Issues or PRs related to the Release Engineering subproject and removed help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. labels May 31, 2019
@k8s-ci-robot
Copy link
Contributor

@justaugustus: Those labels are not set on the issue: area/release-team

In response to this:

/remove-help
/remove-area release-team
/area release-eng

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.

@pswica
Copy link
Contributor

pswica commented May 31, 2019

Cool thank you so much for taking the time to do that. I'll read over your notes, and keep reading the source code, and then start on this. Thanks again

@pswica
Copy link
Contributor

pswica commented Jun 1, 2019

Thanks again for letting me work on this and being open to providing guidance. I think looking around I'm starting to understand the scope of this--the release process is so cool! Please let me know if I'm on the right track.

Points 1&2: Easy (just mkdir and copy file over)
Point 3: Add a job here: https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/release/release-config.yaml. Provide this job with a tag we can use. This script will just be a simple bash script that runs shellcheck on all the .sh files here.
Point 4: I guess here I may need some guidance. What type of updating should I do (totally rewrite all the scripts based on shellchecker's results)?
Point 5. Have the job contain always_run: true

Can you let me know what else I'm missing?

@pswica
Copy link
Contributor

pswica commented Jun 21, 2019

I gave this another look after doing some contributions to sig-cli and getting the hang of contributing. I think I can do this now

@justaugustus
Copy link
Member Author

With #740 merged, we're well on our way with this!
Assigning to @pswica, as he's made some excellent progress here and is now an org member :)

/assign @pswica
/milestone v1.16

@pswica
Copy link
Contributor

pswica commented Jun 28, 2019

My first assignment !

@pswica
Copy link
Contributor

pswica commented Jul 2, 2019

That should be all of them. After these get finalized, reviewed, merged, etc. I'll make one last PR for any left (if needed) and then I will make a PR to make verify always-run that closes this issue.

@pswica
Copy link
Contributor

pswica commented Jul 2, 2019

/close

@k8s-ci-robot
Copy link
Contributor

@pswica: Closing this issue.

In response to this:

/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.

@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 Oct 2, 2019
@hoegaarden
Copy link
Contributor

/remove-lifecycle stale

While this is IMHO not a pressing issue, making our shell scripts better should be a long term prio.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 28, 2019
@justaugustus
Copy link
Member Author

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Oct 28, 2019
@justaugustus
Copy link
Member Author

Obsoleted by #918.
/close

@k8s-ci-robot
Copy link
Contributor

@justaugustus: Closing this issue.

In response to this:

Obsoleted by #918.
/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/release-eng Issues or PRs related to the Release Engineering subproject kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
None yet
Development

No branches or pull requests

5 participants