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

Backport to 1.2 - Flytekit Auth system overhaul and pretty printing upgrade (#1458) #1525

Merged
merged 3 commits into from
Feb 28, 2023

Conversation

eapolinario
Copy link
Collaborator

@eapolinario eapolinario commented Feb 28, 2023

TL;DR

Backport "Flytekit Auth system overhaul and pretty printing upgrade (#1458)" and a few bookkeeping to release-v1.2

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

This change backports the following commits:

Tracking Issue

https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

* [wip] New authentication system

 - Reuse local keyring better
 - use grpc based auth system

Signed-off-by: Ketan Umare <[email protected]>

* Better error handling and printing, better exception handling and
retrying

Signed-off-by: Ketan Umare <[email protected]>

* Delete legacy files

Signed-off-by: Ketan Umare <[email protected]>

* add missing None

Signed-off-by: Ketan Umare <[email protected]>

* keyring removed

Signed-off-by: Ketan Umare <[email protected]>

* added insecure_skip_verify

Signed-off-by: Ketan Umare <[email protected]>

* test fixed

Signed-off-by: Ketan Umare <[email protected]>

* Test fixed

Signed-off-by: Ketan Umare <[email protected]>

* Auth update

Signed-off-by: Ketan Umare <[email protected]>

* updated test

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* flush buffer instead of closing, was getting a weird stack trace. make the image smaller

Signed-off-by: Yee Hing Tong <[email protected]>

* updated ca-cert logic

Signed-off-by: Ketan Umare <[email protected]>

* Fixed unit tests

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* test fix

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* nest raise if exc

Signed-off-by: Yee Hing Tong <[email protected]>

* added keyring.alt for tests

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* updated

Signed-off-by: Ketan Umare <[email protected]>

* Lint

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Yee Hing Tong <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Ketan Umare <[email protected]>
Co-authored-by: Ketan Umare <[email protected]>
Co-authored-by: Ketan Umare <[email protected]>
Co-authored-by: Yee Hing Tong <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release-v1.2@d75c800). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 54e66cb differs from pull request most recent head 8f2d633. Consider uploading reports for the commit 8f2d633 to get more accurate results

@@               Coverage Diff               @@
##             release-v1.2    #1525   +/-   ##
===============================================
  Coverage                ?   69.08%           
===============================================
  Files                   ?      314           
  Lines                   ?    28760           
  Branches                ?     2324           
===============================================
  Hits                    ?    19870           
  Misses                  ?     8361           
  Partials                ?      529           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

eapolinario and others added 2 commits February 28, 2023 10:07
* Remove mentions to spark

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove mentions to requirements.txt and dev-requirements.txt

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove plugins requirements.

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove all_requirements target from plugins makefile

Signed-off-by: Eduardo Apolinario <[email protected]>

* Use dev-requirements.in in lint gh action job

Signed-off-by: Eduardo Apolinario <[email protected]>

* Revert "Remove all_requirements target from plugins makefile"

This reverts commit 50cbb4d.

Signed-off-by: Eduardo Apolinario <[email protected]>

* Revert "Remove plugins requirements."

This reverts commit eae945c.

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
* Remove mentions to spark

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove mentions to requirements.txt and dev-requirements.txt

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove plugins requirements.

Signed-off-by: Eduardo Apolinario <[email protected]>

* Remove all_requirements target from plugins makefile

Signed-off-by: Eduardo Apolinario <[email protected]>

* Use dev-requirements.in in lint gh action job

Signed-off-by: Eduardo Apolinario <[email protected]>

* Revert "Remove all_requirements target from plugins makefile"

This reverts commit 50cbb4d.

Signed-off-by: Eduardo Apolinario <[email protected]>

* Revert "Remove plugins requirements."

This reverts commit eae945c.

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
@eapolinario eapolinario merged commit bacbbf8 into release-v1.2 Feb 28, 2023
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.

3 participants