Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Unable to delete ci pipeline in case you configure multi git #4072

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

Ashish-devtron
Copy link
Contributor

@Ashish-devtron Ashish-devtron commented Oct 11, 2023

Description

It bugs out when you configure multi git application and delete one of the configured git repo.

While deleting the CiPipeline We are try to get the deleted pipeline materials and throws error.

Fixes #4071

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

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?


@Ashish-devtron Ashish-devtron merged commit eadb5f4 into main Oct 11, 2023
3 checks passed
@Ashish-devtron Ashish-devtron deleted the ci-pipeline-delete-error branch October 11, 2023 14:06
@sonarcloud
Copy link

sonarcloud bot commented Oct 11, 2023

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

ShashwatDadhich pushed a commit that referenced this pull request Oct 12, 2023
* chore: moved k8s library to common-lib and added scripts for adding sshTunnel config to clusters (#3848)

* added db scripts for cluster table

* updated script

* renamed script no

* changed sql script

* wip

* updated dependency

* wip

* bumped common-lib-version

* updated vendor

* vendor files

* updated sql script no.

* added insecureTls connection param in kubelink requests

* updated sql script no.

* added argoproj assets

* wip

* added argoproj files

* updated .gitignore

* updated sql script no

* updated sql script no

* shifted common-lib to major version import

* check for active ci_pipeline_material (#4072)

---------

Co-authored-by: Ashish-devtron <123808329+Ashish-devtron@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Unable to delete ci pipeline in case you configure multi git
2 participants