Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

bentoctl 1.0 #50

Merged
merged 74 commits into from
Dec 13, 2021
Merged

bentoctl 1.0 #50

merged 74 commits into from
Dec 13, 2021

Conversation

yubozhao
Copy link
Contributor

bentoctl 1.0

Usage:

bentoctl generate/deploy/update/delete

Deployment operator management

bentoctl operators add/remove/list/update

jjmachan and others added 28 commits December 8, 2021 16:00
* fixed small issues

* fixed linting issues

* proper message for OperatorIsLocal exception

* fix: show warning msg when trying to update local operator

* revert registry

* small fixes

* copy over operator directory instead of move

* isort fixes
* formatting

* update test operator config

* move save_deployment_spec to init file

* add nest and list support

TODO:
   refactor prompt_input function

* update test operator config

* move save_deployment_spec to init file

* add nest and list support

TODO:
   refactor prompt_input function

* finishing up nest dict/list feature

* update test operator config

* update

* formatting

* more comments on code

* update messaging for list input
* feature: using gitpython to clone repo

* docs: added doc strings to functions

* build: added GitPython to setup.py

* refactor: revert refactor

* removed duplicate check

* refactor: remove old download functions from utils

* fix: throw exception in the last case for operator update

* fix lint issues

* removed old comment

* fixes
* fix: coerce for list field

* feature: keep order in generated file

* fix: cleanup 'help_message' from operator schema

* fix: pretty print validation errors

* fix: input message
* feature: --debug flag and BENTOCTL_DEBUG env var to set debug mode

* style: flake8
* refactor: removed unused functions in utils

* feature: install dependencies of the operator

* test: dummy requirements.txt for testop

* fix: lint fixes
* tests: for Operator functionality

* fix: don't automatically create deployer directory

* fix: use shutil.copy so that timestamps are not preserved

* tests: for operator.registry

* test: tests for operator utils

* fix: check if operator exists after loading

* refactor: clean unused functions

* test: more tests for utils and registry

* style: fix lint issues

Co-authored-by: Bozhao <yubz86@gmail.com>
* tests: clean out tests

* ci: added github action for unit test

* build: add runs-on arg

* ci: testing multiple OSs

* ci: fixed issue in script

* test: added coverage to requirements

* added coverage

* ci: added coverage in unit testing workflow

* style: formating with black

* test: remove dumpy requirements.txt

* test: skip test for update_operator in macos
* update

* linter

* Update deployment_config.py

* update operator funcs

* update operator class

* update tests

* formatting
* Update README.md

* add readme for operator
* update ci

* fix typo
* fix: added common option to operator group

* style: black formating
* update operators' addresses

* fix test
* use Tag type from bentoml 1.0

* linter
* remove yatai

* linter
* update file option for cli

* formatting

* Update deployment_config.py

* formatting
* fix: remove 'bento' from operator_spec before validating

* style: black8 formating
* Fix bugs and make sure interactive deploy works

* formatting
* fix: return path as string

* test: updated testop deployment functions

* updated operator_config.py

* changed exception name BentoNotFoundError -> BentoNotFound
@yubozhao yubozhao merged commit 9fd9e01 into main Dec 13, 2021
@yubozhao yubozhao deleted the preparing-for-1.0 branch December 13, 2021 05:15
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.

None yet

3 participants