Jianbo Sun
309e71a60f
add create or update app apiserver ( #2087 )
...
* add create or update app
* add apiserver test
2021-08-16 20:28:03 +08:00
yangsoon
d3f264273f
enhance envbinding: support apply resources to cluster ( #2093 )
...
* enbinding support apply resources directly
* adjust the directory struct
* set placement as an optional field
* support namespace selector
2021-08-16 19:08:18 +08:00
Zhizhen He
1e294b3164
chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml ( #2089 )
2021-08-15 10:53:05 +08:00
wyike
682385dea9
runtime rollout chart ( #2075 )
...
* first commit
WIP
finish all tests
finish github workflow
only for test
only for test
revert test code
minimize rbac
neats imports
fix tests
* reorg
small change
* rename
2021-08-12 21:33:00 +08:00
Hongchao Deng
223bcd3770
remove k8sutil
2021-08-12 11:13:41 +08:00
wangyuan249
9e2f406ee0
fix ci and refactor common util
2021-08-12 11:13:41 +08:00
Hongchao Deng
3c5fae12b3
fix ci
2021-08-12 11:13:41 +08:00
Hongchao Deng
201c3c466d
add test for catalog service
2021-08-12 11:13:41 +08:00
Hongchao Deng
638957a333
leave only catalog code
2021-08-12 11:13:41 +08:00
Hongchao Deng
9620fbbfca
add helm chart
2021-08-12 11:13:41 +08:00
Hongchao Deng
bf93bf5004
add apiserver to Dockerfile
2021-08-12 11:13:41 +08:00
wangyuan249
fa57fcf66e
Merge velacp to apiserver branch in oam repo ( #2039 )
...
* move velacp into vela core as apiserver
* fix lint
* add license
* fix err lint
* fix err
* rm vela install service
* add makefile
2021-08-12 11:13:41 +08:00
Somefive
873c8299d8
fix definition controller log error cause by openapi schema generation error ( #2063 )
...
* fix definition controller log error cause by openapi schema generation failed
* fix definition controller log error cause by openapi schema generation failed
* add test
2021-08-11 13:59:46 +08:00
yangsoon
abbec2c36b
definitions support specify the revision name ( #2044 )
...
* support named defRev
* add test
2021-08-10 20:03:45 +08:00
LeoLiuYan
a715564147
Feat allow users to specify component revision name ( #1929 )
...
* Feat allow users to specify component revision name
* Add unit tests
Signed-off-by: LeoLiuYan <929908264@qq.com >
* Add ExternalRevision field to ComponentManifest
* Add handleComponentRevisionNameUnspecified func
* Add unit tests for webhook
Signed-off-by: LeoLiuYan <929908264@qq.com >
* Add more unit tests
* Feat allow users to specify component revision name
* Add unit tests
Signed-off-by: LeoLiuYan <929908264@qq.com >
* Add ExternalRevision field to ComponentManifest
* Add handleComponentRevisionNameUnspecified func
* Add unit tests for webhook
Signed-off-by: LeoLiuYan <929908264@qq.com >
* Add more unit tests
* Try to fix webhook unit tests
* fix race (#2040 )
* fix test bug
* More unit tst
* More unit test and trigger ci
Co-authored-by: yangsoon <yangsoonlx@gmail.com >
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
2021-08-08 12:11:24 +08:00
Jian.Li
94dab9f2a5
workflow support http provider ( #2029 )
...
* provider http
* method
* add license header
* test cases
* test cases
* test cases
* test cases
* generate
* lint
* upgrade apply component
* cover
* test install
2021-08-06 19:26:50 +08:00
Somefive
ee0282af18
[Vela CLI] Vela def enhancement & replace mergedef.sh ( #2031 )
...
* draft vela def enhancement
* add format and amend test
* fix generation bugs
* force CI
* work around lifecycle definition in avoid of vela show --web crash
* fix data race in envbinding
2021-08-06 17:10:52 +08:00
Gesa Stupperich
2ee3256b20
Store component parameters in context ( #2030 )
2021-08-06 10:48:00 +08:00
yangsoon
0eed21987a
add more test for envbinding ( #2032 )
2021-08-06 10:46:31 +08:00
wyike
3f326f06e4
application skip gc resource and rollout set workload ownerReference ( #2024 )
...
* finish main logic and test
* fix import order
* rollout isn't created by applciation
* fix comments
* fix compatility test
* mock error test
2021-08-05 17:15:57 +08:00
yangsoon
0752244d0b
enable policy ( #2011 )
2021-08-04 18:58:57 +08:00
Jian.Li
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
junqi.zhai
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
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
478eb69b31
Fix(lint): fix lint and typo in oam testutil ( #2017 )
2021-08-03 20:01:43 +08:00
Jianbo Sun
e3edde44af
disable metrics server port in tests and add log for rollout ( #2012 )
2021-08-03 14:53:38 +08:00
Shaowen Chen
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
5ddeabb6af
fix resource tracker ownerRef override ( #2002 )
2021-08-03 12:47:59 +08:00
Jianbo Sun
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
7a1f95773d
Add timeout context for controllers ( #1990 )
2021-08-02 19:31:00 +08:00
Shaw Ho
d9cd048d79
Fix addRevisionLabel to selector ( #1983 )
...
Signed-off-by: Xiaoxi He <tossmilestone@gmail.com >
2021-08-02 16:36:54 +08:00
yangsoon
66644de597
fix func fixOpenAPISchema ( #2003 )
2021-08-02 13:04:46 +08:00
Yue Wang
b4ebdac5bb
quick fix tests ( #1999 )
...
Signed-off-by: Yue Wang <seiwy2010@gmail.com >
2021-08-02 10:29:31 +08:00
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