Commit f187e01
demo feat deployment app type change api (#3006)
* add api to force delete all cd pipelines of all apps of an environment from argo cd
* update deployment_app_type to helm and toggle deployment_app_created to false in db when changing cd app type and refactored
* remove code smell
* add check on app health status before deleting app from argocd
* resolve build issues
* Revert "resolve build issues"
This reverts commit 647fab2.
* revert and resolve build issues: missing argocd assets
* add support for changing deployment type from helm to argo_cd
* resolve sonar issue: decrease cognitive complexity
* resolve sonar issue: decrease cognitive complexity
* resolve sonar issue: decrease cognitive complexity
* resolve sonar issue: decrease cognitive complexity
* resolve sonar issue: decrease cognitive complexity
* resolve sonar issue: decrease cognitive complexity
* add api spec
* add exclusion list in request body and refactored code
* fixed failedPipelines empty list issue and handled case for missing status rows in db
* fixed pg query issue
* handled argocd app progressing app status
* add exclude apps property in api spec
* fix: helm deploy hibernate fix (#2983)
* finished on time update fix
* hibernate handling for helm apps
* HPA support for Helm deploy
* bulk API hibernate and unhibernate in helm deployment
* bulk deploy for helm type + hibernate support for custom chart
* scaling bug fixes
* refactoring done
* autoscaling handling for deployment as well
* removed dead code
* dead code removed
* fix: added deployment app type support for app create api, separated cron time for helm app status update (#2995)
* wip
* updated spec
* register app in acd when migrating from helm to argocd
* updated PipelineRepository mock
* add bulk cd pipeline async trigger
---------
Co-authored-by: kripanshdevtron <[email protected]>
Co-authored-by: kartik-579 <[email protected]>1 parent 3a2abb1 commit f187e01
File tree
9 files changed
+121
-72
lines changed- api/restHandler
- app
- internal/sql/repository/pipelineConfig
- mocks
- pkg
- app
- bean
- pipeline
9 files changed
+121
-72
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
777 | 776 | | |
778 | 777 | | |
779 | 778 | | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
787 | 784 | | |
788 | 785 | | |
789 | 786 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | | - | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
464 | | - | |
| 466 | + | |
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| |||
Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
1679 | 1682 | | |
1680 | 1683 | | |
1681 | 1684 | | |
1682 | | - | |
| 1685 | + | |
1683 | 1686 | | |
1684 | 1687 | | |
1685 | 1688 | | |
| |||
1888 | 1891 | | |
1889 | 1892 | | |
1890 | 1893 | | |
1891 | | - | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
1892 | 1900 | | |
1893 | 1901 | | |
1894 | 1902 | | |
| |||
1946 | 1954 | | |
1947 | 1955 | | |
1948 | 1956 | | |
1949 | | - | |
1950 | | - | |
| 1957 | + | |
| 1958 | + | |
1951 | 1959 | | |
1952 | 1960 | | |
1953 | 1961 | | |
1954 | 1962 | | |
1955 | 1963 | | |
1956 | | - | |
1957 | | - | |
1958 | | - | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | 1964 | | |
1965 | 1965 | | |
1966 | 1966 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
530 | 531 | | |
531 | 532 | | |
532 | 533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 80 | + | |
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
| |||
133 | 130 | | |
134 | 131 | | |
135 | 132 | | |
136 | | - | |
137 | | - | |
| 133 | + | |
138 | 134 | | |
139 | 135 | | |
140 | 136 | | |
| |||
225 | 221 | | |
226 | 222 | | |
227 | 223 | | |
228 | | - | |
229 | | - | |
| 224 | + | |
230 | 225 | | |
231 | 226 | | |
232 | 227 | | |
| |||
283 | 278 | | |
284 | 279 | | |
285 | 280 | | |
286 | | - | |
287 | | - | |
| 281 | + | |
288 | 282 | | |
289 | 283 | | |
290 | 284 | | |
| |||
0 commit comments