Jian.Li
9d6aaa6044
Workflow Support op.# ApplyComponent and op.#ApplyRemaining ( #1993 )
...
* add cap
* workflow
* add docs
* upgrade op.#ApplyComponent
* lint
* bytes to string
2021-07-31 07:14:00 +08:00
Jianbo Sun
b88ac35779
don't filter not found error in load template to avoid panic ( #1994 )
...
* should return error if type not found to avoid panic
* don't filter not found error in load template to avoid panic
2021-07-31 07:11:07 +08:00
Jianbo Sun
0a16175523
fix rollout test ( #1996 )
2021-07-31 00:12:41 +08:00
Jian.Li
53855019d0
fix workflow bug ( #1986 )
...
* fix bug
* add test case
2021-07-30 19:40:25 +08:00
yangsoon
7161959aca
add EnvBinding Controller for Multi cluster deploy and Configuration Management ( #1968 )
...
* patch env configuration
* add e2e-test
2021-07-30 10:02:51 +08:00
Jian.Li
4481e7637d
Optimize Workflow ( #1978 )
...
* open op.#Steps
* export
* fmt code
* fix bug & upgrade workflow doc
* fmt
* upgrade test coverage
* upgrade test coverage
2021-07-29 11:35:22 +08:00
wyike
2b1946ee7b
already exist is fine ( #1979 )
2021-07-29 11:16:40 +08:00
wyike
a8c4d5f01e
add filter func and related tests ( #1976 )
...
trigger CI
2021-07-28 18:50:13 +08:00
Jianbo Sun
e71d71c6b7
use corev1.ObjectReference insteadof crossplane-runtime TypedReference ( #1974 )
...
* refactor crossplane-runtime TypedReference to ObjectReference and make condtion locally
* fix test
2021-07-28 13:59:13 +08:00
Jian.Li
e7041f913f
open op.#Steps ( #1975 )
2021-07-28 13:58:33 +08:00
wyike
3199fd7577
support context.componentRevName in cue template of traitDefinition ( #1973 )
...
* add logic and test for component context replace
* add more test
* add comments
* fix comments
* rename context revision name
* add bad revision name test
2021-07-28 10:28:02 +08:00
Jian.Li
a736b1f7b0
Workflow Support Resource GC ( #1970 )
...
* gc
* add test cases
* test case
2021-07-27 19:22:05 +08:00
Yue Wang
c0144865d2
fix app finalizer bug ( #1962 )
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-07-26 14:20:22 +08:00
wyike
5d6ce83174
mechanism let application skip apply the workload ( #1963 )
...
* add manageby trait option
* add comments
* fix comments
* fix dryrun test
* add checkfunc in assemble phase
fix lint
2021-07-25 10:18:33 +08:00
chival
6b804acbf5
Fix Initializer bugs & Enhance addon command ( #1955 )
...
* enhance `addon enable` command
* fix: initializer requeue twice
fix: initializer won't update status while checking dependency
* not delete ns while disable addon
* add init delete webhook and test
* use poll func
* fix get init logic
* fix get init logic
* fix CI
* fix CI
* unfocus
* check diff
* CI
2021-07-25 10:16:43 +08:00
聪
c508cd45c6
allow create application with empty components ( #1936 )
2021-07-22 19:47:34 +08:00
Hongchao Deng
ed0039e1ee
[Feature] CUE Based Workflow Step ( #1935 )
...
* Workflow WIP (#1934 )
* interface
* add model value
* walk fields
* provider
* stdlin
* tasks
* add stdlib
* Adjust TaskGenerator
* Unified configmap format
* development completed
* fix import cycle
* demo passing
* upgrade action
* add value test cases
* format
* apis
* add context test cases
* fmt
* fmt
* add context to taskGenerator (#1942 )
* fix configmap test
* add workflow integration test
* upgrade code
* initial workflow commit
* interface
* add model value
* walk fields
* provider
* stdlin
* tasks
* add stdlib
* Adjust TaskGenerator
* Unified configmap format
* development completed
* fix import cycle
* demo passing
* upgrade action
* add value test cases
* format
* apis
* add context test cases
* fmt
* fmt
* add context to taskGenerator (#1942 )
* fix configmap test
* add workflow integration test
* lint code
* improve pkg[value、context] testing coverage
* Improve testing coverage(#1957 )
* add license
* add test cases
Co-authored-by: Jian.Li <74582607+leejanee@users.noreply.github.com >
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2021-07-22 18:53:30 +08:00
yangsoon
5e064219e7
Enhance Initializer: export the phase of Initializer and help install build-in Initializer ( #1932 )
...
* add phase for initilaizer
* help install build-in initializer
* add test
2021-07-20 20:40:01 +08:00
wyike
ff6fcd9f10
support component revision based rollout ( #1919 )
...
* WIP almost finish main logic
WIP make reviewable
finish manual test
fix rollout plan related test
WIP refactro some logic
WIP finish e2e-test
* fix failed e2e-test
* fix failed interagtion test
* move rollout to trait packege
* modify e2e-test testdata change apiVersion
* add v1alpha1 to scheme in test
* more wait time
* fix comment
* split rollout test
fix makefile
* rename test name
delete equal quata
try to fix
fix
* add more test
2021-07-20 16:53:39 +08:00
Yue Wang
10073df98a
fix legacy resource tracker issue ( #1931 )
...
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
2021-07-20 14:07:08 +08:00
yangsoon
40a09e5468
skip pkg discover when workload type is autodetect ( #1930 )
2021-07-19 13:14:23 +08:00
yangsoon
644cafe0a1
fix bug: application can not create component which contains namespace resource ( #1920 )
...
* align initializer's namespace to vela-system
* fix makefile
* fix terraform namespace
* add test
2021-07-15 19:53:41 +08:00
Jian.Li
fcecd0cc8d
patchKey support x.y ( #1916 )
2021-07-14 17:03:50 +08:00
whichxjy
40171f08bb
Support scale controller for StatefulSet ( #1901 )
2021-07-14 15:45:07 +08:00
chival
38cf4c8195
Add terraform controller as built-in addon ( #1905 )
...
* add terraform controller as addon
* change addon name to terraform
* fix init controller depends logic
* rebase
* fix CI
* unfocus
2021-07-14 14:38:32 +08:00
LeoLiuYan
5b6f248152
Feat: no need create appRevision if it already presents in histories ( #1896 )
...
* Feat no need create appRevision if it already presents
Signed-off-by: LeoLiuYan <929908264@qq.com >
* Remove some logic
* Fix golint
* Feat add unit test and fix e2e
* Fix unit-test
Signed-off-by: LeoLiuYan <929908264@qq.com >
2021-07-08 23:03:29 +08:00
Chwetion
3016fd1e91
add add observedGeneration field in status of Application to perceive the version difference between status and spec ( #1878 )
...
Co-authored-by: chwetion <chwetion@foxmail.com >
2021-07-08 22:31:45 +08:00
wyike
9a3c63a843
override initial replicas of workload in first scale operation ( #1891 )
...
* clean up some logic
rebase and reorder phase
add log and modify e2e-test
fix reviwable
fix comment
* fix condition relate comments
finish test func
fix formate error
2021-07-08 19:45:18 +08:00
yangsoon
0611c0a79a
fix bug: failed to aggregate status if application use a kube/helm type component ( #1866 )
...
* fix aggregate status
* add test
2021-07-08 15:16:55 +08:00
LeoLiuYan
3c05232de8
Feat change appHandler scope to package ( #1892 )
...
Signed-off-by: LeoLiuYan <929908264@qq.com >
2021-07-08 14:30:52 +08:00
wyike
14a2f8a7bd
dont't template source in rollout and rollout first component ( #1888 )
...
* fix rollout and only rollout the first component
* determine rollout component before render
* let other resources apply when target worklaod not ready
* immutable resource only update ownerRef
* add annotation
* fix unit test
add handle sourceWorkload
add anotation
add comment
add more e2e-test
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com >
2021-07-06 23:45:52 +08:00
Yue Wang
fba53cfbf3
handle ending reconcile with conditions ( #1859 )
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-07-06 13:54:23 +08:00
yangsoon
01ed9a647c
TraitDefinition support use insertSecretTo in template to consumer cloud resource ( #1849 )
...
* traitdef support insertSecretTo
* add test
2021-07-04 21:40:43 +08:00
Yue Wang
9adf269869
support helm repo secret ( #1872 )
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-07-04 21:39:48 +08:00
天元
facd56fd4f
improve workflow docs and update workflow API
2021-07-02 18:06:37 +08:00
Jianbo Sun
bd41d49311
allow component to defer insert secret and config ( #1869 )
2021-07-02 15:09:45 +08:00
wyike
4eb33e9239
split out oam-spec v0.2 charts ( #1842 )
...
* WIP disable oam related controller and webhok
change velue
fix spell error
change namespace
add e2e for oam-runtime
fix charts hack
fix e2e definition namespace
fix diasble contains list
fix e2e-test
* disable components handler
* fix flaky ac test
add every definition in oam-runtime-system namespace
* upload ac e2e-test
replace files
fix upload reports
* more wait time
2021-07-01 16:32:01 +08:00
whichxjy
be0563a8ea
Add deploymentController struct ( #1845 )
...
* Init deployment controller
* Support deployment-claiming
* Nitpicking
* Support deployment-scaling
* Support deployment-releasing
* Handle scale errors
* Fix lint
* Log target size
* Fix texts
2021-06-30 21:11:11 +08:00
yangsoon
aec9913557
fix invalid metadata.labels error when specify the version of the trait in the app ( #1855 )
...
* fix trait name
* add test
2021-06-29 15:53:57 +08:00
chival
2b4d12fbdd
Machanism for filter annotation&label passed from Application to workload and trait ( #1843 )
...
* Add two filter
* only filter in app->ac and ac->other
* move filter logic to assemble phase
* simplify, add indication
* simplify trim
* add unit test
* clean up testdata
2021-06-28 15:12:03 +08:00
yangsoon
e176fcfc56
Add the basic ability to initialize a single-cluster environment for the initializer ( #1829 )
...
* init Initializer
* update spec
* add status check
* add e2e-test
* fix Initializer version
2021-06-25 18:54:26 +08:00
Chwetion
b582ccc060
add application component name duplication check in webhook ( #1811 )
...
* add application component name duplication check in webhook
* Helm test will not clean up the test data, and the application test of the component with the same name created failed during e2e.
* fix the problems encountered during the test:
* ignore the parsing failure caused by the existing application without definition when checking;
* after the addition is successful, the resources left by the helm test are automatically cleaned up;
Co-authored-by: chwetion <chwetion@foxmail.com >
2021-06-24 16:47:17 +08:00
Yue Wang
5a778b4732
add API v1beta1.ComponentManifest ( #1814 )
...
rfc appfile pkg: remove appConfig&component
fix unit test
rfc vela cli dryrun & livediff
fix unit test & e2e test
rfc app controller: remove appConfig&component
fix unit test & e2e test
fix rollout and webhook
fix use AppRevision as others' owner
move ComponentManifest to oam.types
add a util to make conversion between AppConfig and ComponentManifest
complete Component revision mechanism in app controller
add test for component revision
rename
fix unit tests
add clean up for component revision
fix unit test
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-06-24 15:06:58 +08:00
whichxjy
20ceca4c99
Rename deployment-rollout-controller constructor ( #1800 )
...
* Rename deployment-rollout-controller constructor
* Polish test descriptions
2021-06-23 14:03:40 +08:00
yangsoon
e217e9e0df
add autoGenWorkloadDefinition option ( #1804 )
...
add autoGenWorkloadDefinition option to choose whether to create workloaddef via webhook
2021-06-18 23:40:12 +08:00
wyike
b752511e74
skip finalizer validation ( #1815 )
...
add some time to check cloneset replicas
fix flaky test
2021-06-18 14:36:40 +08:00
wyike
70eeec4c89
support restart scale operation by modify targetSize of AppRollout ( #1812 )
...
* WIP first commit
fix
* more wait time
* fix flaky test
2021-06-17 22:30:07 +08:00
wyike
649e0376cc
fix status completed bug ( #1802 )
...
refactor to helper and add unit-test
neat imports
2021-06-16 17:24:18 +08:00
wyike
8970c95875
fix missed logic ( #1799 )
2021-06-15 18:52:37 +08:00
Hongchao Deng
e5c8f259f3
app controller: reconcile workflow and create res configmap ( #1788 )
2021-06-15 13:40:12 +08:00