Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokdevtron authored Dec 18, 2023
2 parents 4a39e78 + 27c21f8 commit 97a9d2c
Show file tree
Hide file tree
Showing 444 changed files with 30,397 additions and 10,208 deletions.
4 changes: 2 additions & 2 deletions .gitbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ redirects:
setup/global-configurations/manage-notification: user-guide/global-configurations/manage-notification.md
setup/global-configurations/sso-login: user-guide/global-configurations/sso-login.md
setup/global-configurations/git-accounts: user-guide/global-configurations/git-accounts.md
setup/global-configurations/docker-registries: user-guide/global-configurations/docker-registries.md
setup/global-configurations/docker-registries: user-guide/global-configurations/container-registries.md
setup/global-configurations/chart-repo: user-guide/global-configurations/chart-repo.md
setup/global-configurations/cluster-and-environments: user-guide/global-configurations/cluster-and-environments.md
setup/global-configurations/authorization: user-guide/global-configurations/authorization/README.md
Expand Down Expand Up @@ -69,4 +69,4 @@ redirects:
user-guide/use-cases/connect-expressjs-with-mongodb-database: resources/use-cases/connect-expressjs-with-mongodb-database
user-guide/use-cases/connect-django-with-mysql-database: resources/use-cases/connect-django-with-mysql-database
user-guide/telemetry: resources/telemetry
user-guide/global-configurations/docker-registries: user-guide/global-configurations/container-registries.md
getting-started/global-configurations/container-registries: user-guide/global-configurations/container-registries.md
12 changes: 2 additions & 10 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 🚀 Feature
description: "Submit a proposal for a new feature"
title: "Feature: "
labels: ["enhancement"]
assignees: ["prakarsh-dt","nishant-d"]
assignees: ["prakarsh-dt","nishant-d","abhibhaw"]
body:
- type: markdown
attributes:
Expand All @@ -21,17 +21,9 @@ body:
validations:
required: true
attributes:
label: "🎤 Pitch"
label: "🎤 Pitch / Usecases"
description: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable."
placeholder: "In my use-case, ..."
- type: textarea
id: solution
validations:
required: true
attributes:
label: "✌️ Solution"
description: "A clear and concise description of what you want to happen."
placeholder: "I want this feature to, ..."
- type: textarea
id: alternative
validations:
Expand Down
24 changes: 21 additions & 3 deletions .github/ISSUE_TEMPLATE/pager-duty.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "🚩 Pager duty Bug"
description: "Submit a bug that is impacting/blocking/limiting a Devtron functionality."
description: "Submit a bug that is impacting/blocking/limiting a Devtron functionality for an Enterprise."
title: "Bug: "
labels: ["bug","pager-duty"]
assignees: ["prakarsh-dt","vikramdevtron","kripanshdevtron","vivek-devtron"]
Expand All @@ -16,12 +16,30 @@ body:
label: "📜 Description"
description: "A clear and concise description of what the bug is."
placeholder: "It bugs out when ..."
- type: dropdown
id: criticality
attributes:
label: "Criticality"
description: "How critical is the issue? Please include the impact in the "
options:
- P0 - Critical/Blocking
- P1 - High
- P2 - Medium
- P3 - Low
- type: textarea
id: impact
validations:
required: true
attributes:
label: "Impact on Enterprise"
description: "Describe the kind of Impact this bug/issue has on an Enterprise."
placeholder: "1. The users are unable to ..."
- type: textarea
id: steps-to-reproduce
id: steps-to-replicate
validations:
required: true
attributes:
label: "👟 Reproduction steps"
label: "👟 Steps to replicate the Issue"
description: "How do you trigger this bug? Please walk us through it step by step."
placeholder: "1. When I ..."
- type: textarea
Expand Down
32 changes: 31 additions & 1 deletion .github/workflows/pr-issue-validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,20 @@ jobs:
TITLE: ${{ github.event.pull_request.title }}
run: |
set -x
if [[ "$TITLE" == *"doc:"* || "$TITLE" == *"docs:"* || "$TITLE" == *"chore:"* ]]; then
echo "base or target repo : ${{ github.event.pull_request.base.repo.full_name }}"
echo "head or source repo : ${{ github.event.pull_request.head.repo.full_name }}"
if [[ ${{ github.event.pull_request.head.repo.full_name }} == ${{ github.event.pull_request.base.repo.full_name }} ]]; then
export forked=false
else
export forked=true
fi
echo "forked: $forked"
if [[ "$TITLE" == *"doc:"* || "$TITLE" == *"docs:"* || "$TITLE" == *"chore:"* || "$TITLE" == *"release:"* || "$TITLE" == *"Release:"* ]]; then
echo "Skipping validation as this is a PR for documentation or chore."
if [[ $forked == true ]]; then
echo "PR:Ready-to-Review, exiting gracefully"
exit 0
fi
gh pr edit $PRNUM --remove-label "PR:Issue-verification-failed"
gh pr edit $PRNUM --add-label "PR:Ready-to-Review"
exit 0
Expand Down Expand Up @@ -78,6 +90,10 @@ jobs:
echo "issue_num is : $issue_num"
else
echo "No Issue number detected hence failing the PR Validation check."
if [[ $forked == true ]]; then
echo "PR:Issue-verification-failed, exiting forcefully!"
exit 1
fi
gh pr edit $PRNUM --add-label "PR:Issue-verification-failed"
gh pr edit $PRNUM --remove-label "PR:Ready-to-Review"
exit 1
Expand Down Expand Up @@ -105,17 +121,31 @@ jobs:
if [[ $(echo "$text" | jq -r '.state') == "open" ]]; then
echo "Issue #$issue_num is open"
echo "Issue reference found in the pull request body."
if [[ $forked == true ]]; then
echo "PR:Ready-to-Review, exiting gracefully"
exit 0
fi
gh pr edit $PRNUM --remove-label "PR:Issue-verification-failed"
gh pr edit $PRNUM --add-label "PR:Ready-to-Review"
exit 0
else
echo "Issue #$issue_num is not open"
if [[ $forked == true ]]; then
echo "PR:Issue-verification-failed, exiting forcefully!"
exit 1
fi
gh pr edit $PRNUM --add-label "PR:Issue-verification-failed"
gh pr edit $PRNUM --remove-label "PR:Ready-to-Review"
exit 1
fi
else
echo "Invalid Response Code obtained - error code: $response_code"
echo "No valid issue reference found in the pull request body."
gh pr comment $PRNUM --body "PR is not linked to any issue, please make the corresponding changes in the body."
if [[ $forked == true ]]; then
echo "PR:Issue-verification-failed, exiting forcefully!"
exit 1
fi
gh pr edit $PRNUM --add-label "PR:Issue-verification-failed"
gh pr edit $PRNUM --remove-label "PR:Ready-to-Review"
exit 1
Expand Down
74 changes: 74 additions & 0 deletions CHANGELOG/release-notes-v0.6.23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
## v0.6.23



