Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: hubble support env variables (#5023)
* feat: add command line arguments --build-env * fix: add env variable check func * fix: call the correct method * refactor: optimize code * fix: fix regex of env var * refactor: remove useless reference packages from files * style: fix overload and cli autocomplete * refactor: use global import style * fix: remove useless func and fix the test parameter * refactor: optimize parameter names of func * test: improve hubio test * fix: fix the test of test hubio * refactor: add docstring of func * test: optimization test * test: add test for hubio push api * test: improve test of hubio * fix: fix hub pull install requirements need to replace environment variable * test: improve test of hubio and have remove test token * style: use single quotes and remove print * style: improve the imported way of dependency * feat: support the env variables can consist of number * refactor: optimization function description and remove unnecessary function calls * fix: add expand_env_variables in install requirements * refactor: optimized code and function comments * docs: add documentation about supporting build env when you use jina hub push * docs: improve the docs fo hub push * refactor: optimize command line prompts * docs: polish documentation for jina hub push * docs: polish * docs: add mutli env variables * docs: polish Co-authored-by: Jina Dev Bot <dev-bot@jina.ai> Co-authored-by: Zhaofeng Miao <522856232@qq.com>
- Loading branch information
1 parent
1240453
commit 6cc4497
Showing
14 changed files
with
441 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
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.