Jian.Li
9d6aaa6044
Workflow Support op.# ApplyComponent and op.#ApplyRemaining ( #1993 )
...
* add cap
* workflow
* add docs
* upgrade op.#ApplyComponent
* lint
* bytes to string
v1.1.0-beta.2
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
Somefive
4eb8f1a0ee
suppress dirty logs during import libraries ( #1991 )
...
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
2021-07-30 18:39:34 +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
v1.1.0-beta.1
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
qiaozp
de1b84724c
add namespace initializer for fluxcd ( #1977 )
2021-07-28 18:46:06 +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
dependabot[bot]
804024599b
Bump github.com/gin-gonic/gin from 1.6.3 to 1.7.0 ( #1971 )
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.6.3...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 15:09:45 +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
Zheng Xi Zhou
e62d5d23e7
Update Terraform typed Componentdefinition ( #1938 )
...
As Terraform alicloud provider has upgrade to 1.26.0, some
HCL synatx have to been updated
2021-07-23 14:48:32 +08:00
Jian.Li
9d7d2eb262
docs ( #1961 )
2021-07-23 11:21:48 +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
chival
0b46895211
support helm repo secret ( #1943 )
2021-07-21 14:52:43 +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
wangyuan249
d77969b52e
Help developer install build-in necessary definitions. ( #1907 )
...
* fix
* add install def shell
* change to make command
* fix shell
* fix bak
2021-07-20 14:05:39 +08:00
chival
21cde39c50
Add helm release component definition as part of fluxcd Intializer ( #1928 )
...
* 1. change all init namespace to vela-system(make sure depend ref)
2. move componentDef into init
3. remove ns object in auto-gen file
4. remove componentDef from autogen file(already in init)
validate helm chart as componentDef
temp
* rfc: keda/prometheus/terraform-controller using helm-release comp
* fix name style
* rename
* check diff
2021-07-19 17:04:15 +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
Hongchao Deng
ead859b717
design: update workflow implementation details ( #1917 )
2021-07-14 18:08:56 +08:00
Jian.Li
fcecd0cc8d
patchKey support x.y ( #1916 )
2021-07-14 17:03:50 +08:00
chival
e91deaa4cc
Add Prometheus/KEDA as addon ( #1915 )
...
* add keda addon
* add promethus addon
* rebase
* add generate namespace.
add prometheus as addon
add keda as addon
* rebase
2021-07-14 16:48:11 +08:00
whichxjy
40171f08bb
Support scale controller for StatefulSet ( #1901 )
2021-07-14 15:45:07 +08:00
chival
07ebca4376
Add open-kruise as addon ( #1910 )
...
* verify git repo as source
* Add open-kruise as addon
2021-07-14 15:44:14 +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
wangyuan249
7d711c2f39
self-assign ( #1911 )
2021-07-13 21:02:55 +08:00
whichxjy
1d76964ca0
Fix the way to ignore errors in shell script ( #1902 )
2021-07-13 17:15:31 +08:00
yangsoon
af50f32826
add ocm-hub ( #1906 )
2021-07-13 16:58:46 +08:00
Jian.Li
e972535e49
upgrade workflow design ( #1900 )
...
* upgrade workflow design
* Revert "upgrade workflow design"
This reverts commit 95937c94dd .
* revert & upgrade Diagram
2021-07-13 16:55:17 +08:00
chival
87576cc67e
Implement addon mechanism ( #1867 )
...
* - add: list/enable/disable an addon.
- add: test addon
- add: full flux addon
- fix: flaky test
* try again
* 1. add readme
2. gen demo file
* fix ci
* change name
* try again
2021-07-13 13:03:25 +08:00
Lei Zhang (Harry)
d7950063c3
Align with doc ( #1899 )
2021-07-12 17:21:14 +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 >
v1.1.0-alpha.5
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
Hongchao Deng
9e1189c4df
Add back workflow design diagram and update doc ( #1894 )
...
* update workflow design
* add back diagram
* separate folder
* rebase
2021-07-08 16:42:01 +08:00
Jianbo Sun
e72f5b8d2a
fix error links ( #1893 )
2021-07-08 16:07:21 +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
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