Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vela-cli support use "vela system cue-packages" to list cue-package #1417

Merged
merged 5 commits into from
Apr 8, 2021

Conversation

yangsoon
Copy link
Collaborator

@yangsoon yangsoon commented Apr 5, 2021

fix #1404

use vela system cue-packages to show what are the inner packages supported in cluster

$ vela system cue-packages
Definition-Name                 Import-Path                                      Usage                                                      
#Event                          kube/events.k8s.io/v1beta1                      Kube Object for events.k8s.io/v1beta1.Event                                 
#Event                          k8s.io/events/v1beta1                           Kube Object for events.k8s.io/v1beta1.Event                                 
#RolloutTrait                   kube/standard.oam.dev/v1alpha1                  Kube Object for standard.oam.dev/v1alpha1.RolloutTrait                      
#PodSpecWorkload                kube/standard.oam.dev/v1alpha1                  Kube Object for standard.oam.dev/v1alpha1.PodSpecWorkload                   
#CustomResourceDefinition       k8s.io/apiextensions/v1                         Kube Object for apiextensions.k8s.io/v1.CustomResourceDefinition            
#CustomResourceDefinition       kube/apiextensions.k8s.io/v1beta1               Kube Object for apiextensions.k8s.io/v1beta1.CustomResourceDefinition 

@codecov
Copy link

codecov bot commented Apr 5, 2021

Codecov Report

Merging #1417 (b6a1a96) into master (4b25ed4) will decrease coverage by 3.30%.
The diff coverage is n/a.

❗ Current head b6a1a96 differs from pull request most recent head 0acaad2. Consider uploading reports for the commit 0acaad2 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1417      +/-   ##
==========================================
- Coverage   54.74%   51.44%   -3.31%     
==========================================
  Files          76       81       +5     
  Lines        7306     8013     +707     
==========================================
+ Hits         4000     4122     +122     
- Misses       2820     3390     +570     
- Partials      486      501      +15     
Flag Coverage Δ
unittests 51.44% <ø> (-3.31%) ⬇️

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

Impacted Files Coverage Δ
...aits/traitdefinition/traitdefinition_controller.go 51.42% <0.00%> (-25.72%) ⬇️
...dev/v1alpha2/application/application_controller.go 52.63% <0.00%> (-2.00%) ⬇️
pkg/oam/util/helper.go 67.19% <0.00%> (-1.97%) ⬇️
...am.dev/v1alpha2/applicationconfiguration/render.go 86.17% <0.00%> (-0.17%) ⬇️
...plicationconfiguration/applicationconfiguration.go 83.63% <0.00%> (-0.07%) ⬇️
...ntroller/common/rollout/rollout_plan_controller.go 0.00% <0.00%> (ø)
...ev/v1alpha2/applicationrollout/mutating_handler.go 0.00% <0.00%> (ø)
...n/rollout/workloads/cloneset_rollout_controller.go 0.00% <0.00%> (ø)
pkg/controller/common/rollout/workloads/common.go 94.73% <0.00%> (ø)
...mon/rollout/workloads/cloneset_scale_controller.go 0.00% <0.00%> (ø)
... and 7 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 4b25ed4...0acaad2. Read the comment docs.

Copy link
Collaborator

@wonderflow wonderflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a doc for it.

Copy link
Collaborator

@wonderflow wonderflow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wonderflow wonderflow merged commit 7dec0af into kubevela:master Apr 8, 2021
@wonderflow wonderflow deleted the fix-vela-system branch April 8, 2021 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request for CLI command "vela system cue-packages" to list inner CUE packages supported by KubeVela
2 participants