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

refactor: Remove pre-flight checks #112

Merged
merged 2 commits into from
May 4, 2023

Conversation

mbeacom
Copy link
Contributor

@mbeacom mbeacom commented May 4, 2023

Summary

This change totally removes the pre-flight checks in favor of guiding the user to evaluate their clusters with something like eksup or other existing cluster upgrade readiness tools.

Additionally, this PR removes pylint in favor of ruff.

Resolves: #113

Changes

Please provide a summary of what's being changed

User experience

No longer providing the --preflight functionality during upgrade or explicitly.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@mbeacom mbeacom self-assigned this May 4, 2023
@mbeacom mbeacom changed the title Remove pre-flight checks and remove pylint in favor of ruff refactor: Remove pre-flight checks and remove pylint in favor of ruff May 4, 2023
@mbeacom mbeacom changed the title refactor: Remove pre-flight checks and remove pylint in favor of ruff refactor: Remove pre-flight checks May 4, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 22.22% and project coverage change: +10.95 🎉

Comparison is base (faf227d) 28.75% compared to head (24cb6d2) 39.71%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #112       +/-   ##
===========================================
+ Coverage   28.75%   39.71%   +10.95%     
===========================================
  Files          14       13        -1     
  Lines        1937     1337      -600     
===========================================
- Hits          557      531       -26     
+ Misses       1380      806      -574     
Impacted Files Coverage Δ
eksupgrade/src/boto_aws.py 10.84% <0.00%> (ø)
eksupgrade/cli.py 23.59% <16.66%> (+0.59%) ⬆️
eksupgrade/__init__.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@quixoticmonk
Copy link
Contributor

quixoticmonk commented May 4, 2023

We should remove the Pre-flights check section in the README or update with the proposal before the version is published.

@bryantbiggs bryantbiggs merged commit 9f0dd11 into aws-samples:main May 4, 2023
@mbeacom mbeacom deleted the remove-preflight branch May 4, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: k8s.gcr.io (registry) hardcoded for cluster-autoscaler
4 participants