Skip to content

Conversation

@iamayushm
Copy link
Contributor

@iamayushm iamayushm commented Sep 25, 2024

Description

Fixes #5914

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?


@gitguardian
Copy link

gitguardian bot commented Sep 26, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
10220829 Triggered Generic High Entropy Secret 771423f charts/devtron/devtron-bom.yaml View secret
10220829 Triggered Generic High Entropy Secret 771423f charts/devtron/values.yaml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@sonarqubecloud
Copy link

@iamayushm iamayushm changed the title Fix: app update migration chore: app update migration Sep 26, 2024
@iamayushm iamayushm changed the title chore: app update migration fix: app update migration Sep 26, 2024
@iamayushm iamayushm merged commit e5beefe into main Sep 26, 2024
11 of 14 checks passed
@iamayushm iamayushm deleted the fix-app-update-query branch September 26, 2024 08:35
iamayushm added a commit that referenced this pull request Sep 27, 2024
* wip: adding app name check

* wip

* wip

* wip

* moving migration to code

* wip: adding app name in log

* wip: moving sql logic to code

* pg no rows handling

* adding db migration call

* fixing fetch app query

* wip: adding pg multiple rows handling

* audit log update
vikramdevtron pushed a commit that referenced this pull request Sep 27, 2024
* oci registry delete issue

* chaning error message

* wip

* fix ci pipeline trigger permission

* fix external app link

* fix: app update migration (#5903)

* wip: adding app name check

* wip

* wip

* wip

* moving migration to code

* wip: adding app name in log

* wip: moving sql logic to code

* pg no rows handling

* adding db migration call

* fixing fetch app query

* wip: adding pg multiple rows handling

* audit log update

* cherry pick app update operation

* dep vendor duiring build

---------

Co-authored-by: nishant <[email protected]>
iamayushm added a commit that referenced this pull request Oct 3, 2024
* removing fetchArtifacts V1 usage and abstracting tag extraction logic

* docker tag and repo method in util

* modifying image tag logic in release override

* wip: adding empty path check

* review changes

* fix: app update migration (#5903)

* wip: adding app name check

* wip

* wip

* wip

* moving migration to code

* wip: adding app name in log

* wip: moving sql logic to code

* pg no rows handling

* adding db migration call

* fixing fetch app query

* wip: adding pg multiple rows handling

* audit log update

* fix: nil ptr fix in copying extraEnvVars

* feat:  Docker lint plugin (#5694)

* added up script for docker linit plugin

* rename of script file

* docker lint down script

* changes in docker lint

* hadolint image

* change in name of plugin

* changes in down script

* chnages in docker lint

* chnages in down script

* change in hadolint image

* rename  down script file

* renaming sql script

* feat: Added Devtron CI Trigger v1.1.0 (#5934)

* Create 028901_019_devtron_ci_trigger_v1_1.down.sql

* Create 028901_019_devtron_ci_trigger_v1_1.up.sql

* Update 028901_019_devtron_ci_trigger_v1_1.up.sql

---------

Co-authored-by: Prakarsh <[email protected]>

* renaming docker lint script file (#5937)

* fix: err handling for configmap access

* release: PR for v0.7.3 (#5942)

* Update Chart.yaml

* Update devtron-bom.yaml

* Update values.yaml

* Update devtron-installer.yaml

* Update installation-script

* Update version.txt

* Update devtron.yaml

* Update releasenotes.md

* Update devtron-bom.yaml

* Update values.yaml

* Update releasenotes.md

* Update releasenotes.md

* Updated release-notes files

* Update releasenotes.md

* Update release.txt

* Updated release-notes files

* Update release-notes-v0.7.2.md

---------

Co-authored-by: ReleaseBot <[email protected]>

* wip: modifying tags function

* sync

---------

Co-authored-by: Gireesh Naidu <[email protected]>
Co-authored-by: Gireesh Naidu <[email protected]>
Co-authored-by: kamal-devtron <[email protected]>
Co-authored-by: Kiran <[email protected]>
Co-authored-by: Prakarsh <[email protected]>
Co-authored-by: Pawan Mehta <[email protected]>
Co-authored-by: ReleaseBot <[email protected]>
vikramdevtron added a commit that referenced this pull request Oct 3, 2024
* fix: app update migration (#5903)

* wip: adding app name check

* wip

* wip

* wip

* moving migration to code

* wip: adding app name in log

* wip: moving sql logic to code

* pg no rows handling

* adding db migration call

* fixing fetch app query

* wip: adding pg multiple rows handling

* audit log update

* fix: nil ptr fix in copying extraEnvVars

* feat:  Docker lint plugin (#5694)

* added up script for docker linit plugin

* rename of script file

* docker lint down script

* changes in docker lint

* hadolint image

* change in name of plugin

* changes in down script

* chnages in docker lint

* chnages in down script

* change in hadolint image

* rename  down script file

* renaming sql script

* feat: Added Devtron CI Trigger v1.1.0 (#5934)

* Create 028901_019_devtron_ci_trigger_v1_1.down.sql

* Create 028901_019_devtron_ci_trigger_v1_1.up.sql

* Update 028901_019_devtron_ci_trigger_v1_1.up.sql

---------

Co-authored-by: Prakarsh <[email protected]>

* renaming docker lint script file (#5937)

* fix: err handling for configmap access

* release: PR for v0.7.3 (#5942)

* Update Chart.yaml

* Update devtron-bom.yaml

* Update values.yaml

* Update devtron-installer.yaml

* Update installation-script

* Update version.txt

* Update devtron.yaml

* Update releasenotes.md

* Update devtron-bom.yaml

* Update values.yaml

* Update releasenotes.md

* Update releasenotes.md

* Updated release-notes files

* Update releasenotes.md

* Update release.txt

* Updated release-notes files

* Update release-notes-v0.7.2.md

---------

Co-authored-by: ReleaseBot <[email protected]>

---------

Co-authored-by: iamayushm <[email protected]>
Co-authored-by: Gireesh Naidu <[email protected]>
Co-authored-by: Gireesh Naidu <[email protected]>
Co-authored-by: kamal-devtron <[email protected]>
Co-authored-by: Kiran <[email protected]>
Co-authored-by: Prakarsh <[email protected]>
Co-authored-by: Pawan Mehta <[email protected]>
Co-authored-by: ReleaseBot <[email protected]>
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: duplicate app migration fix

4 participants