-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor error log for
manager api
(#689)
* chore: refactor log * fix: custom log by conf * feat: add error log * fix default config * fix CI fail * fix: should not save log to file by default * test: add test case * test: add test case * fix CI fail * fix error * fix CI * fix error * fix according to reviews * test: more test cases * fix error * chore: use `/dev/stdout` as default log file path * fix typo * fix docker for logs dir * fix CI fail * fix: delete useless files * fix: change file name
- Loading branch information
Showing
22 changed files
with
334 additions
and
299 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test CLI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- v2.0 | ||
pull_request: | ||
branches: | ||
- master | ||
- v2.0 | ||
|
||
jobs: | ||
run-test: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
etcd: | ||
image: bitnami/etcd:3.4.13 | ||
ports: | ||
- 2379:2379 | ||
- 2380:2380 | ||
env: | ||
ALLOW_NONE_AUTHENTICATION: yes | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: run test | ||
working-directory: ./api | ||
run: sudo ./test/shell/cli_test.sh |
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 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 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
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.