-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor for argocd Touch up front end: - Use typer to handle env variables (Show in --help and do type casting/sanitising for things like export ENV_VARIABLE=false to read as boolean false) - Dynamic command hiding based on chosen backend and commands implemented - Consistant flow of user inputs for commands through backend rather than a mix of typer ctx, env reads, globals - to support validation, sanitising - Separate frontend (typer) from backend (particular: error handling) - Lazy import of monitor to reduce load time for everytime ec is called Backend work: - Remove docker ("local" backend) and related - Implement an argocd backend - Remove handling of symlink charts for helm commands and replace with shared helm values - Allow changes to shared files to show as a new revision of a service - Only interact with "ec-services" - These are statefulsets which are tagged "ec_service=true" - Use custom errors over "typer error" so that targetted error handling can be done - Add schema validation and type hinting for polars schemas to interface more clear - Add tempfile context manager for file retension at debug and handle case of multiple temp files * Remove some redundancy * Use more portable polars package * Remove system test action * Remove reference to sys action
- Loading branch information
1 parent
302c4fd
commit 748e9a7
Showing
64 changed files
with
1,677 additions
and
2,726 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ dependencies = [ | |
"requests", | ||
"ruamel.yaml", | ||
"jinja2", | ||
"polars", | ||
"polars-lts-cpu", | ||
"textual", | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
import polars | ||
|
||
from ._version import __version__ | ||
|
||
__all__ = ["__version__"] | ||
|
||
# Set formatting of polars tables | ||
polars.Config.set_tbl_hide_column_data_types(True) | ||
polars.Config.set_tbl_hide_dataframe_shape(True) | ||
polars.Config.set_tbl_rows(-1) | ||
polars.Config.set_tbl_cols(-1) | ||
polars.Config.set_fmt_str_lengths(82) | ||
polars.Config.set_tbl_formatting("ASCII_MARKDOWN") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.