Skip to content

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

Merged
eapolinario merged 3 commits into
release-v1.2from
backport-1.2--new-auth
Feb 28, 2023
Merged

Backport to 1.2 - Flytekit Auth system overhaul and pretty printing upgrade (#1458)#1525
eapolinario merged 3 commits into
release-v1.2from
backport-1.2--new-auth

Conversation

@eapolinario

@eapolinario eapolinario commented Feb 28, 2023

Copy link
Copy Markdown
Collaborator

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 <ketan.umare@gmail.com>

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

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Delete legacy files

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* add missing None

Signed-off-by: Ketan Umare <ketanumare@Ketans-MBP.home>

* keyring removed

Signed-off-by: Ketan Umare <ketanumare@Ketans-MacBook-Pro.local>

* added insecure_skip_verify

Signed-off-by: Ketan Umare <ketanumare@Ketans-MacBook-Pro.local>

* test fixed

Signed-off-by: Ketan Umare <ketanumare@Ketans-MBP.UNION.AI>

* Test fixed

Signed-off-by: Ketan Umare <ketanumare@Ketans-MBP.UNION.AI>

* Auth update

Signed-off-by: Ketan Umare <ketanumare@Ketans-MBP.UNION.AI>

* updated test

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* updated

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

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

Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>

* updated ca-cert logic

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Fixed unit tests

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* updated

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* test fix

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* updated

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* nest raise if exc

Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>

* added keyring.alt for tests

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* updated

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* updated

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>

* Lint

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

---------

Signed-off-by: Ketan Umare <ketan.umare@gmail.com>
Signed-off-by: Ketan Umare <ketanumare@Ketans-MBP.home>
Signed-off-by: Ketan Umare <ketanumare@Ketans-MacBook-Pro.local>
Signed-off-by: Ketan Umare <ketanumare@Ketans-MBP.UNION.AI>
Signed-off-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: Ketan Umare <ketanumare@Ketans-MBP.home>
Co-authored-by: Ketan Umare <ketanumare@Ketans-MacBook-Pro.local>
Co-authored-by: Ketan Umare <ketanumare@Ketans-MBP.UNION.AI>
Co-authored-by: Yee Hing Tong <wild-endeavor@users.noreply.github.com>
Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
@codecov

codecov Bot commented Feb 28, 2023

Copy link
Copy Markdown

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 <eapolinario@users.noreply.github.com>

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

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Remove plugins requirements.

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Remove all_requirements target from plugins makefile

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

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

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Revert "Remove all_requirements target from plugins makefile"

This reverts commit 50cbb4d.

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Revert "Remove plugins requirements."

This reverts commit eae945c.

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

---------

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
* Remove mentions to spark

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

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

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Remove plugins requirements.

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Remove all_requirements target from plugins makefile

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

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

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Revert "Remove all_requirements target from plugins makefile"

This reverts commit 50cbb4d.

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

* Revert "Remove plugins requirements."

This reverts commit eae945c.

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>

---------

Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
@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