Ayush Kumar
36f217e258
Feat: webhook reject unknown cr outputs ( #6932 )
...
* feat: implement output resource existence validation in component, trait, and policy definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add validation tests for ComponentDefinition and TraitDefinition outputs
- Implement tests for ComponentDefinition with non-existent CRDs in outputs, ensuring they are rejected.
- Add tests for valid outputs in ComponentDefinition, confirming acceptance.
- Include tests for mixed valid and non-K8s outputs in ComponentDefinition, verifying they pass validation.
- Test handling of empty outputs in ComponentDefinition, ensuring they are accepted.
- Introduce tests for invalid apiVersion formats in ComponentDefinition, confirming rejection.
- Add tests for TraitDefinition with mixed valid and invalid outputs, ensuring proper rejection.
- Create YAML manifests for valid and invalid ComponentDefinitions and TraitDefinitions to support e2e tests.
- Ensure comprehensive coverage of edge cases in output validation logic.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
fix: handle errors in resource validation for component, trait, and policy definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
fix: improve error handling in Go module tidy and resource validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add webhook debugging setup and validation tests for ComponentDefinition and TraitDefinition
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add VS Code launch configuration for debugging webhook validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
refactor: streamline error handling in Go module tidy and remove obsolete test manifests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add mock context support for CUE template compilation
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance validation for WorkflowStepDefinition resources and improve output resource checks
Signed-off-by: viskumar <viskumar@guidewire.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: implement resource validation for CUE templates and add unit tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance logging and validation for component, policy, and trait definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: improve error handling and logging in validation handlers for component, policy, trait, and workflow step definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Remove testUnknownResource folder from repository
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: implement structured logging for validation handlers and remove deprecated request_logger
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance structured logging and error handling in admission validation handlers
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: improve logging messages in validating handlers for better clarity
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: refactor logging field definitions for consistency and improve error handling in resource validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
chore: add license header to invalid_resource_check.go and invalid_resource_check_test.go
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance validation tests for WorkflowStepDefinition and improve error messages
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add e2e-test-local target for k3d cluster setup and webhook validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add webhook configuration for workflow step definitions with validation rules
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: update e2e-test-local configuration and improve Ingress API version compatibility
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add installation of FluxCD CRDs in pre-hook to prevent webhook validation errors
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add ValidateResourcesExist feature gate and enhance resource validation in webhook handlers
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance resource validation in e2e tests and improve addon definition checks
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance addon definition detection by using owner references for validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add ValidateResourcesExist feature gate and implement webhook validation for resource existence
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: update Ingress API version to v1 and adjust service references in tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
chore: remove webhook test commands and related YAML files from makefiles and tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
chore: remove architecture section from webhook debugging guide
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: update webhook setup script with k3d host gateway IP note and improve cluster creation logic
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Fix: Correct path in Ingress resource definition in template tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Chore: add empty line to re-trigger failing workflow
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: remove space to re-trigger workflow
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Amit Singh <amisingh@guidewire.com >
2025-09-30 09:30:53 -07:00
Ayush Kumar
ad9cda63c9
Chore: update helm repo path in tests ( #6797 )
...
* chore: fixes the breaking tests with older helm chart address
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* tests: update the registery url
Signed-off-by: semmet95 <singhamitch@outlook.com >
* updates the default url
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: reverts the changes
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: sets github repo directory as the default definition registry
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: reverts the default definition registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* test: overwrites custom definition registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-06-13 07:13:25 -07:00
jguionnet
af7f623cba
Feat: added support for stateful set ( #6638 )
...
* StatefulSet Draft
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* First running version
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Add generated component definition
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Adding an statefulset example inline with the component doc
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Adjustment to an example defining a simplistic statefulset and trait
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Fix PR Review comments
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* After running make reviewable and more ...
Signed-off-by: jguionnet <jguionnet@guidewire.com >
---------
Signed-off-by: jguionnet <jguionnet@guidewire.com >
2025-04-12 07:17:21 +08:00
Tianxin Dong
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
shreyas pandya
e3f0a6006d
Fix(docs): documentation where schematic for component definition refers to kube ( #6579 )
...
* cue structure implemented
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
* indent fix
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
* Fix(docs): correct example by changing schematic from kube to cue
- fixes #6436
Signed-off-by: Shreyas <pandyashreyas1@gmail.com >
---------
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
Signed-off-by: Shreyas <pandyashreyas1@gmail.com >
Co-authored-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
2024-07-15 14:27:44 +05:30
qiaozp
057e640ce2
Chore: remove migrated swagger json ( #6075 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-06-05 10:08:42 +08:00
Somefive
dd899c2b39
Chore: remove outdated apis(v1alppha2 ApplicationConfiguration Component, and HealthScope, Rollout) ( #6041 )
...
* remove outdated api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix rt test: no component rt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* recover context.revision to component hash
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-01 09:32:49 +08:00
StevenLeiZhang
801c630c61
Fix: sample yaml of Trait storage does not work ( #5679 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-03-16 10:00:30 +08:00
barnettZQG
df1fe1dedd
Feat: add the updating the application trigger API ( #5382 )
...
* Feat: add the updating the application trigger API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: imported more than once
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-31 17:11:21 +08:00
barnettZQG
97ce8ba500
Feat: add the API that rollbacks the application ( #5273 )
...
* Feat: add the API that rollbacks the application
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: use the klog/v2 package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-05 17:45:42 +08:00
barnettZQG
340059989b
Feat: enhance the workflow restful APIs ( #5252 )
...
* Feat: enhange the workflow restful APIs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the workflow record status is empty
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some logs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-04 09:56:36 +08:00
Jianbo Sun
467e7c992b
Chore: Cleanup useless examples ( #5067 )
...
* Chore: remove appdeployment examples as it's already deprecated
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: remove approllout docs as it's already deprecated
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: remove kubecon 2020 demo as it's not worked due to deprecation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: remove unused Observability Implementation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-15 14:02:13 +08:00
barnettZQG
7f1a9010dc
Chore: update the API schema ( #4992 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-11-04 12:00:04 +08:00
qiaozp
23cbc9c91f
Feat: implement pipeline APIs ( #4908 )
...
* add context when run pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Feat: implement pipeline API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Extract get log logic and implement getPipelineRunLog API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Init and delete pipeline contexts
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix panic
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Allow not specifying context
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* change pipeline to path parameter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add permission check filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* project -> projects in route
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix route conflict
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add project alias
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Feat: change the list pipeline API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: filter the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the error of the run APi
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* fix log pipeline run API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix lint, fix the error of log api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix error returning
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the lable to annotation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* remove log config not found error
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix pipeline list api return no context info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: create the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* get pipeline lastrun info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* allow query single step output
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* organize code in api layer
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix project filter, add context value when get pp run, extend lastRun
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix get output and implement get input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the last run
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* if query sub-step outout, return it directly
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the run stats
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the output
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* flatten the input/output api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* more info for i/o vars
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix nested i/o struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add fromStep in input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add e2e test skeleton
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add more e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use db to store pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* keep the last 5k lines of log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use stern param to keep last lines of logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* filter, nil labels, spec check
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* empty res, index, detail param
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix e2e test and unit test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add context e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* goimports
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add more test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* review
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove optional tag in returned value, unify the imports name
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add stop test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* more coverage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* single case selct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* optimize log color
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add default permission and role
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix permission ut
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* change the log api implementation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add color, add container order
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix filter nil will cut all log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* longer timeout and lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-31 23:59:04 +08:00
朱晓兵
c4a0c1480d
Feat: enhance the apply-once capability ( #4874 )
...
* Feat: enhance the apply-once capability
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: add unit-test
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: add doc
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com >
Signed-off-by: 朱晓兵 <596908030@qq.com >
2022-10-25 21:15:21 +08:00
ZhongsJie
1e3759bb25
Feat: add feature docs and controller parameters for MultiStageComponentApply ( #4873 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-10-25 14:51:26 +08:00
qiaozp
dc7d791127
Feat: pipeline API for apiserver ( #4840 )
2022-10-17 20:11:06 +08:00
barnettZQG
49ed837f97
Feat: support to manage the configs by the CLI, UI, and workflow. ( #4794 )
...
* Feat: support to manage the integrations by the CLI and the workflow
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the xml
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the unit test for the nacos writer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the integration API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: make the provider commands to be deprecated
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the unit test work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: rename the integration to the config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: make the unit test cases work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: refactor the config commands
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the distribution status for the config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: sort the import packages
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: get the content format before render the content
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add some examples
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the command test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add the definitions of the workflow step
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some tests
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some tests
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: retry the CI
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: refine some words
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-17 17:15:45 +08:00
Somefive
ac52f4aba8
Chore: remove manualscaler ( #4716 )
...
* chore: remove manualscaler CRD define in apis/
Signed-off-by: arcosx <arcosx@outlook.com >
* chore: remove manualscaler CRDs yaml in charts/
Signed-off-by: arcosx <arcosx@outlook.com >
* chore: remove manual scaler design in design/
Signed-off-by: arcosx <arcosx@outlook.com >
* chore: remove manual scaler code in doc/ hack/ legacy/ references/
Signed-off-by: arcosx <arcosx@outlook.com >
* chore: remove manual scaler code in pkg/ test/ vela-templates/
Signed-off-by: arcosx <arcosx@outlook.com >
* chore: fix some code
Signed-off-by: arcosx <arcosx@outlook.com >
* Chore: remove manualscaler in test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove outdated tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove outdated tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: arcosx <arcosx@outlook.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Co-authored-by: arcosx <arcosx@outlook.com >
2022-09-14 16:28:09 +08:00
TIEDPAG
e37b0276c8
Feat: support addon helm repo skip tls verify ( #4122 ) ( #4146 )
...
* Feat: support addon helm repo skip tls verify (#4122 )
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: mv http server to BeforeSuite
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix ci error
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix merge
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Feat: support addon helm repo skip tls verify (#4122 )
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: mv http server to BeforeSuite
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix ci error
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix ci
Signed-off-by: damianqin <damianqin@tiedpag.club >
Co-authored-by: damianqin <damianqin@tiedpag.club >
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-19 18:00:28 +08:00
Jianbo Sun
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
barnettZQG
a519a6c89d
Feat: optimize the dry run feature ( #4364 )
...
* Feat: optimize the dry run feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the bcode
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change some names
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-18 14:01:11 +08:00
Zheng Xi Zhou
557f7197b5
Fix: examples on how to use cloud resources ( #3385 )
...
Added RDS and OSS examples to show to use cloud resources
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-07-18 10:18:42 +08:00
Tianxin Dong
eed081fd6f
Fix: fix volumes duplicate in list ( #4387 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-15 20:09:44 +08:00
Charlie Chiang
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
Somefive
9c7d3f408d
Feat: support shared resource ( #4213 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 10:56:27 +08:00
Tianxin Dong
72ac218982
Feat: add timeout and if examples ( #4226 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-06-23 10:30:24 +08:00
maoyangLiu
dc0c194833
fix typo mistake ( #4186 )
2022-06-15 19:05:08 +08:00
Tianxin Dong
65f17bf37f
Fix: fix the dependency gc policy to reverse dependency ( #4063 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-05-30 19:27:43 +08:00
barnettZQG
6eb7af9aea
Feat: add the creating and deleting permission APIs ( #4026 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-27 17:41:29 +08:00
ZhongsJie
39d5ce48dc
Feat: add affinity trait to merge node and pod affinity ( #3973 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-05-27 17:36:39 +08:00
zq200618
260c831df2
Fix: step group documentation update and bug fix of firstExecuteTime not record ( #3975 )
...
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Fix: step group documentation update and bug fix of firstExecuteTime not record
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Co-authored-by: Qiang Zheng <zhengq20018@cmbchina.com >
2022-05-27 11:25:38 +08:00
barnettZQG
09ce919b2b
Feat: Refactoring the API Server module for better layering ( #3945 )
...
* Feat: Refactoring the API Server module for better layering
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix the lint errors
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-05-23 12:17:28 +08:00
zq200618
7d9c647b1a
Feat: support step group with substep in the workflow ( #3772 )
...
Signed-off-by: zhengq2006 <zhengq200618@cmbchina.com >
workflow substep develop
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
Feat: support step group with substep in the workflow
Signed-off-by: Qiang Zheng <zhengq20018@cmbchina.com >
2022-05-23 10:26:21 +08:00
Zheng Xi Zhou
334446c264
Feat: support force delete Terraform typed application ( #3929 )
...
* Feat: support force delete Terraform typed application
If a Terraform typed application hangs on deletion, it could be forced to
delete by command line `vela delete xxx --force`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix copyright
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Upgrade terraform controller api version
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add one more tests
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix two unit-tests
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-20 18:17:10 +08:00
Siege Lion
9436e7ffa0
Fix: fix a spelling error of velaQL usage document ( #3932 )
2022-05-19 20:53:51 +08:00
Xiangbo Ma
fc078bbd93
Feat: extend apply-once to allow specified path configuration to drift ( #3899 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-05-17 16:29:16 +08:00
StevenLeiZhang
f7687e3506
Fix: update API document ( #3915 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-05-17 11:53:29 +08:00
Xiangbo Ma
93841b479a
Feat: Add example doc for controlPlaneOnly ( #3810 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-05-06 14:33:52 +08:00
Zhiyu Wang
7f23165ee5
Feat: deploy user info ( #3744 )
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
2022-05-05 17:22:40 +08:00
Jianbo Sun
755ccad654
Chore: update some docs to the new org url ( #3792 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-04-29 15:59:29 +08:00
barnettZQG
7b2f4af610
Feat: add some APIs to manage the definitions ( #3749 )
...
* Feat: add a api for update the ui schema
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add an API to change the definition status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change cache key
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the error words
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-27 14:23:05 +08:00
Zhiyu Wang
cdc1550e17
Feat: apiserver definition alias ( #3721 )
...
Signed-off-by: Zhiyu Wang <zhiyuwang.newbis@gmail.com >
2022-04-24 18:03:55 +08:00
Tianxin Dong
7eb0002692
Feat: add sequential in gc policy ( #3701 )
...
* Feat: add sequential in gc policy
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* tidy the code
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add suite test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add example docs and update the field
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change the name to dependency
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-22 16:34:07 +08:00
ZhongsJie
49646ddc8e
Feat: enhance storage trait to support multi-mountToEnv config Signed-off-by: Shijie Zhong <zhongsjie@cmbchina.com> ( #3657 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-04-14 19:34:12 +08:00
Kunshuai Zhu
0c35753530
Feat: allow select resource by resource type for gc policy ( #3598 )
...
* Feat: allow select resource by resource type for gc policy
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Modify match label key
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Unified label key
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
2022-04-12 18:51:07 +08:00
Zheng Xi Zhou
5f7371815c
Feat: add api of listing configs for project when creating a target ( #3581 )
...
* Feat: add api of listing configs for project
In a project, list configs by its type
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix ci
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add query parameter definition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Update pkg/apiserver/rest/webservice/project.go
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-11 19:05:18 +08:00
Zheng Xi Zhou
966dbc1c74
Feat: add config management apis ( #3562 )
...
* Feat: add config management apis
Added some APIs for config management
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix check-diff
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix ci issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix config sync
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix static check
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix sync
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Fix: sync config bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-04-01 00:15:03 +08:00
wyike
8ff93b33e2
Feat: add helm repo list endpoint ( #3564 )
...
* add helm repo list
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commit
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* build swagger
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-31 17:18:54 +08:00
Somefive
a5c2edf777
Feat: allow select resource by component name for gc policy ( #3539 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-29 14:00:50 +08:00