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: fixed incorrect userId in ci audit entries #3011

Merged
merged 1 commit into from
Feb 21, 2023
Merged

Conversation

kartik-579
Copy link
Member

@kartik-579 kartik-579 commented Feb 21, 2023

Description

Updated userId for ci audit history.
Fixes #3012

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?


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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kartik-579 kartik-579 merged commit 9408845 into main Feb 21, 2023
@kartik-579 kartik-579 deleted the ci-audit-fix branch February 21, 2023 07:10
@kartik-579 kartik-579 changed the title fi: fixed incorrect userId in ci audit entries fix: fixed incorrect userId in ci audit entries Feb 21, 2023
vishal-dt added a commit that referenced this pull request Feb 21, 2023
* add api to force delete all cd pipelines of all apps of an environment from argo cd

* update deployment_app_type to helm and toggle deployment_app_created to false in db when changing cd app type and refactored

* remove code smell

* add check on app health status before deleting app from argocd

* resolve build issues

* Revert "resolve build issues"

This reverts commit 647fab2.

* revert and resolve build issues: missing argocd assets

* add support for changing deployment type from helm to argo_cd

* resolve sonar issue: decrease cognitive complexity

* resolve sonar issue: decrease cognitive complexity

* resolve sonar issue: decrease cognitive complexity

* resolve sonar issue: decrease cognitive complexity

* resolve sonar issue: decrease cognitive complexity

* resolve sonar issue: decrease cognitive complexity

* add api spec

* add exclusion list in request body and refactored code

* fixed failedPipelines empty list issue and handled case for missing status rows in db

* fixed pg query issue

* handled argocd app progressing app status

* add exclude apps property in api spec

* register app in acd when migrating from helm to argocd

* updated PipelineRepository mock

* add bulk cd pipeline async trigger

* add validation for missing artifacts

* ignore failed and in-progress ci artifacts for bulk trigger

* fix for incorrect userId in ci audit entries (#3011)

* add auto-deploy property in request

* fix: panic while getting artifacts for cd pipelines for which parent cd not triggered

* fix: pg panic when empty slice is passed as arg

* Feat deployment change (#3017)

* include apps handling

* fix for nil error panic (#18)

* chart latest handling added

* query syntax fix

---------

Co-authored-by: Kripansh <kripansh@devtron.ai>
Co-authored-by: kartik-579 <84493919+kartik-579@users.noreply.github.com>

---------

Co-authored-by: kartik-579 <84493919+kartik-579@users.noreply.github.com>
Co-authored-by: Kripansh <kripansh@devtron.ai>
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.

Bug: Incorrect user information being saved in ci template history
2 participants