Rashid Alam and GitHub
6fbeb6887f
Fix(cli): return non-zero exit code on vela def render error ( #6818 )
...
* fix exit code on render error
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
* minor changes
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
* fix error catch logic
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
---------
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
2025-09-03 06:00:58 +08:00
a5606b7808
Chore: (deps): Update k8s to 1.29 ( #6654 )
...
CodeQL / Analyze (go) (push) Failing after 6m23s
Definition-Lint / definition-doc (push) Failing after 3m8s
E2E MultiCluster Test / detect-noop (push) Successful in 6s
E2E Test / detect-noop (push) Successful in 3s
Go / detect-noop (push) Successful in 2s
license / Check for unapproved licenses (push) Failing after 18s
Registry / publish-core-images (push) Failing after 1m4s
Unit-Test / detect-noop (push) Successful in 20s
Sync SDK / sync_sdk (push) Failing after 3m9s
Go / staticcheck (push) Successful in 6m17s
Go / check-diff (push) Failing after 19m4s
Go / check-core-image-build (push) Failing after 5m44s
Go / check-cli-image-build (push) Failing after 3m31s
Unit-Test / unit-tests (push) Failing after 13m54s
Go / lint (push) Failing after 1h53m27s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 1m27s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Has been cancelled
E2E Test / e2e-tests (v1.29) (push) Has been cancelled
Go / check-windows (push) Has been cancelled
* chore: update k8s to 1.29
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: unit test
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: e2e
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint and e2e test
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* test(e2e): increase timeout
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix e2e and scripts
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* make reviewable
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* rollback a unnecessary ut change
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* update go.mod to import merged workflow
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
---------
Signed-off-by: phantomnat <w.nattadej@gmail.com >
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
Co-authored-by: phantomnat <w.nattadej@gmail.com >
2025-01-03 07:54:42 +08:00
Tianxin Dong and GitHub
0f780dec75
Feat: add new providers and fix definitions ( #6599 )
...
* feat: add new providers and fix definitions
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix definitions and tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint and helm
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix definitions
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add multicluster
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix e2e
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix dynamic client for cli
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix api gen
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-10-01 12:29:44 +05:30
iyear and GitHub
e5b9dca03c
Feat: support def gen-doc command ( #5975 )
...
* Feat: support def gen-doc command
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: ci error
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: typo
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-12 14:24:49 +08:00
iyear and GitHub
01e4dcb667
Feat: only print to stdout ( #5958 )
2023-05-10 14:17:16 +08:00
iyear and GitHub
e675cdafc4
Feat: add vela def gen-cue command ( #5956 )
...
* Feat: add vela def gen-cue command
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: golangci-lint G304 error
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: remove useless stat
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: remove useless log
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: type alias
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-05 20:26:13 +09:00
Mcduller and GitHub
eba40ab20d
Feat: support vela def vet the input "dir" and many cue files ( #5806 )
...
* Feat: support vela def vet the input "dir" and many cue files
Signed-off-by: Mcduller <1596582524@qq.com >
* Feat: support vela def vet the input "dir" and many cue files
Signed-off-by: Mcduller <1596582524@qq.com >
---------
Signed-off-by: Mcduller <1596582524@qq.com >
2023-04-07 14:12:37 +08:00
qiaozp and GitHub
8ff77c4486
Feat: SDK generating framework ( #5431 )
2023-02-21 15:54:44 +08:00
my-git9 and GitHub
2fb0633354
cleanup ioutil for newer go version ( #5238 )
...
Signed-off-by: xin.li <xin.li@daocloud.io >
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-29 19:34:45 +08:00
3e57246740
Feat: support vela def apply for directory ( #4142 )
...
Co-authored-by: ivyilike <pww123@cmbchina.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-24 16:34:13 +08:00
Jianbo Sun and GitHub
b24e7523d8
Feat: generate docs for reference automatically ( #4377 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: refactor hardcode example to embd.FS
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: refactor doc gen for general types
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: update generate format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: generate terraform reference docs
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: add definition reference generate script
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: refine output format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: remove dup annotation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: update doc
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add i18n support
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: add translation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: add policy definition gen
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add compatibility for lable Annotation change
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add more tests
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: allow mark example doc url on annotation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: align vela show with vela def doc-gen, add vela def show equals with vela show
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-18 19:22:55 +08:00
Charlie Chiang and GitHub
da5282a15d
Feat: show or list revisions in vela def get and vela show ( #4307 )
...
* Feat: support --version when getting definitions
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for vela show
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-06 15:41:00 +08:00
Charlie Chiang and GitHub
370940070b
Feat: filter definitions by which addon installed them ( #4156 )
...
* Feat: filter by source addon in `vela def list`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: change header year to 2022
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use generic filters for extensibility
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: change variable addonFilter to addonName
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: update tests according to code changes
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: unify SearchDefinition params using filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: simplify tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: remove redundant code
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests with multiple filters
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: show SOURCE-ADDON column in `def list`, if any
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add addon filter to apiserver definition-lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: fix lint issues
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Chore: update swagger doc accordingly
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for filter Applying
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add a helper function to apply filters to lists
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add OwnerAddon to DefinitionBase
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for OwnerAddon field
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add addon util tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-06-29 10:55:50 +08:00
Zheng Xi Zhou and GitHub
7bfcd6acc5
Fix: don't override user definied region ( #3503 )
...
* Fix: don't override user definied `region`
Fix #https://github.com/oam-dev/kubevela/issues/3384
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix check-diff
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix UT
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* revert some changes
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-09 15:10:31 +08:00
Zheng Xi Zhou and GitHub
75dc45ced6
Fix: add providerRef in generated ComponentDefinition ( #3142 )
...
If the provider is not provider, append the providerRef section in
the generated ComponentDefinition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-24 10:27:37 +08:00
Zheng Xi Zhou and GitHub
947455adb9
Fix: support generate Terraform ComponentDefinition from local HCL file ( #3132 )
...
Besides generating a Terraform ComponentDefinition from a remote git repo,
support generate one from local HCL file
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-20 14:15:22 +08:00
Zheng Xi Zhou and GitHub
b354d2faa9
Fix: generate Terraform ComponentDefinition by vela cli ( #3067 )
...
* Fix: generate Terraform ComponentDefinition by vela cli
Support generate Terraform typed ComponentDefinition by `vela def init`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-10 19:12:32 +08:00
Zheng Xi Zhou and GitHub
1a50dd76b5
Fix: generate docs for Terraform ComponentDefinition ( #3051 )
...
* Fix: generate docs for Terraform ComponentDefinition
Generated kubevela.io docs for Terraform typed ComponentDefinition
with `vela def gen-doc xxx` cli.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Refactor code
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* refine cloud resource title
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-10 14:08:48 +08:00
barnettZQG and GitHub
d4762e09cd
Feat: support query endpoints in status command and speed up CLI response ( #3052 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-07 15:49:27 +08:00
Jianbo Sun and GitHub
8495465087
Refactor: refine cli commands && align kubectl-vela with vela && use getnamespaceAndEnv for all ( #3048 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-06 13:29:02 +08:00
qiaozp and GitHub
94f32a317d
Feat: support addon definition in cue format ( #2896 )
...
* move def func to pkg
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* split def schema render
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* render CUE definition
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2021-12-09 20:31:19 +08:00
Eng Zer Jun and GitHub
426aa7af34
Refactor: move from io/ioutil to io and os package ( #2234 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <zerjun@beatchain.co >
2021-09-06 18:33:42 +08:00
Jianbo Sun and GitHub
0781937100
Fix: align all CUE template keyword to use parameter ( #2181 )
2021-08-30 11:43:20 +08:00
Somefive and GitHub
51669f0e41
enable vela def to use import decl ( #2084 )
...
* enable vela def to use import decl
* fix def_test
* add comment
* add more test
2021-08-13 18:44:01 +08:00
Somefive and GitHub
d7a31c4cb3
fix configmap patchkey bug ( #2080 )
2021-08-12 19:10:51 +08:00
Somefive and GitHub
ee0282af18
[Vela CLI] Vela def enhancement & replace mergedef.sh ( #2031 )
...
* draft vela def enhancement
* add format and amend test
* fix generation bugs
* force CI
* work around lifecycle definition in avoid of vela show --web crash
* fix data race in envbinding
2021-08-06 17:10:52 +08:00
2aa31a9f2b
[Vela CLI Tool] Add vela def ( #1949 )
...
* add vela edit
* vela def group commands
* 1. change scheme of definition cue
2. add vela def tests
3. reformat
* fix render template bugs
* add definition examples (migrated from serverless iac)
* retrigger github ci
Co-authored-by: Yin Da <yinda@B-2943Q05P-1738.local >
2021-08-03 18:00:49 +08:00