Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Refactors Flyteadmin to make every command, externally invokable #370

Merged
merged 10 commits into from
Mar 24, 2022

Conversation

kumare3
Copy link
Contributor

@kumare3 kumare3 commented Mar 11, 2022

TL;DR

As we make Flyteadmin ready to be converted to Flyte single binary mode, this refactor make it trivial to encapsulate it in the single binary

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

Issue

flyteorg/flyte#2266

Follow-up issue

NA

kumare3 added 3 commits March 10, 2022 21:49
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Ketan Umare <[email protected]>
@codecov
Copy link

codecov bot commented Mar 11, 2022

Codecov Report

Merging #370 (0e11eb7) into master (1836fb5) will increase coverage by 0.15%.
The diff coverage is 50.00%.

❗ Current head 0e11eb7 differs from pull request most recent head 81d3f7c. Consider uploading reports for the commit 81d3f7c to get more accurate results

@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
+ Coverage   60.32%   60.47%   +0.15%     
==========================================
  Files         150      150              
  Lines       10683    10686       +3     
==========================================
+ Hits         6444     6462      +18     
+ Misses       3544     3526      -18     
- Partials      695      698       +3     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/rpc/adminservice/base.go 3.88% <ø> (+0.17%) ⬆️
pkg/repositories/database.go 46.72% <50.00%> (+8.34%) ⬆️
...implementations/workflow_execution_event_writer.go 80.00% <0.00%> (+40.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1836fb5...81d3f7c. Read the comment docs.

@kumare3 kumare3 changed the title [wip] Refactors Flyteadmin to make every command, externally invokable Refactors Flyteadmin to make every command, externally invokable Mar 24, 2022
@kumare3 kumare3 merged commit f8556cd into master Mar 24, 2022
@kumare3 kumare3 deleted the refactors branch March 24, 2022 23:38
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
#370)

* SQLite support

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

* Move migrate commands

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

* Clusterresource controller refactor

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

* lint fix

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

* test fix

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

* updated

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

* Updated to handle additional servers

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

* lint fix

Signed-off-by: Ketan Umare <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants