yangsoon and GitHub
0752244d0b
enable policy ( #2011 )
2021-08-04 18:58:57 +08:00
Jian.Li and GitHub
5f1d07bfc6
Order Steps by Field Tag ( #2022 )
...
* sort by tag
* add test cases for order tag
* parse comments
* fix atrr conflict
* fix bug
2021-08-04 16:30:11 +08:00
6405603970
ApplicationContext status patch nothing ( #2019 )
...
* applicationcontext_controller.go status deepcopy
* put a space between `//` and comment text
Co-authored-by: 69055 <fuwangZJQ1991>
2021-08-04 15:15:37 +08:00
wyike and GitHub
13fc4e2b25
rollout controller find sourceRevision ( #1989 )
...
* rollout controller use last target as source and add whole process e2e-test
* modify makefile use regex include all rollout related test
* add example
* fix golint
* more wait time
* pending pod may let rollout stock in rollingBatches
* fix docs and tests comments
modify docs example
modify cue and yaml
* less pod in test avoid pod pending
2021-08-03 20:27:11 +08:00
Tianxin Dong and GitHub
478eb69b31
Fix(lint): fix lint and typo in oam testutil ( #2017 )
2021-08-03 20:01:43 +08:00
Jianbo Sun and GitHub
e3edde44af
disable metrics server port in tests and add log for rollout ( #2012 )
2021-08-03 14:53:38 +08:00
Shaowen Chen and GitHub
af1e9dc195
bugfix: workload namespace is empty while sync appdeployment ( #2009 )
...
Signed-off-by: shaowenchen <mail@chenshaowen.com >
2021-08-03 13:23:38 +08:00
Jianbo Sun and GitHub
5ddeabb6af
fix resource tracker ownerRef override ( #2002 )
2021-08-03 12:47:59 +08:00
Jianbo Sun and GitHub
aa87d3da24
upgrade K8s dependency lib to v0.21 ( #1985 )
...
* upgrade K8s dependency to v0.21
* update CRD for new version of controller-runtime
* fix ci component revision create must fill Raw in runtime.RawExtension
* try fix test
* start control plane timeout set to 1min and fix tests
* add timeout for env test start and stop
* longer timeout time for BeforeSuit function
* upgrade kubebuilder and k8s cluster version to match with v1.21.2 in github action
* fix test
* fix resource tracker ownerRef override
* update developer guides
2021-08-03 11:30:02 +08:00
Somefive and GitHub
7a1f95773d
Add timeout context for controllers ( #1990 )
2021-08-02 19:31:00 +08:00
Shaw Ho and GitHub
d9cd048d79
Fix addRevisionLabel to selector ( #1983 )
...
Signed-off-by: Xiaoxi He <tossmilestone@gmail.com >
2021-08-02 16:36:54 +08:00
yangsoon and GitHub
66644de597
fix func fixOpenAPISchema ( #2003 )
2021-08-02 13:04:46 +08:00
Yue Wang and GitHub
b4ebdac5bb
quick fix tests ( #1999 )
...
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
2021-08-02 10:29:31 +08:00
Jian.Li and GitHub
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 and GitHub
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 and GitHub
0a16175523
fix rollout test ( #1996 )
2021-07-31 00:12:41 +08:00
Jian.Li and GitHub
53855019d0
fix workflow bug ( #1986 )
...
* fix bug
* add test case
2021-07-30 19:40:25 +08:00
yangsoon and GitHub
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 and GitHub
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 and GitHub
2b1946ee7b
already exist is fine ( #1979 )
2021-07-29 11:16:40 +08:00
wyike and GitHub
a8c4d5f01e
add filter func and related tests ( #1976 )
...
trigger CI
2021-07-28 18:50:13 +08:00
Jianbo Sun and GitHub
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 and GitHub
e7041f913f
open op.#Steps ( #1975 )
2021-07-28 13:58:33 +08:00
wyike and GitHub
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 and GitHub
a736b1f7b0
Workflow Support Resource GC ( #1970 )
...
* gc
* add test cases
* test case
2021-07-27 19:22:05 +08:00
Yue Wang and GitHub
c0144865d2
fix app finalizer bug ( #1962 )
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-07-26 14:20:22 +08:00
wyike and GitHub
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 and GitHub
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
聪 and GitHub
c508cd45c6
allow create application with empty components ( #1936 )
2021-07-22 19:47:34 +08:00
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 and GitHub
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 and GitHub
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 and GitHub
10073df98a
fix legacy resource tracker issue ( #1931 )
...
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
2021-07-20 14:07:08 +08:00
yangsoon and GitHub
40a09e5468
skip pkg discover when workload type is autodetect ( #1930 )
2021-07-19 13:14:23 +08:00
yangsoon and GitHub
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 and GitHub
fcecd0cc8d
patchKey support x.y ( #1916 )
2021-07-14 17:03:50 +08:00
whichxjy and GitHub
40171f08bb
Support scale controller for StatefulSet ( #1901 )
2021-07-14 15:45:07 +08:00
chival and GitHub
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 and GitHub
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
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 and GitHub
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 and GitHub
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 and GitHub
3c05232de8
Feat change appHandler scope to package ( #1892 )
...
Signed-off-by: LeoLiuYan <929908264@qq.com >
2021-07-08 14:30:52 +08:00
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 and GitHub
fba53cfbf3
handle ending reconcile with conditions ( #1859 )
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-07-06 13:54:23 +08:00
yangsoon and GitHub
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 and GitHub
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 and GitHub
bd41d49311
allow component to defer insert secret and config ( #1869 )
2021-07-02 15:09:45 +08:00
wyike and GitHub
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