jina-ai / jcloud

Simplify deploying and managing Jina projects on Jina Cloud
https://docs.jina.ai/concepts/jcloud/
Apache License 2.0
298 stars 13 forks source link

feat(cli): adapt to new api #87

Closed deepankarm closed 1 year ago

deepankarm commented 2 years ago

JCloud CLI for Operator-based API

Deploy a Flow

image

Deploy a Flow (expose Executors & Gateway)

image

Get Flow Status

jc status <flowid>

image

Get Flow Status (Verbose)

jc status <flowid> --verbose

image

List all Flows

jc list --phase all

image

Filter Flows by phase

jc list --phase <Phase>

image

Filter Flows by name

jc list --phase <Phase> --name <Name>

image

Delete a Flow

image

TBD

@jina-ai/team-wolf

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

codecov[bot] commented 1 year ago

Codecov Report

Merging #87 (ce149e4) into main (85ccaee) will decrease coverage by 27.32%. The diff coverage is 23.23%.

@@             Coverage Diff             @@
##             main      #87       +/-   ##
===========================================
- Coverage   49.39%   22.06%   -27.33%     
===========================================
  Files          13       13               
  Lines         820      757       -63     
===========================================
- Hits          405      167      -238     
- Misses        415      590      +175     
Flag Coverage Δ
jcloud 22.06% <23.23%> (-27.33%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
jcloud/parsers/__init__.py 0.00% <0.00%> (ø)
jcloud/parsers/deploy.py 0.00% <ø> (ø)
jcloud/parsers/list.py 0.00% <0.00%> (ø)
jcloud/parsers/status.py 0.00% <0.00%> (ø)
jcloud/api.py 41.33% <8.69%> (+11.92%) :arrow_up:
jcloud/flow.py 30.04% <18.75%> (-56.91%) :arrow_down:
jcloud/constants.py 86.36% <81.25%> (-0.60%) :arrow_down:
jcloud/env_helper.py 17.24% <0.00%> (-55.18%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

github-actions[bot] commented 1 year ago

This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

deepankarm commented 1 year ago

Integration tests: https://github.com/jina-ai/jcloud/actions/runs/3453797552 :heavy_check_mark: