Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ffbee8d
added config sql script (#5681)
ayu-devtron Aug 13, 2024
cbace84
Merge branch 'main' into develop
vikramdevtron Aug 13, 2024
92aeea3
Merge branch 'main' into develop
vikramdevtron Aug 14, 2024
3967bbc
feat: CVE severity categorisation and scan result listing API enhance…
gireesh-naidu Aug 21, 2024
5661d5c
feat: casbin deny policy sql scripts (#5677)
Shivam-nagar23 Aug 21, 2024
af3133d
feat: Config diff phase 2 oss (#5488)
prakash100198 Aug 21, 2024
f1aa1fc
fix: Helm apps entries in Ea mode (#5652)
RajeevRanjan27 Aug 21, 2024
6820ffe
feat: refactoring deployment app name usage (#5702)
iamayushm Aug 23, 2024
095d81c
migration syn with ent (#5719)
prkhrkat Aug 23, 2024
ea4974b
fix: group image vulnerabilities by base/os image (#5680)
gireesh-naidu Aug 23, 2024
7f5db23
fix: remove sql script (#5727)
gireesh-naidu Aug 23, 2024
17747c2
Revert "fix: Helm apps entries in Ea mode (#5652)" (#5733)
RajeevRanjan27 Aug 23, 2024
6738628
chore: custom argo-workflow dependency (#5731)
Ash-exp Aug 23, 2024
7048c68
chore: fix go.sum file (#5734)
Ash-exp Aug 23, 2024
0c56885
misc: Main sync develop (#5737)
vikramdevtron Aug 23, 2024
ed70d3e
chore: sql scripts sync (#5763)
gireesh-naidu Aug 29, 2024
29d96a8
fix: Scan tool migration fix develop (#5773)
kripanshdevtron Aug 30, 2024
af5f36d
chore: Oss sync 2 sept 2024 oss (#5779)
prakash100198 Sep 2, 2024
dc67204
chore: plugin creation oss (#5780)
prakash100198 Sep 2, 2024
1f66fdd
fix: Sql injection fix develop (#5785)
kripanshdevtron Sep 2, 2024
63197e9
feat: add support for tag name for external CI (#5689)
ayu-devtron Sep 3, 2024
214bd62
argo-assets moved out (#5788)
prkhrkat Sep 3, 2024
813c3d7
query param split (#5801) (#5803)
Shivam-nagar23 Sep 4, 2024
d4e599e
feat: acr polling plugin support (#5724)
Ash-exp Sep 5, 2024
c022e5f
fix: build failed due to argo assets (#5805)
Ash-exp Sep 5, 2024
c0dc007
handled the release not found case for app detail of external app (#5…
RajeevRanjan27 Sep 9, 2024
61bf950
chore: Main develop sync bd5118 (#5817)
kartik-579 Sep 9, 2024
d38a408
feat: Argo listing change (#5768)
kartik-579 Sep 9, 2024
5727221
feat: Feature release v7 sql scripts (#5757)
Shivam-nagar23 Sep 9, 2024
3ad88d5
fix: sync with common-lib changes (#5820)
systemsdt Sep 9, 2024
f121111
feat: Custom tag for copy container image plugin (#5760)
iamayushm Sep 10, 2024
413e216
adding pco id in app details query (#5826)
iamayushm Sep 10, 2024
4b70ff4
fix: reverse proxy panic noises (#5833)
Ash-exp Sep 12, 2024
16f2443
feat: release v8 (Release Creation RBAC Scripts) (#5821)
Shivam-nagar23 Sep 12, 2024
b7b1de9
get with deduplicate (#5838)
prkhrkat Sep 13, 2024
3cf1c86
chore: Main sync 13 sept 2024 (#5843)
prakash100198 Sep 13, 2024
afd7845
chore: inject ci-runner pod UID and name as env variable (#5839)
gireesh-naidu Sep 16, 2024
12686c7
feat: add cluster filter in notification setting (#5828)
gireesh-naidu Sep 17, 2024
1265542
fix: ignore kubelink errors in server startup (#5852)
gireesh-naidu Sep 17, 2024
3fa1069
chore: Main sync (#5862)
kartik-579 Sep 18, 2024
85710ec
feat: added deployment failed message in deployment history (#5845)
Ash-exp Sep 18, 2024
6d10fff
wip (#5865)
iamayushm Sep 19, 2024
de0c426
script numebr change (#5878)
Shivam-nagar23 Sep 23, 2024
246c8cf
chore: Dependabot fixes 17sept (#5853)
prakash100198 Sep 23, 2024
dfe0021
updating common lib
iamayushm Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 4 additions & 3 deletions .gitbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ redirects:
setup/upgrade/devtron-upgrade-0.2.x-0.3.x: getting-started/upgrade/devtron-upgrade-0.2.x-0.3.x
setup/global-configurations: user-guide/global-configurations/README.md
setup/global-configurations/gitops: user-guide/global-configurations/gitops.md
setup/global-configurations/custom-charts: user-guide/global-configurations/custom-charts.md
setup/global-configurations/custom-charts: user-guide/global-configurations/deployment-charts.md
setup/global-configurations/user-access: user-guide/global-configurations/authorization/user-access.md
setup/global-configurations/external-links: user-guide/global-configurations/external-links.md
setup/global-configurations/projects: user-guide/global-configurations/projects.md
Expand Down Expand Up @@ -109,7 +109,7 @@ redirects:
getting-started/global-configurations/filter-condition: user-guide/global-configurations/filter-condition.md
getting-started/global-configurations/build-infra: user-guide/global-configurations/build-infra.md
getting-started/global-configurations/gitops: user-guide/global-configurations/gitops.md
getting-started/global-configurations/custom-charts: user-guide/global-configurations/custom-charts.md
getting-started/global-configurations/custom-charts: user-guide/global-configurations/deployment-charts.md
getting-started/global-configurations/external-links: user-guide/global-configurations/external-links.md
getting-started/global-configurations/projects: user-guide/global-configurations/projects.md
getting-started/global-configurations/manage-notification: user-guide/global-configurations/manage-notification.md
Expand All @@ -127,4 +127,5 @@ redirects:
user-guide/clusters: user-guide/resource-browser.md
usage/clusters: user-guide/resource-browser.md
global-configurations/authorization/sso-login/okta: user-guide/global-configurations/authorization/sso/okta.md
usage/applications/creating-application/ci-pipeline/ci-build-pre-post-plugins: user-guide/creating-application/workflow/ci-build-pre-post-plugins.md
usage/applications/creating-application/ci-pipeline/ci-build-pre-post-plugins: user-guide/creating-application/workflow/ci-build-pre-post-plugins.md
global-configurations/custom-charts: user-guide/global-configurations/deployment-charts.md
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN apt clean autoclean
RUN apt autoremove -y && rm -rf /var/lib/apt/lists/*
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/devtron .
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/auth_model.conf .
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets/ /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets
#COPY --from=build-env /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets/ /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/argocd-assets/ /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/scripts/devtron-reference-helm-charts scripts/devtron-reference-helm-charts
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/scripts/sql scripts/sql
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/scripts/casbin scripts/casbin
Expand Down
3 changes: 2 additions & 1 deletion DockerfileEA
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ RUN apt autoremove -y && rm -rf /var/lib/apt/lists/*
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/auth_model.conf .
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/cmd/external-app/devtron-ea .

COPY --from=build-env /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets/ /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets
#COPY --from=build-env /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets/ /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/argocd-assets/ /go/src/github.com/devtron-labs/devtron/vendor/github.com/argoproj/argo-cd/assets
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/scripts/devtron-reference-helm-charts scripts/devtron-reference-helm-charts
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/scripts/sql scripts/sql
COPY --from=build-env /go/src/github.com/devtron-labs/devtron/scripts/casbin scripts/casbin
Expand Down
8 changes: 8 additions & 0 deletions Wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ import (
"github.com/devtron-labs/devtron/pkg/chart/gitOpsConfig"
chartRepoRepository "github.com/devtron-labs/devtron/pkg/chartRepo/repository"
"github.com/devtron-labs/devtron/pkg/commonService"
"github.com/devtron-labs/devtron/pkg/configDiff"
delete2 "github.com/devtron-labs/devtron/pkg/delete"
deployment2 "github.com/devtron-labs/devtron/pkg/deployment"
"github.com/devtron-labs/devtron/pkg/deployment/common"
Expand Down Expand Up @@ -711,6 +712,13 @@ func InitializeApp() (*App, error) {
scopedVariable.NewScopedVariableRestHandlerImpl,
wire.Bind(new(scopedVariable.ScopedVariableRestHandler), new(*scopedVariable.ScopedVariableRestHandlerImpl)),

router.NewDeploymentConfigurationRouter,
wire.Bind(new(router.DeploymentConfigurationRouter), new(*router.DeploymentConfigurationRouterImpl)),
restHandler.NewDeploymentConfigurationRestHandlerImpl,
wire.Bind(new(restHandler.DeploymentConfigurationRestHandler), new(*restHandler.DeploymentConfigurationRestHandlerImpl)),
configDiff.NewDeploymentConfigurationServiceImpl,
wire.Bind(new(configDiff.DeploymentConfigurationService), new(*configDiff.DeploymentConfigurationServiceImpl)),

router.NewTelemetryRouterImpl,
wire.Bind(new(router.TelemetryRouter), new(*router.TelemetryRouterImpl)),
restHandler.NewTelemetryRestHandlerImpl,
Expand Down
2 changes: 1 addition & 1 deletion api/appStore/deployment/CommonDeploymentRestHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (handler *CommonDeploymentRestHandlerImpl) GetDeploymentHistory(w http.Resp
}
//rbac block ends here

ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
ctx, cancel := context.WithTimeout(r.Context(), 30*time.Second)
defer cancel()
res, err := handler.appStoreDeploymentService.GetDeploymentHistory(ctx, installedAppDto)
if err != nil {
Expand Down
9 changes: 6 additions & 3 deletions api/argoApplication/ArgoApplicationRestHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"errors"
"github.com/devtron-labs/devtron/api/restHandler/common"
"github.com/devtron-labs/devtron/pkg/argoApplication"
"github.com/devtron-labs/devtron/pkg/argoApplication/read"
"github.com/devtron-labs/devtron/pkg/auth/authorisation/casbin"
"go.uber.org/zap"
"net/http"
Expand All @@ -34,14 +35,16 @@ type ArgoApplicationRestHandler interface {

type ArgoApplicationRestHandlerImpl struct {
argoApplicationService argoApplication.ArgoApplicationService
readService read.ArgoApplicationReadService
logger *zap.SugaredLogger
enforcer casbin.Enforcer
}

func NewArgoApplicationRestHandlerImpl(argoApplicationService argoApplication.ArgoApplicationService,
logger *zap.SugaredLogger, enforcer casbin.Enforcer) *ArgoApplicationRestHandlerImpl {
readService read.ArgoApplicationReadService, logger *zap.SugaredLogger, enforcer casbin.Enforcer) *ArgoApplicationRestHandlerImpl {
return &ArgoApplicationRestHandlerImpl{
argoApplicationService: argoApplicationService,
readService: readService,
logger: logger,
enforcer: enforcer,
}
Expand Down Expand Up @@ -101,9 +104,9 @@ func (handler *ArgoApplicationRestHandlerImpl) GetApplicationDetail(w http.Respo
return
}
}
resp, err := handler.argoApplicationService.GetAppDetail(resourceName, namespace, clusterId)
resp, err := handler.readService.GetAppDetail(resourceName, namespace, clusterId)
if err != nil {
handler.logger.Errorw("error in listing all argo applications", "err", err, "resourceName", resourceName, "clusterId", clusterId)
handler.logger.Errorw("error in getting argo application app detail", "err", err, "resourceName", resourceName, "clusterId", clusterId)
common.WriteJsonResp(w, err, nil, http.StatusInternalServerError)
return
}
Expand Down
4 changes: 4 additions & 0 deletions api/argoApplication/wire_argoApplication.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ package argoApplication

import (
"github.com/devtron-labs/devtron/pkg/argoApplication"
"github.com/devtron-labs/devtron/pkg/argoApplication/read"
"github.com/google/wire"
)

var ArgoApplicationWireSet = wire.NewSet(
read.NewArgoApplicationReadServiceImpl,
wire.Bind(new(read.ArgoApplicationReadService), new(*read.ArgoApplicationReadServiceImpl)),

argoApplication.NewArgoApplicationServiceImpl,
wire.Bind(new(argoApplication.ArgoApplicationService), new(*argoApplication.ArgoApplicationServiceImpl)),

Expand Down
Loading