Bryan Leong
358e46e628
Style: clean up dry-run ( #7007 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 13m45s
- Remove trailing whitespace on dryrun outputs
- Fixed the relevant plugin-test outputs
- Refactor to avoid partial lines that codecov flags out
Signed-off-by: Bryan Leong <leong.bryan@gmail.com >
2025-12-16 11:18:14 +00:00
Chaitanyareddy0702
90ed704cff
Refactor: update workflow-related types to use v1alpha1 API ( #6975 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 17m1s
* refactor: update workflow-related types to use v1alpha1 API
- Changed the workflow mode in ApplicationBuilder from v1beta1 to v1alpha1.
- Updated WorkflowStep and WorkflowSubStep constructors to use the new v1alpha1 types.
- Modified the TypedApplication interface to reflect the new workflow mode.
- Adjusted WorkflowStepBase and WorkflowSubStepBase to utilize v1alpha1 inputs and outputs.
- Commented out unused WorkflowSubStep registration for future consideration.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update Inputs and Outputs types to use v1alpha1 API in GoDefModifier
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: remove commented-out code for AddInput and AddOutput in genBaseSetterFunc
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update ApplicationBuilder to use apis package for components, steps, and policies
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: remove unused WorkflowSubStep related code and update WorkflowStep reference to use v1alpha1 API
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* feat: add support for WorkflowSubStep registration and handling in GoDefModifier
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update import path for WorkflowStepBase in GoDefModifier
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update import path for WorkflowStep in DefinitionKindToStatement
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update WorkflowSubStep references to use WorkflowStepBase from v1alpha1 API
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: simplify subSteps generation in GoDefModifier by directly appending WorkflowStepBase
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: nest properties under WorkflowStepBase in GoDefModifier for WorkflowStep definitions
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: remove toolchain version from go.mod
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Run: make reviewable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: enhance application auto-update test to wait for application revisions
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-11-18 08:47:44 +00:00
Ayush Kumar
89ff116f8e
Fix: E2E Application Test (live-diff application version) ( #6976 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 27s
* refactor: Simplify application auto-update test by removing unnecessary reconciliation waits
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* feat: Add e2e application tests with k3d and webhook validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: Remove unnecessary blank line in application auto-update test
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Add k3d cleanup step after running application tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
2025-11-11 14:24:30 +00:00
Ayush Kumar
0485704cd7
Fix: Prevent namespace admins from accessing vela-system definitions without explicit permissions ( #6972 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 34s
* fix: add admission rules for applications and improve permission checks
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* test: enhance application auto-update tests with reconciliation checks
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: enhance application auto-update test to verify application revision creation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-11-10 08:14:41 +00:00
Chaitanyareddy0702
af1fb9a0fd
Feat: Allow gating with components dependsOn field ( #6854 )
...
* Fix: Add workflow dynamically when user doesn't define workflow steps but adds dependsOn in the component
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: modify ApplyComponentWorkflowStepGenerator Generate function
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: Add test cases for the component level dependsOn feature
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* <type>: <description> <jira number>
[optional body]
[optional footer]
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Refactor component dependency tests and improve failure handling
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Update environment context handling in application tests and adjust repository name check in setup script
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Chore: Remove .sh file
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Update component dependency test cases and adjust timeout for application status check
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Clean up environment setup in component dependency tests
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Update component dependency images to use latest version and adjust test cases
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: uncomment tests
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: update failing database image to empty string to simulate pull failure
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Co-authored-by: Reetika Malhotra <rmalhotra@guidewire.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2025-08-22 09:00:21 -07:00
Amit Singh
8b7950cf61
Chore: upgrades kind version ( #6853 )
...
* chore: upgrades ga versions
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in definition lint
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in go workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in sdk test workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in e2e test workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* test: updates fluxcd negative test case criteria
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* test: debugging e2e test failures
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: update action versions in workflow files
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Use hash instead of version in github actions
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: fix newline at end of file in README.md
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
* test: increase timeout for application update checks in multicluster standalone tests
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
Co-authored-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush <ayushshyamkumar888@gmail.com >
2025-08-22 08:55:37 -07:00
Jonatas Teixeira
853a077107
Fix(parser) - The app.Spec.Policies[idx].Name must be a valid string ( #6723 )
...
* Fix(parser) - Valid value must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Increase waiting to prevent test start before port-forwared be finished
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Adjust the time
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Increase waiting to prevent test start before port-forwared be finished - By using gomega
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Change vela command to get app status
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
---------
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
2025-03-25 02:28:45 +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
Somefive
2298dd73dc
Feat: revert ci to kind ( #6035 )
...
* Feat: revert ci to kind
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* feat: use internal runner
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix test bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 17:49:44 +08:00
Somefive
d59b116d06
Feat: upgrade ginkgo to v2 ( #5940 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-15 16:07:51 +08:00
dependabot[bot]
258a1abcdd
Chore: (deps): Bump github.com/briandowns/spinner from 1.11.1 to 1.23.0 ( #5824 )
2023-04-28 09:25:14 +00:00
qiaozp
5ef0798d89
Chore: bump testing to Kubernetes v1.26 ( #5816 )
...
* Chore: bump testing to Kubernetes v1.25
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix condition in e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Bump e2e-multicluster-test to v1.25
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Bump e2e-rollout-test and rebase
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: EndpointSlice v1beta1 is depracated
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix vela ql test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove comment
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Bump all e2e test environment to v1.26
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-04-07 17:28:51 +08:00
Somefive
5a845104fb
Feat: support interactive mode to manually skip encountered errors ( #5266 )
2023-01-06 15:03:47 +08:00
Jianbo Sun
3bd38584d7
Feat: support vela up --wait and --timeout ( #5073 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-15 20:59:15 +08:00
qiaozp
e3c1e391f9
Chore: Migrate to k3d in CI & trim redundant steps ( #4652 )
2022-08-31 08:08:37 +08:00
barnettZQG
976d683185
Feat: refactor CLI commands related to resources ( #4500 )
...
* Feat: refactor CLI commands related to resources
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the old test case.
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: optimize test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: rename 'vela pods' to 'vela status --pod'
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: sort the objects
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: list the pod by the labels
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: order the tree resource
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: set multicluster config
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-08-01 19:44:27 +08:00
barnettZQG
2ac3a7562d
Feat: support to manage the CLI-created apps in VelaUX ( #4197 )
...
* Feat: support for automatically hosting CLI-created apps
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the comment
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-06-20 16:06:48 +08:00
Shukun Zhang
f8c24ba912
Feat: vela ql into vela-cli ( #3519 )
...
Signed-off-by: Shukun Zhang <2236407598@qq.com >
2022-05-31 16:12:04 +08:00
Somefive
57309884fc
Feat: enhance controller auth by removing useless features & add authentication for componentrevision+healthcheck ( #3992 )
...
* Feat: use application identity in gc & componentrevision & collectHealthStatus
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove useless features and roles
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: remove DELETE from mutating webhook
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: enhance deploy error display
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: e2e test vela cli output match & controllerrevision recycle for serviceaccount impersonation
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-27 15:50:21 +08:00
Jianbo Sun
5648c56cf5
Refactor: align velaux env and CLI env, they both use K8s namespace as ( #2975 )
...
* Refactor: use createOrUpdateNamespace as a common util function
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: add ENV webservice handelr
* Fix: fix Env usecase logic
* Feat: Add Delete Env API
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: filter empty addon data
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: split makefiels and make it clear
* Feat: add k8s utils test
* Feat: Add env update interface
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: change env implementation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: minor fix
* Revert "Fix: minor fix"
This reverts commit 9cafefa65a .
* Fix: use appusecase as parameter
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Refactor: align CLI vela env with new env design
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: minor fix
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Feat: add page index and alias of env
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: fix tests and licence header
* Fix: fix makefile and add default target
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: update build swagger.json
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: change update env api
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: list env with alias
* Feat: add log to env delete
* Fix: can not get app status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support update workflow and refactor code
* Fix: lint
* Fix: remove swagger check
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: fix cli vela delete
* Fix: update test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: update test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: app deploy unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: SortOrderDescending is not effective
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support default project/target/env
* Fix: make test and add swagger
* Fix: use separated datasource for unit test
* Fix: app rollback bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix e2e test
* Fix: kubeapi driver sort bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test
* Fix: api e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test fix
* Fix: try fix e2e test
* Fix: api e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-25 10:36:54 +08:00
Somefive
a89bb69a62
Fix: add design docs for ResourceTracker ( #2909 )
...
* Fix: enhance rt logic and add docs
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: test conflict
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
2021-12-13 19:41:42 +08:00
Tianxin Dong
d1f56743cc
Feat: add core definitions ( #2664 )
...
* Feat: add components and storage api-oriented defs
* add some examples
* change the dir
* resolve comments
* make reviewable
* fix example
* add labels and annotations in component
* add config map ref key in env
* add more traits
* add wfstep defs and rename
* fmt the cue
* re-struct all the definitions
* revert deprecated defs and add webhook def
* delete useless network trait
* fix generated tab
* fix indent
* fix webservice
* add labels
* comment webservice and worker's health check
* fix retainkeys
* fix webservice and worker's health check
* add suspend def which will be replaced by internal def
* fix cli and add labels
* fix script
* add ignore
* fix healthscope example
2021-11-29 15:02:16 +08:00
yangsoon
65f8614fd8
Feat: vela delete add wait and force option ( #2747 )
2021-11-24 21:00:03 +08:00
qiaozp
b38aa1cdf0
Fix: Align -n command argument ( #2719 )
...
* add namespace flag
fix
fix test
fix tests
* try test
* try test
* fix tests
2021-11-19 18:00:03 +08:00
Somefive
f3899e38ef
Feat: multicluster vela status/exec/port-forward ( #2662 )
...
* Fix: vela status from app.status.services
* Feat: refine cli and support terraform logs
* Feat: support remote exec
* Feat: port-forward support multicluster
* Fix: vela status+port-forward test
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2021-11-09 19:08:47 +08:00
Jianbo Sun
e5745bb3f3
Feat: add vela exec for multi cluster ( #2299 )
...
fix
support vela exec
2021-11-07 08:54:48 +08:00
qiaozp
a574fc0fbf
Refactor(cli): Refactor vela env, deprecate vela config ( #2037 )
...
* Refactor(cli): cut env to namespace, use application to save
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Fix: test
* Fix: typo
2021-10-08 13:10:47 +08:00
Somefive
e8d051a532
Support MultiCluster EnvBinding with cluster-gateway ( #2247 )
...
* Feat: init multicluster
* Feat: add secret namespace auto-detect
* Style: format
* Style: split gc codes
* Feat: add cluster cli
* Fix: rebase workflow on master
* Feat: add component selector for env binding
* Fix: selector & patch conflict
* Feat: add local cluster support & fix unit test
* Fix: fix omitempty bug
* Feat(health-scope): support multi-cluster's healthcheck
* Fix: resourcetracker gc bug & rename
* Feat: add multicluster to op.Read
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-09-14 20:35:10 +08:00
wangyuan249
9e2f406ee0
fix ci and refactor common util
2021-08-12 11:13:41 +08:00
yangsoon
572f7b47bd
add image pull policy and pull secrets for worker and webservice ( #1887 )
...
* add image pull policy and pull secrets
* fix test
2021-07-08 13:08:54 +08:00
Yue Wang
889e38e984
remove appContext from app/appRollout controller ( #1774 )
...
* refine assemble and dispatch
Signed-off-by: roy wang <seiwy2010@gmail.com >
* remove app context in app controller
modify clean up app revision
remove old resource tracker related logic
fix unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com >
* fix e2e-test
- get rid of appCtx in test cases
- fix test cases according other logic changes in app controller
remove whole appcontext_test.go file
disable rollout related e2e test provisionally
disable resource tracker related e2e test provisionally
Signed-off-by: roy wang <seiwy2010@gmail.com >
* add finalizer logic for app controller
Signed-off-by: roywang <seiwy2010@gmail.com >
* add new apply option MustBeControllableByAny
make dispatch idempotent
Signed-off-by: roywang <seiwy2010@gmail.com >
* refactor rollout
* fix rollout finalize succeed
Signed-off-by: roywang <seiwy2010@gmail.com >
* add update trait and gc test
fix lint
* fix flaky e2e test
Signed-off-by: roywang <seiwy2010@gmail.com >
* fix comment
* fix comments and add sourceRevision dispatch
delete useless
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
* fix app finalizer backward compatible
Signed-off-by: roywang <seiwy2010@gmail.com >
* fix backward compatability for deprecation of appContext
add unit test for apply option
add e2e test
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
* fix app controller unit test
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
* refine app controller apply logic
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
* fix e2e test of resource tracker
fix e2e test of rollout plan
fix flaky e2e tests
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
* refine comments and remove useless codes
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
* disable appCtx controller
add Component handler into app controller
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
Co-authored-by: wangyike <wangyike.wyk@alibaba-inc.com >
2021-06-12 14:46:32 +08:00
wangyuan249
f4cbe1b98b
Add ignore feature for cue parameter ( #1756 )
...
* add ignore feature for cue parameter
* add test
* fix diff
* fix test
* fix test 2
* fix interact init
2021-06-10 10:29:35 +08:00
chival
d42e0e3162
Add more optional paramters to built-in component ( #1748 )
...
* add probe to worker and webservice, add memory limit to webservice
* add interacitve answer
* make generate
* move Probe def outside the parameter.
* make all PodSpec alternative param done
* add doc, gen yaml
* fix docs
2021-06-03 19:13:43 +08:00
Zheng Xi Zhou
a488a24af4
Enable "vela show" to support namespaced capability ( #1521 )
...
* Enable "vela show" to support namespaced capability
Provide option `-namespace`, if not set, the default namespace
is default. If not found, as by default, capabilities are located in
vela-system, it will continue to retrieve the capability in
vela-system directory.
Fix #1520
* add e2e tests
* Address comments: Revert env context back
Get namespace from env, instead of adding option "-namespace"
* fix unittest issue
* Address comments
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* fix e2e
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-04-21 19:33:23 +08:00
Hongchao Deng
d5d0cd1878
Add AppRevision option in webservice template and refine website doc ( #1355 )
2021-03-30 07:22:35 +08:00
wyike
74a82e0397
add header-check.sh ( #1310 )
...
add ci workflow
update scripts
add missed licence header for all files
2021-03-26 15:24:19 +08:00
Ryan Zhang
135282834d
swap appConfig with appContext ( #1245 )
...
* swap appConfig with appContext
* fix e2e test
* fix e2e test
* surpress helm test
2021-03-20 00:02:58 -07:00
Jianbo Sun
657baf9f15
init applicationRevision Object as revision of Application ( #1210 )
...
* generate appRevision and create AC with the same name
* Update pkg/controller/core.oam.dev/v1alpha2/application/application_controller_test.go
* fix ci
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2021-03-19 12:30:31 -07:00
Ryan Zhang
1048b399fd
rename appRollout and add more fine tune tests ( #1166 )
...
* rename appRollout and add more fine tune tests
* improve rollout
* do not advance AC if we are not rolling
* fix e2e test bug
* fix the test
2021-03-11 15:56:38 +08:00
Ryan Zhang
073f3bc0c7
add hashtag and consolidate libs ( #1082 )
...
* add hashtag and consolidate libs
* fix CI
2021-02-20 23:10:15 -08:00
Ryan Zhang
d3511415c2
add webhooks to the rollout plan and use AC as App snapshot ( #1031 )
...
* add webhooks
* app controller change
* add component revision and appconfig revision and test
* solidify the component revision logic and fix component revisoin bugs
* fix command cli e2e failure
* fix the bug caused by rawExtention
* fix UT test
* retry on component not found
* lint
* revert component revision create order
2021-02-19 12:11:26 -08:00
Jianbo Sun
89863b30e8
fix ci and refactor code ( #887 )
...
* adjust CI scripts
* fix go ci order
* try fix
* use appfile to update trait
* fix vela status
* use assert.ObjectAreEqual to check diff for map case
* remove application controller own AC and Components
* tune place
* fix lint
* update
* remove error check of vela init test
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com >
2021-01-15 19:04:12 +08:00
天元
cc590d7c42
using vela up to deploy
2021-01-05 18:10:22 +08:00
lj176172
08d0b4830a
recover
2020-12-31 18:41:46 +08:00
lj176172
a1d9b3d032
remove trait attach
2020-12-31 18:31:24 +08:00
lllwan
b36bfa02a6
Add JSON format appfile support ( #691 )
...
* Add JSON format appfile support
Co-authored-by: 摩羯 <wangxun@cai-inc.com >
Co-authored-by: wangxun <wangxun@zcydeMBP.lan >
2020-12-05 08:06:25 +08:00
linjie.miao
2b47a934d3
The return value of vela ls must contain the TYPE and TRAITS fields.
2020-11-05 15:39:37 +08:00
zzxwill
865c52e883
Refactor "vela status"
...
merged `vela app status` and `vela svc status`
to `vela status`.
To fix #474
2020-11-01 16:25:17 +08:00
zzxwill
0a3b3ffdb1
address Wonderflow's offline advice
2020-11-01 10:02:49 +08:00