projectriff / riff

riff is for functions
https://projectriff.io
Apache License 2.0
799 stars 64 forks source link

Add riff doctor #1331

Closed zhitongLIU closed 5 years ago

zhitongLIU commented 5 years ago

from hack.commit.push Paris

Added command riff doctor to check if the follow namespaces are installed for riff:

like this

➜  riff git:(feature/riff-doctor) ./riff doctor
Installation is OK

or

➜  riff git:(feature/riff-doctor) ./riff doctor
Something is wrong!
missing istio-system
missing knative-build
missing knative-serving
missing riff-system

co-worked from https://github.com/davidthou & https://github.com/zhitongliu

pivotal-issuemaster commented 5 years ago

@zhitongLIU Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-issuemaster commented 5 years ago

@zhitongLIU Thank you for signing the Contributor License Agreement!

codecov[bot] commented 5 years ago

Codecov Report

Merging #1331 into master will increase coverage by 0.28%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1331      +/-   ##
==========================================
+ Coverage   94.72%   95.01%   +0.28%     
==========================================
  Files          52       53       +1     
  Lines        2599     2167     -432     
==========================================
- Hits         2462     2059     -403     
+ Misses        117       88      -29     
  Partials       20       20
Impacted Files Coverage Δ
pkg/riff/commands/doctor.go 100% <100%> (ø)
pkg/riff/commands/riff.go 100% <100%> (ø) :arrow_up:
pkg/k8s/client.go 91.48% <0%> (-0.52%) :arrow_down:
pkg/riff/commands/completion.go 96.87% <0%> (-0.5%) :arrow_down:
pkg/cli/arguments.go 97.61% <0%> (-0.21%) :arrow_down:
pkg/riff/commands/processor_tail.go 100% <0%> (ø) :arrow_up:
pkg/riff/commands/function_tail.go 100% <0%> (ø) :arrow_up:
pkg/riff/commands/stream_create.go 100% <0%> (ø) :arrow_up:
pkg/riff/commands/processor_create.go 100% <0%> (ø) :arrow_up:
pkg/riff/commands/handler.go 100% <0%> (ø) :arrow_up:
... and 43 more

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 e71ab46...a4e7e14. Read the comment docs.

scothis commented 5 years ago

Thanks again