## Bugs
- fix: DT19-v1 bug fixes (#3962)
- fix: ci pod request correction (#3980)
- fix: pipelineOverride id being sent instead of pipelineId (#3984)
- fix: Iam role handling script for plugin pull image from CR (#3955)
- fix: Deployment Template HCL parsing with % keyword (#4012)
- fix: handled releaseNotExists case for helm type cd pipeline resource tree fetch (#4016)
- fix: auto post cd not working in case of multiple parallel gitOps pipeline (#4018)
- fix: handled error in bulk trigger deploy (#4034)
- fix: The manager(non-admin user) of the application is unable to select a list of apps when assigning permissions (#4053)
- fix: ci job handling in app create api (#4054)
- fix: Deploying currently Active image using TriggerDeploy API from devtctl tool is broken (#4056)
- fix: Unable to delete ci pipeline in case you configure multi git (#4072)
- fix: env for specific deployment (#4085)
- fix: update build configuration fix (#4093)
- fix: Artifacts filter in CD trigger view (#4064)
- fix: Bugathon DT-19 version-2 fixes (#4105)
- fix: App Labels node selector not getting attach in ci-workflow (#4084)
- fix: Update cd pipeline create empty pre post cd steps (#4113)
- fix: normal Refresh after triggering gitops deployment to avoid sync delay in argo (#4066)
- fix: helm chart delete when no rows are found (#4124)
- fix: Unable to abort pre-cd and post-cd workflow (#4121)
- fix: Helm Apps permissions do not allow Terminal or Logs view (#4110)
- fix: port service mapping (#4132)
## Enhancements
- feat: Helm async install (#3856)
- feat: handle CI success event auto trigger in batch (#3951)
- feat: added env variable to skip gitops validation on create/update (#3956)
- feat: added flag to configure ecr repo creation (#3963)
- feat: Ability to change branch for all selected applications during bulk build from Application Groups (#3955)
- feat: Variables support in pre-post CI, CD and Jobs (#3911)
- feat: Poll Images from ECR Container Repository Plugin (#3971)
- feat: resource groups CRUD and environment filtering (#3974)
- feat: Scoped variables primitive handling (#4033)
- feat: adding DEVTRON_APP_NAME system variable for deployment template (#4041)
- feat: wf pod restart (#3892)
- feat: added deduction for system variables (#4075)
- feat: manifest comparision (#3844)
- feat: multiple images handling for single workflow for ECR Plugin Poll Images (#4027)
- feat: Jenkins plugin migration (#4039)
- feat: clone cd pipelines while cloning app across project (#4087)
## Documentation
- doc: Glossary of jargonish terms for layman in the context of Devtron (#3820)
- docs: Ephemeral Container Doc (#3912)
- docs: New Image Alignment in Ephemeral doc (#3959)
- docs: Snapshot updation in PVC docs + PreBuild CI-CD (#3964)
- doc: Fixed issuer url in okta docs (#4062)
- docs: Config Approval Draft (#3981)
- docs: Modified Existing Container Registry Doc (#4048)
- docs: Added OCI Pull in Usecases (#4112)
## Others
- chore: added workflow to escalate pager-duty issue (#3927)
- chore: changed loop from for to while (#3928)
- chore: scheduled escalate pager duty issue workflow (#3933)
- chore: added log config for dev mode (#3953)
- chore: minor correction in devtron reference charts (#3957)
- chore: workflow refactoring (#3714)
- chore: pr-issue-validator permissions fix (#3967)
- chore: added CODEOWNERS (#3966)
- chore: Scoped variable refactoring (#3977)
- chore: modified labels of keda autoscale object in deployment chart (#3999)
- chore: Update pr-issue-validator.yaml (#3854)
- chore: refactoring around PipelineBuilder (#4043)
- chore: moved k8s library to common-lib and added scripts for adding sshTunnel config to clusters (#3848)
- chore: Add pager-duty issue template (#3988)
- chore: first cut refactor ci-pipeline (#4091)
- chore: refactored appartifact manager and cimaterialconfigservice (#4096)
- chore: Remove the EnvVariablesFromFieldPath from values.yaml in refcharts (#4111)
- chore: Updated schema for Scope Variable (#4079)
- chore: skip validation for release PRs (#4128)
21 changes: 21 additions & 0 deletions CHANGELOG/release-notes-v0.6.24.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## v0.6.24

## Bugs
- fix: nats clients panic in ea-mode (#4162)
- fix: query number changed (#4163)
- fix: duplication of tags on giving same key-value pair (#4139)
- fix: error handling in image scan (#4150)
- fix: valuesOverrideResponse (#4149)
## Enhancements
- feat: custom tag (#3847)
- feat: enchancements in scoped variables (#4069)
## Documentation
- docs: Reverted to relative path with extension type (#4156)
- doc: Changed Relative Path to Absolute Path (#4155)
- docs: Mentioned Partial Cloning Capability of Devtron (#4142)
- docs: Added Exclude Git Files section in Existing Doc (#4136)
## Others
- chore: moved methods use by workflowdagexecutor to it (#4147)
- chore: fix sql 181 script (#4144)


72 changes: 72 additions & 0 deletions CHANGELOG/release-notes-v0.6.25.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
## v0.6.25



## Bugs
- fix:Not able to change Authentication Type for Prometheus. (#4284)
- fix:cve search (#4347)
- fix: added missing clusterConfig in releaseIdentifier request (#4359)
- fix: Inconsistent behaviour on deploying application from application group v/s devtron cli tool after changing deploymentType (#4353)
- fix:rbac is not in sync with Actual application status (#4237)
- fix: cm-env override (#4350)
- fix: launch ephemeral containers targetting containers running with non root access (#4288)
- fix: not able to add env in global configuration (#4330)
- fix: Message not updating for Ci (#4323)
- fix: app-group page breaking for inactive users (#4315)
- fix: limit ci build message length to 250 (#4300)
- fix: Job trigger throws error (#4296)
- fix: Get Artifacts list API is throwing pg no rows error (#4292)
- fix: updated copy container image plugin for multi arc build support (#4282)
- fix: old custom tag migration (#4273)
- fix: No rows for rest config in case of Default namespace (#4269)
- fix: DevtronApp Deployment Status Fixed (#4267)
- fix: deleted service showing port as missing fix (#4240)
- fix: kubernetes events fix for resources (#4247)
- fix:post-cd plugin not getting added again, after removing and adding again (#4219)
- fix: update docker config overridden flag in linked ci's (#4220)
- fix: setting cipipelineId to parent ci-pipelines id for linked ci's (#4215)
- fix: ImageScanDeployInfo not initialized while fetching from db (#4195)
- fix: Stable dt19 v3 + v4 bugathon bug fixes (#4183)
- fix: inducing overridden DockerRegistryId in case docker registry is overridden (#4178)
- fix: cm cs handling for inheriting type in get sample workflow api (core app routers) (#4189)
## Enhancements
- feat: Enable Notification for Protect Configuration Approval request (#4358)
- feat: Role based access control in JOBS (#4198)
- feat: Bulk Hibernate (#4229)
- feat: Helm async deploy Devtron Apps (#4045)
- feat: copy container images (#4209)
- feat: add plugin via api (#3937)
- feat: Run jobs using system executor (#4161)
- feat: Description for cluster and apps (#4154)
- feat: Plugin for image scanning in Pre/Post step (#4021)
- feat: scoped variable CMCS support and manager layer refactorings (#4174)
- feat: pre-postcd trigger with plugin (#4176)
- feat: upload and download logs/artifact from blob storage configured in external cluster (#4138)
## Documentation
- doc: Added Application Groups Doc (#4275)
- doc: Update gitops.md for Azure DevOps Integration (#4328)
- docs: img size fix (#4301)
- docs: App Configuration Corrections + Structuring (#4235)
- docs: Added Filter Doc in Index (#4253)
- docs: Filter Condition Doc (#4224)
- docs: Updated chart parameters in doc for deployment and rollout deployment chart (#4218)
- doc: ENT+OSS Bifurcation + Descriptions for System Variables (#4230)
- doc: GC Index Additions + Fixes (#4214)
- docs: Scoped Variables Draft + Other Fixes (Ephemeral Doc Alignment) (#3982)
- docs: Added Videos + Fixed Typos and Navigation (#4169)
- doc: added a Config.md to expose all the env variables use in this microservice (#4173)
## Others
- chore: Integrate Terraform CLI, Ansible, and SonarQube Plugins (#4363)
- chore: updated schema for resources (#4266)
- chore: change-ci and app-group fixes (#4332)
- chore: change CI backend infra (#4251)
- chore: updating dependency tracker maven plugin name (#4265)
- chore: Update pr-issue-validator.yaml (#4207)
- chore: update maven dependency tracker plugin (#4254)
- chore: artifact api refactoring (#4137)
- chore: resource sql migration script (#4175)
- chore: refactored few type objects (#4171)
- chore: struct type refactored (#4180)



24 changes: 24 additions & 0 deletions CHANGELOG/release-notes-v0.6.26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## v0.6.26

## Bugs
- fix: chart sync duplicate charts (#4321)
- fix: optimised the artifacts listing query and added query versioned support (#4375)
## Enhancements
- feat: CS create bucket plugin (#4411)
- feat: Integrate GKE provisioning into Devtron Plugin (#4406)
- feat: Integrate Cloudanix Image Scanner Plugin for Advanced Image Scanning (#4396)
- feat: Support for OCI charts pull & deploy in EA mode (#4309)
## Documentation
- docs: Typos fixed in multiple docs (Phase 1) (#4402)
- doc: Redirection added for OCI doc (#4394)
- doc: Indentation fix in Scoped Variable Doc (#4367)
- docs: Gitbook assets moved to AWS S3 (#4380)
## Others
- chore: Updated migration number for gcs create bucket (#4412)
- chore: enhancements in User Service and User common service (#4293)
- chore: Remove the annotation hook from devtron-nats-test-request-reply pod (#4387)
- chore: Update pager-duty Issue template (#4381)
- chore: made devtron namespace configurable in authenticator (#4271)
- chore: added migration script for dependency (#4279)


Loading

0 comments on commit 97a9d2c

Please sign in to comment.