Skip to content

Conversation

@prakash100198
Copy link
Contributor

@prakash100198 prakash100198 commented Sep 18, 2023

Description

This pr aims to fix the conversion of sequential cd pipelines to parallel cd pipelines after cloning the application
Fixes #2232

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Tested locally as well as deploying the changes on cluster.
  1. Making new app with multiple seq. and parallel cd, then cloning the app,
  2. Linked Ci and external Ci with seq. and parallel cds.

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@prakash100198 prakash100198 changed the title Cloning app seq fix fix: cloning app seq fix Sep 18, 2023
@prakash100198 prakash100198 changed the title fix: cloning app seq fix fix: cloning app with seq cd pipeline fix Sep 20, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@prakash100198 prakash100198 changed the base branch from stable-dt19-v1 to stable-dt19-v2 September 21, 2023 12:37
@prakash100198 prakash100198 merged commit 98dd439 into stable-dt19-v2 Sep 22, 2023
@prakash100198 prakash100198 deleted the cloning-app-seq-fix branch September 22, 2023 04:07
prakash100198 added a commit that referenced this pull request Oct 17, 2023
* setting scan enabled flag (#3925)

* fix: revert app and workflow creation in case of error (#3923)

* revert app and workflow creation

* revert err value

* check for update access while updating (#3936)

* fix: cloning app with seq cd pipeline fix (#3926)

* setting parent id and type in cd clone dto req.

* ignoring parentid if parent is ci_pipeline type

* mapping ref vs new cd pipeline in case of cloning app

* minor fix

* passing source to new pipeline id mapping and refpipline id with webhook type cd

* minor fix

* fix

* external ci workflow cloning fix

* minor fix

* creating appWorkflow in app clone service layer rather than in pipelinebuilder for app clone

* minor fixes

* removing pointer map in cdPipelineConfigObject

* further refactoring

* minor fix

* more refactoring

* createWfMapping to createWfInstances

* minor refactoring in AppCloneService

* error handling

* soft delete chart-group deployment

* fix: Security Pagination Count wrong fix (#3950)

* fix-pagination-count

* Handling diff object type

* Revert "soft delete chart-group deployment"

This reverts commit 1be49e3.

* fix: Base configmap get more precedence than override  (#3940)

* devtronContainerImageRepo varilable added

* some test around cm/cs

* some test around cm/cs for env

* comments removed

* changes done around secret

* comments removed

* refactoring around cm/cs merge

* golang version updated in dockerfile

* issue fixed after refactoring

* refactoring for cm/cs

* pointer issue handled

* some refactoring around cm/cs and Dockerfile reverted

* index removed

* var name changed

* fix: Pass/Failure Condition is not working as expected in pre build step. (#3938)

* devtronContainerImageRepo varilable added

* pass/fail condition issue fixed

* fix: data not flowing into table ImageScanDeployInfo for triggers (#3946)

* bug fix test

* fixes

* added migration script

* removed commented code

* added index back without unique constraint

* removed virtual environments from unnecessary places (#3960)

* soft delete chart-group deployment (#3958)

* update wire injection

* sql script number change

---------

Co-authored-by: Shivam Nagar <[email protected]>
Co-authored-by: Ashish-devtron <[email protected]>
Co-authored-by: ashish sonam <[email protected]>
Co-authored-by: Aditya Ranjan <[email protected]>
Co-authored-by: subhashish-devtron <[email protected]>
Co-authored-by: Asutosh Das <[email protected]>
Co-authored-by: ashishdevtron <[email protected]>
Co-authored-by: adi6859 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants