Skip to content

Commit 84c4c1e

Browse files
committed
Merge branch 'develop' into user-attribute-patch-fix
# Conflicts: # env_gen.json
2 parents e4d3e78 + d2b95d9 commit 84c4c1e

File tree

234 files changed

+29434
-1567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+29434
-1567
lines changed

CHANGELOG/release-notes-v1.7.0.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## v1.7.0
2+
3+
## Enhancements
4+
- feat: Added Cronjob chart 1-6-0 (#6650)
5+
- feat: wf logs (#6606)
6+
- feat: Enable selection of all CI pipelines at once when the Environment filter is applied in Notifications (#6526)
7+
## Bugs
8+
- fix: app workflow cd pipleine check (#6658)
9+
- fix: panic fixes on concurrent delete request (#6657)
10+
- fix: panic fix on concurrent deletion request (#6644)
11+
- fix: duplicate entries in deployment history without override (#6637)
12+
- fix: overriden pipeline ids filtering in case of material deletion (#6636)
13+
- fix: prevent deletion of git material used in overridden CI templates (#6633)
14+
- fix: ea mode fixes (#6624)
15+
- fix: stack Manager issues (#6619)
16+
- fix: Change ci to webhook fix (#6626)
17+
- fix: oci chart deployment values.yaml and requirement.yaml not compatible (#6620)
18+
- fix: panic fix installedApp type timeline update (#6614)
19+
- fix: workflow getting incorrectly deleted in case of webhook and unreachable cluster's cd pipeline (#6602)
20+
- fix: add safety checks to prevent index-out-of-range panics in CdHandler (#6597)
21+
- fix: reverted telemetry connection error (#6587)
22+
- fix: anomalies in deployment status timeline (#6569)
23+
- fix: scoped var complex type resolution not working in patch type overrides (#6572)
24+
## Others
25+
- chore: when a cluster event occurs, create config map instead of secret (#6607)
26+
- chore: Gpu workload chart (#6608)
27+
- misc: update sample dockerfiles use non-root user (UID 2002) and base images (#6512)
28+
- misc: wire in EA (#6616)
29+
- chore: removed multi-arch section from readme (#6613)
30+
- chore: git sensor grpc lb policy change (#6610)
31+
- misc: go routines wrapped into panic safe function (#6589)
32+
- chore: http transport service refactoring (#6592)
33+
- misc: GetConfigDBObj in tx (#6584)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
all: fetch-all-env build
44

5-
TARGET_BRANCH?=main
5+
TARGET_BRANCH?=develop
66
TAG?=$(shell bash -c 'git log --pretty=format:'%h' -n 1')
77
FLAGS=
88
ENVVAR=

Wire.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ import (
9393
"github.com/devtron-labs/devtron/client/cron"
9494
"github.com/devtron-labs/devtron/client/dashboard"
9595
eClient "github.com/devtron-labs/devtron/client/events"
96+
"github.com/devtron-labs/devtron/client/fluxcd"
9697
"github.com/devtron-labs/devtron/client/gitSensor"
9798
"github.com/devtron-labs/devtron/client/grafana"
9899
"github.com/devtron-labs/devtron/client/lens"
@@ -223,6 +224,7 @@ func InitializeApp() (*App, error) {
223224
policyGovernance.PolicyGovernanceWireSet,
224225
resourceScan.ScanningResultWireSet,
225226
executor.ExecutorWireSet,
227+
fluxcd.DeploymentWireSet,
226228
// -------wireset end ----------
227229
// -------
228230
gitSensor.GetConfig,
@@ -754,6 +756,10 @@ func InitializeApp() (*App, error) {
754756

755757
deployment3.NewFullModeDeploymentServiceImpl,
756758
wire.Bind(new(deployment3.FullModeDeploymentService), new(*deployment3.FullModeDeploymentServiceImpl)),
759+
760+
deployment3.NewFullModeFluxDeploymentServiceImpl,
761+
wire.Bind(new(deployment3.FullModeFluxDeploymentService), new(*deployment3.FullModeFluxDeploymentServiceImpl)),
762+
757763
// util2.NewGoJsonSchemaCustomFormatChecker,
758764

759765
//history starts

api/cluster/ClusterRestHandler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ func (impl ClusterRestHandlerImpl) DeleteCluster(w http.ResponseWriter, r *http.
556556
common.WriteJsonResp(w, err, "Unauthorized User", http.StatusUnauthorized)
557557
return
558558
}
559-
var bean bean2.ClusterBean
559+
var bean bean2.DeleteClusterBean
560560
err = decoder.Decode(&bean)
561561
if err != nil {
562562
impl.logger.Errorw("request err, Delete", "error", err, "payload", bean)
@@ -580,7 +580,7 @@ func (impl ClusterRestHandlerImpl) DeleteCluster(w http.ResponseWriter, r *http.
580580
//RBAC enforcer Ends
581581
err = impl.deleteService.DeleteCluster(&bean, userId)
582582
if err != nil {
583-
impl.logger.Errorw("error in deleting cluster", "err", err, "id", bean.Id, "name", bean.ClusterName)
583+
impl.logger.Errorw("error in deleting cluster", "err", err, "id", bean.Id)
584584
common.WriteJsonResp(w, err, nil, http.StatusInternalServerError)
585585
return
586586
}

api/fluxApplication/FluxApplicationRestHandler.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ func (handler *FluxApplicationRestHandlerImpl) ListFluxApplications(w http.Respo
4545
var clusterIds []int
4646
var err error
4747

48+
noStream := v.Get("noStream") == "true"
49+
4850
//handling when the clusterIds string is empty ,it will not support the
4951
if len(clusterIdString) == 0 {
5052
handler.logger.Errorw("error in getting cluster ids", "error", err, "clusterIds", clusterIds)
@@ -57,7 +59,7 @@ func (handler *FluxApplicationRestHandlerImpl) ListFluxApplications(w http.Respo
5759
return
5860
}
5961
handler.logger.Debugw("extracted ClusterIds successfully ", "clusterIds", clusterIds)
60-
handler.fluxApplicationService.ListFluxApplications(r.Context(), clusterIds, w)
62+
handler.fluxApplicationService.ListFluxApplications(r.Context(), clusterIds, noStream, w)
6163
}
6264

6365
func (handler *FluxApplicationRestHandlerImpl) GetApplicationDetail(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)