Skip to content

Commit 781b3db

Browse files
Ash-expprakash100198kamal-devtronShivam-nagar23iamayushm
authored
feat: kubecon 2025 feature release (#366)
* fix: exported function obfuscateSecretTags * fix: initialize ServiceName in PgQueryMonitoringConfig * add bulk deployment metrics APIs and supporting methods across repository, service, and handler layers * refactor(metrics): migrate deployment metrics structures to dto package and update references across modules * timeUtils -> TimeUtils * refactor(constants, utils): extract reusable methods and constants for deployment metrics handling * feat: add TimeRangeRequest and TimeWindows for flexible time range handling * fix: validate both From and To dates in time range check * feat: rename ParseTimeRange to ParseAndValidateTimeRange for clarity * fix(utils): enhance TimeRangeRequest validation and add schema tags * refactor(constants, utils): extract reusable methods and constants for deployment metrics handling * refactor(metrics): update deployment metrics structures and date handling, enhance query ordering logic in repository * extend(TimeUtils): add support for "lastQuarter" time window in TimeRangeRequest validation and calculation * refactor(metrics): add DORA metrics calculation and classification logic, update bulk metrics processing * feat: add support for yearly time windows and implement time boundaries validation * Merge pull request #336 from devtron-labs/pr-validate-br-add misc: Added new branch in PR validator action * fix: update validation tags for TimeBoundariesRequest fields (#335) Co-authored-by: Shivam Nagar <124123645+Shivam-nagar23@users.noreply.github.com> * extend(TimeUtils): add support for "last7Days", "last30Days", and "last90Days" time windows in TimeRangeRequest validation and calculation * misc: Finops 29/09 (#341) * fix: update validation tags for TimeBoundariesRequest fields * fix: reset checkout message on successful fetch * Feat/finops config (#337) * feat: add cost module installation topics and configurations * feat: add cost module installation topics and time range utilities --------- Co-authored-by: Ash-exp <asutosh2000ad@gmail.com> * last 24 hours (#345) * chore: main branch sync into kubecon-2025 * refactor(metrics): update DORA metrics calculation logic, replace `DoraMetrics` with `dto.Metrics`, and enhance metrics processing functions * refactor(metrics): inline DORA metrics calculations into Metrics construction for improved readability and maintainability * make dep-update-oss * gpu installation topic * wip * extend(pubsub): add GPU installation topic configurations and update module dependencies for common-lib * manual gc * main sync dep update oss * refactor: simplify manual git gc condition in GitBaseManager * fix: implement secure storage for sensitive data with encryption and repository management * fix: add encryption key setup for secure storage initialization * chore: update common-lib dependency to v0.0.0-20251205084952 * feat: cluster backup feature using velero (#356) * fix: update validation tags for TimeBoundariesRequest fields * Feat/finops config (#337) * feat: add cost module installation topics and configurations * feat: add cost module installation topics and time range utilities * adding new topic for gpu installation * feat: velero backup storage location informer register * feat: storage module nats jetstream and bean * feat: bsl informer registration * feat: storage event msg struct * misc: vendor file update for velro * feat: common msg struct implementation for bsl informer * feat: vsl informer registration * feat: backup status nats message struct * feat: change in data types of backup status nats message struct * feat: backup status version datatype change * feat: backup informer registration * feat: nats message struct for restore events * feat: restore informer registration * feat: BackupSchedule status update event msg struct * feat: backup schedule resource constant * feat: backup schedule informer registration * wip: topic for velero installation * feat: refactor backup storage location status handling and clean up unused code * feat: refactor Velero event handling to use unified resource event structure * feat: enhance BackupStatus structure with additional fields for improved backup tracking * feat: streamline Velero resource event handling with new builder methods * feat: update common-lib dependency * feat: remove unused data handling methods from VeleroResourceEvent * feat: remove unused data fields and methods from VeleroResourceEvent * feat: enhance restore object change detection with backup name comparison * feat: update TLS configuration and socket handling for improved performance and deprecation cleanup * feat: update CreateOrUpdateSecretByName method to support additional data formats * feat: enhance CreateOrUpdateSecretByName method to support additional data formats * feat: add post-installation topics and groups for Velero storage * feat: add VeleroBackupSchedule client type to client.go * feat: rename ClusterVeleroBslType to ClusterStorageModuleType for clarity * feat: fix variable name typo for veleroVslInformer in informer and advisor * feat: update default value for ClusterStorageModuleType to ALL_CLUSTER * feat: enhance status comparison logic to handle nil progress and hook status * feat: improve status comparison logic to handle nil progress cases * feat: update velero informer logic to use centralized velero config * feat: add post-installation topics and update common-lib dependency * feat: add velero v1.14.1 dependency for cluster backup functionality * feat: update common-lib dependency to v0.0.0-20251205120949 for improved functionality --------- Co-authored-by: Shivam-nagar23 <shivam@devtron.ai> Co-authored-by: Shivam Nagar <124123645+Shivam-nagar23@users.noreply.github.com> Co-authored-by: ayushmaheshwari <ayush@devtron.ai> Co-authored-by: SATYAsasini <satya.prakash@devtron.ai> --------- Co-authored-by: Prakash Kumar <prakash.kumar@devtron.ai> Co-authored-by: kamal-devtron <128121299+kamal-devtron@users.noreply.github.com> Co-authored-by: Shivam Nagar <124123645+Shivam-nagar23@users.noreply.github.com> Co-authored-by: Shivam-nagar23 <shivam@devtron.ai> Co-authored-by: ayushmaheshwari <ayush@devtron.ai> Co-authored-by: iamayushm <32041961+iamayushm@users.noreply.github.com> Co-authored-by: SATYAsasini <satya.prakash@devtron.ai>
1 parent f40094e commit 781b3db

213 files changed

Lines changed: 22817 additions & 349 deletions

File tree

Some content is hidden

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

.github/workflows/pr-issue-validator.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
- 'release-**'
1313
- 'develop'
1414
- 'hotfix-**'
15+
- 'kubecon-**'
1516
# paths-ignore:
1617
# - 'docs/**'
1718
# - '.github/'
@@ -42,4 +43,4 @@ jobs:
4243
run: |
4344
wget https://raw.githubusercontent.com/devtron-labs/utilities/feat/central-pr-validator/.github/workflows/validateIssue.sh
4445
chmod +x validateIssue.sh
45-
./validateIssue.sh
46+
./validateIssue.sh

chart-sync/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.24.0
44

55
toolchain go1.24.3
66

7-
replace github.com/devtron-labs/common-lib => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20251104082051-1f7627ecb6be
7+
replace github.com/devtron-labs/common-lib => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20251205120949-62ef158e4713
88

99
require (
1010
github.com/caarlos0/env v3.5.0+incompatible

chart-sync/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
4343
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4444
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
4545
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
46-
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20251104082051-1f7627ecb6be h1:ZufKGk1RMcJsTDgpCfdWcrca90K3s1+88KlVL/4dEmU=
47-
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20251104082051-1f7627ecb6be/go.mod h1:+CUhxuWB8uMYIoiXwofuLIXPyiNnwmoZlH90KWAE5Ew=
46+
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20251205120949-62ef158e4713 h1:xDbz5etX5h6foQDgpT9ukTo2I65b6q32Nu9do5nBPk8=
47+
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20251205120949-62ef158e4713/go.mod h1:CqHnvltrng2O40hNGVl56qcAhv7tiXK3SKx47LKyE/A=
4848
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
4949
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
5050
github.com/distribution/distribution/v3 v3.0.0 h1:q4R8wemdRQDClzoNNStftB2ZAfqOiN6UX90KJc4HjyM=

chart-sync/vendor/github.com/devtron-labs/common-lib/utils/TimeUtils.go

Lines changed: 339 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chart-sync/vendor/github.com/devtron-labs/common-lib/utils/bean/bean.go

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)