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
Vaibhav Agrawal
90e601a51e
Fix: inconsistent dry-run behavior with non-existent namespaces in CLI vs app.yaml ( #6896 )
2025-09-17 03:10:10 +08:00
Rashid Alam
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
Brian Kane
a27261bd14
Feature: Enhanced Status Reporting ( #6828 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-06 09:55:30 -07:00
Vishal Kumar
b5a9925042
Chore: upgrade Kubernetes dependencies to v0.31.10 & enhance CLI, workflows, tests, and documentation ( #6837 )
...
* Create testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Delete testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Chore: (deps): Bump goreleaser/goreleaser-action from 5.0.0 to 6.3.0 (#6775 )
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 5.0.0 to 6.3.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](7ec5c2b0c6...9c156ee8a1 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: Replace the openssf badge with UI link (#6783 )
[optional body]
[optional footer]
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: moves dockerhub user name to secret section in the reusable workflow (#6778 )
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* 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 >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: moves resource modification inside patch block (#6791 )
* fix: moves resource modification inside patch block
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: adds changes from make-reviewable
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging error
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: updates the helm outdated path to new one
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* tests: fixes the failing helm test case
Signed-off-by: semmet95 <singhamitch@outlook.com >
* removes debugging printing statements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush <ayushshyam.official.888@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: switches to new oapi type field type (#6794 )
* chore: switches to new oapi type field type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk_test to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates schema to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: changes from make reviewable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: fixes linting errors
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: fixes schema type nil check
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: replaces literals with constants
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: switches to the new addon registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: extra line removal
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: replaces deprecated urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: removes extra quotes form marshaljson
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart url in mock resource
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: vela cli namespace behaviour (#6805 )
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: vela up command to behave similarly with kubectl (#6809 )
* Fix: vela up command to behave similarly with kubectl
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Chore: Update the unit test cases and add a new test cases
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: check component status after initial deployment (#6824 )
* fix: check component status after initial deployment
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: applications should correctly reflect component health throughout the apps lifecycle
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: check component status after initial deployment
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Mikhail Elenskii <elenskii-mikhail@outlook.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* chore: upgrade k8s version to v0.31.10 and corresponding fixes
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: remove defer from feature gate testing in multiple test files
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* fix: remove defer from feature gate testing in multiple test files
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: use RunPortForwardContext for improved context handling in port forwarding
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: Fix check-diff
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Chore: Update ENVTEST_K8S_VERSION variable
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* fix: update feature gate testing to use GinkgoT for improved context handling
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: update Kubernetes version in e2e tests to v1.31
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: increase timeout for application revision retrieval in multicluster tests
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: update kubevela workflow to master
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: increase timeout in multicluster tests
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: upgrade dependencies and improve context handling in port forwarding
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: remove space to trigger pipeline
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: add space to trigger pipeline
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: updated go sum
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: updated go.mod for running github action
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: updated go.mod for running github action
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: increase timeout and enhanced multicluster tests
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* adding a comment to re run the pipeline
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Adding back decription removed during check-diff
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* ran make reviewable
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* replaced generate-groups.sh with kube_codegen.sh
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* API Call changes for kube_codegen
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* fixed incorrect Api package path format and output dir handling
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* resolved incompatible dependencies issue
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* chore: update clientgen.sh to use kubevela clientgen_work_temp
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* chore: update clientgen.sh to use kubevela clientgen_work_temp
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* test: increase timeout for application deployment and rollback verification
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
---------
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anoop Gopalakrishnan <2038273+anoop2811@users.noreply.github.com >
Co-authored-by: Ayush Kumar <65535504+roguepikachu@users.noreply.github.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush <ayushshyam.official.888@gmail.com >
Co-authored-by: Chaitanyareddy0702 <78363486+Chaitanyareddy0702@users.noreply.github.com >
Co-authored-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Co-authored-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Mikhail Elenskii <elenskii-mikhail@outlook.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
2025-07-31 07:46:56 -07:00
Chaitanyareddy0702
b601d28afd
Fix: vela up command to behave similarly with kubectl ( #6809 )
...
* Fix: vela up command to behave similarly with kubectl
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Chore: Update the unit test cases and add a new test cases
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <co@guidewire.com >
2025-06-23 21:25:45 -07:00
Chaitanyareddy0702
7d72fa904c
Fix: vela cli namespace behaviour ( #6805 )
2025-06-17 10:25:59 +08:00
Amit Singh
4d6fa58c0f
Chore: switches to new oapi type field type ( #6794 )
...
* chore: switches to new oapi type field type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk_test to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates schema to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: changes from make reviewable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: fixes linting errors
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: fixes schema type nil check
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: replaces literals with constants
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: switches to the new addon registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: extra line removal
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: replaces deprecated urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: removes extra quotes form marshaljson
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart url in mock resource
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2025-06-15 20:44:58 -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
shivin
a1145f21fe
Fix: update apps with topology policy during cluster join ( #6768 )
...
* functionality to get all application with a topology in cluster
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* refactor code and unit tests
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* refactor code and unit tests
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* rearrange imports
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* remove calling of goroutine
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* update logic to set publich version annotation
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* removed unused constants
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* make reviewable
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* add license info for cluster_test.go
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* ignore errors in updateAppsWithTopologyPolicy
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* modify error message
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* gofmt
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* add retry logic to handle conflict errors
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* using cmd to print and add log for retried applications
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* using context as first argument
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* log namespace in error
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* optimize retry logic
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* add pagination for listing applications
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
Co-authored-by: vishal210893 <vishal210893@gmail.com >
2025-05-01 14:31:11 +05:30
PushparajShetty
78c0b2c04e
Chore: update go and golangci version ( #6767 )
...
* update go and golangci version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci_lint version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci_lint version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml and formating in go files
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml and formating in go files
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated makefile step
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* fix formatting issue
Signed-off-by: Gowtham S <gowthams316@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updated ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgraded go/x/crypto to v0.37.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* go/kin-openapi version to v0.118.0 and go/x/net version upgraded to v0.39.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgrades go/x/oauth2 version to v0.29.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* update ginkgo test
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgrades alpine image version to 3.21
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updates ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Signed-off-by: Gowtham S <gowthams316@gmail.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
2025-04-29 03:46:08 +08:00
PushparajShetty
262daacb63
fix the initilization for trait in output section ( #6762 )
...
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
2025-04-18 10:21:54 +05:30
Amit Singh
793ba55455
fix: switches to new helm repo url ( #6694 )
...
CodeQL / Analyze (go) (push) Failing after 2m2s
Definition-Lint / definition-doc (push) Failing after 7m6s
E2E MultiCluster Test / detect-noop (push) Successful in 25s
E2E Test / detect-noop (push) Successful in 35s
Go / detect-noop (push) Successful in 17s
license / Check for unapproved licenses (push) Failing after 2m49s
Registry / publish-core-images (push) Failing after 55s
Unit-Test / detect-noop (push) Successful in 23s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 2m27s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m37s
Go / staticcheck (push) Successful in 19m8s
Go / lint (push) Failing after 19m44s
Go / check-diff (push) Failing after 15m16s
Go / check-core-image-build (push) Failing after 4m5s
Go / check-cli-image-build (push) Failing after 3m1s
Unit-Test / unit-tests (push) Failing after 13m10s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 51s
Signed-off-by: Chitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
2025-02-20 20:41:12 +05:30
Kanchan Dhamane
bc15e5b359
Feat: Semantic versioning support for Definitions ( #6648 )
...
CodeQL / Analyze (go) (push) Failing after 1m43s
Definition-Lint / definition-doc (push) Failing after 6m13s
E2E MultiCluster Test / detect-noop (push) Successful in 24s
E2E Test / detect-noop (push) Successful in 17s
Go / detect-noop (push) Successful in 21s
license / Check for unapproved licenses (push) Failing after 2m38s
Registry / publish-core-images (push) Failing after 40s
Unit-Test / detect-noop (push) Successful in 20s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m55s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m18s
Go / staticcheck (push) Successful in 18m35s
Go / lint (push) Failing after 19m38s
Go / check-diff (push) Failing after 15m7s
Go / check-core-image-build (push) Failing after 3m45s
Go / check-cli-image-build (push) Failing after 2m23s
Unit-Test / unit-tests (push) Failing after 12m43s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 48s
* feature: Add Semantic versioning to KubeVela Definitions
Fixes https://github.com/kubevela/kubevela/issues/6435
Fixes https://github.com/kubevela/kubevela/issues/6534
Changes:
- Adds an optional "Version" field for all Definition Specs.
- Adds the following new validations to Webhooks for Definitions:
- Validate the "Version" field follows Semantic versioning.
- Dis-allow conflicting versioning fields ( Name annotation, Spec.Version)
- Adds the following new validations to Webhooks for Application:
- Dis-allow the use of both the "publishVersion" & "autoUpdate" annotations.
- Enahnce "multiStageComponentApply" feature to support auto updates.
Boy Scout Changes:
- Fixes Plugin e2e tests broken by the fix for 6534.
- Fixes the dryRun and livediff commands to respect the "-n" namespace flag.
- Fixes the Application ValidationWebhook to respect the "-n" namespace flag.
Co-authored-by: Rahul Kumar <35751394+bugbounce@users.noreply.github.com >
Co-authored-by: Chaitanya Reddy <chaitanyareddy0702@gmail.com >
Co-authored-by: Vibhor Chinda <vibhorchinda@gmail.com >
Co-authored-by: Shivin Gopalani <gopalanishivin@gmail.com >
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
* feature: Add KEP to define the proposal
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
* fix: Rebase and fix merge conflicts
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
* Fix: Adds unit test cases
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
---------
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
Co-authored-by: bugbounce <35751394+bugbounce@users.noreply.github.com >
2025-02-03 11:09:28 +08:00
Ai Ranthem
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
HongKuang
903f3dfe44
chore: fix function name in comment ( #6499 )
...
Signed-off-by: hongkuang <liurenhong@outlook.com >
2024-12-03 14:50:37 +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
YoungLH
b1d62aa6ca
Fix: Correct spelling of "application" in deletion message ( #6626 ) ( #6628 )
...
Previously, the deletion message for applications contained a typo where "application" was misspelled as "appplication". This commit corrects the spelling to "application" in the message:
- Before: "Start deleting appplication %s/%s\n"
- After: "Start deleting application %s/%s\n"
This change improves the clarity of the output message when deleting applications.
Signed-off-by: YoungLH <974840768@qq.com >
2024-09-27 14:10:17 +08:00
Tianxin Dong
4f8bf44684
Refactor: use cuex engine ( #6575 )
...
* refactor: use cuex engine
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix static check and sdk tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix testdata
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix docgen parser
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix cuegen
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: delete useless print
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set client for ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix mt tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set kubeclient in generator
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use pass kube client
Signed-off-by: FogDong <fog@bentoml.com >
* fix: simplify ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add wf debug back
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add loader
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-27 17:44:20 +08:00
Vibhor Chinda
79bf139958
Cleaned/Deleted the worklows after every test case ( #6565 )
...
Signed-off-by: vchinda <vchinda@guidewire.com >
Co-authored-by: vchinda <vchinda@guidewire.com >
2024-07-03 16:12:53 +08:00
Tianxin Dong
82dad1ebbb
Chore: update go version to 1.22 ( #6560 )
...
* chore: update go version to 1.22
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: update static check tool
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add debug
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr to fix dockerhub rate limit
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr for addons
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add more timeout for e2e multicluster test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix e2e addon image
Signed-off-by: FogDong <fog@bentoml.com >
* fix: test addon terraform version
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix admission image
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix terraform version
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-03 16:10:56 +08:00
Daniel Higuero
1a001e5b29
Address GolangCI lint 1.55 errors ( #6453 )
...
Signed-off-by: Daniel Higuero <daniel@napptive.com >
2024-02-07 17:27:32 +08:00
Tyler Gillson
86dc53afab
Fix: load local ComponentDefinitions recursively ( #6414 )
...
* fix: load local componentdefinitions recursively
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
* test: add dry-run offline def dir test
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
* test: fix unit tests
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
---------
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
2024-01-04 08:47:59 -08:00
Mcduller
d3581b9189
Fix: fix the vela show error when format the output markdown ( #6356 )
...
Signed-off-by: Mcduller <1596582524@qq.com >
2023-09-25 14:34:37 +08:00
Anoop Gopalakrishnan
a07acc02c9
Feat: Add command to list all workflows in vela-cli ( #6326 )
...
- fixes #6326
Signed-off-by: Muralicharan Gurumoorthy <muralicharan.gurumoorthy@gmail.com >
Co-authored-by: Muralicharan Gurumoorthy <muralicharan.gurumoorthy@gmail.com >
2023-09-20 10:19:08 +08:00
qiaozp
94cbcad471
Chore: tidy appHandler ( #6300 )
2023-08-28 11:01:33 +08:00
yyzxw
15c0b1e218
Feat: enable unknown flags ( #6303 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-08-27 17:20:25 +08:00
意琦行
faf5502fae
fix: hide msg when no cluster uninstall ( #6294 )
2023-08-25 12:27:40 +08:00
Pranav
c315e81757
Fix: Print command output using stdout channel #6268 ( #6273 )
...
Co-authored-by: Priyanaka Kotturi
2023-08-22 09:55:20 +08:00
qiaozp
bab5bb2caf
Refactor: capabilities and workload in appfile parsing ( #6250 )
2023-08-10 14:41:20 +08:00
qiaozp
00ae0c9494
Feat: support offline dryrun with deploy step ( #6234 )
2023-07-26 18:09:01 +08:00
qiaozp
dabaf03e73
Chore: swtich between old and new registry in vela install ( #6173 )
...
* Chore: swtich between old and new registry in vela install
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add comments
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* minor fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-07-04 12:15:30 +08:00
iyear
64e4ab813d
Fix: top command abnormal render ( #6174 )
...
* Fix: top command abnormal render
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: imports
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: gomod
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-07-04 12:09:02 +08:00
Somefive
48cf6fb10e
Fix: vela install chart switch place ( #6153 )
...
* Fix: vela install chart switch place
Signed-off-by: Somefive <Somefive@foxmail.com >
* Fix: test case replace url
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
---------
Signed-off-by: Somefive <Somefive@foxmail.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-06-29 17:48:12 +08:00
StevenLeiZhang
90246065d9
Fix: vela dry-run can not render Applicaiton, if x-definition(Compnent/Trait) is not installed to vela-system namespace ( #6135 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-06-27 23:08:23 +08:00
Somefive
c4f14ad261
Fix: remove forbid redirect for http get ( #6147 )
2023-06-21 13:46:44 +08:00
Somefive
257695f073
Fix: addon registry use kubevela.github.io and support redirect ( #6133 )
2023-06-20 16:30:27 +08:00
StevenLeiZhang
28004bc26f
Fix: vela top crash, when view Application topology ( #6127 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-06-18 10:20:46 +08:00
Somefive
a513029ec8
Fix: vela addon registry add allow redirect ( #6120 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-14 14:22:12 +08:00
zhaohuiweixiao
95fa62164a
Fix: addon status list addon info error when there are mulitiple registries ( #6073 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-13 10:34:52 +08:00
Somefive
f1bae16723
Chore: remove schematic kube and helm ( #6099 )
...
* Chore: remove unused code
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove schematic Kube & Helm
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-12 10:41:02 +08:00
Somefive
c255d21ad6
Chore: remove unnecessary go mod ( #6093 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-08 15:32:57 +08:00
Somefive
f15eba2c5f
Chore: remove legacy rollout and scope ( #6068 )
...
* Chore: remove legacy rollout & scope
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* remove outdated params
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 10:57:38 +08:00
Somefive
eb4b1a8161
Fix: vela def vet can be used without Kubernetes ( #6063 )
2023-06-01 14:15:45 +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
Somefive
057441bc76
Chore: set CLI verbose output to be hidden by default ( #6016 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-30 14:53:41 +08:00
Somefive
ef4bb07fb3
Chore: remove dm ( #6036 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 13:54:35 +08:00
Somefive
4d81ba8909
Feat: support force resource location with dispatch ( #6033 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 10:18:50 +08:00
Somefive
e109d4e525
Chore: upgrade kubebuilder installation in unit-test ci ( #6018 )
...
* Chore: upgrade kubebuilder installation in unit-test ci
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* upgrade ingress in kuebuilder test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-23 14:46:22 +08:00
caiqi1111
3a933780de
Fix: add cluster information for vela adopt help ( #6015 )
...
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
2023-05-22 16:32:33 +08:00