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: pipelineOverride id being sent instead of pipelineId #3984

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

kartik-579
Copy link
Member

@kartik-579 kartik-579 commented Sep 29, 2023

Description

For Post CD stage trigger, pipelineOverrideId was being sent instead of pipelineId causing post cd stage trigger to not work in automatic mode.

Fixes #3985

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?


@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 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

@kartik-579 kartik-579 changed the title fixed pipelineOverride id being sent instead of pipelineId fix: pipelineOverride id being sent instead of pipelineId Sep 29, 2023
Copy link
Contributor

@subhashish-devtron subhashish-devtron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kartik-579 kartik-579 merged commit 31b8edb into main Sep 29, 2023
8 of 9 checks passed
@kartik-579 kartik-579 deleted the post-cd-auto-not-working branch September 29, 2023 06:57
Shivam-nagar23 added a commit that referenced this pull request Sep 29, 2023
* trigger Ci Cron

* changes for adding job in devtron apps

* port-fix

* setting flag in pipeline db

* fix ecr repo save condition

* fix corrupt data save

* adding build context git material id

* pg no rows fix

* plugin support

* plugin support

* trigger ci for JOB_Ci

* use const

* remove only git material from ciMaterial

* Logging ci complete event

* vendor-update

* icon for plugin

* get plugin Id from name

* revert connection.go port

* sorting only latest image

* logs and script addition

* script number change

* update envDefault

* docker parameters

* docker repo create enable

* update envDefault

* sent last fetch artifact time

* change SourceControllerCronTime env

* change type for cron

* change query

* image update

* review comments

* review comments

* review comments

* image plugin change

* update down script

* pipeline type flag

* flag in app group api

* script update

* comments

* script change

* app clone handle

* fixed ci pod request (#3980)

* fixed pipelineOverride id being sent instead of pipelineId (#3984)

* chore: added CODEOWNERS (#3966)

* added CODEOWNERS file

* updated CODEOWNERS file

* Update CODEOWNERS

* Update CODEOWNERS

---------

Co-authored-by: Shubham9t9 <shubhamkumar47022@gmai.com>
Co-authored-by: Prakarsh <71125043+prakarsh-dt@users.noreply.github.com>

---------

Co-authored-by: Ashish-devtron <ashish.kumar@devtron.ai>
Co-authored-by: ayushmaheshwari <ayush@devtron.ai>
Co-authored-by: kartik-579 <84493919+kartik-579@users.noreply.github.com>
Co-authored-by: Shubham Kumar <87755583+Shubham9t9@users.noreply.github.com>
Co-authored-by: Shubham9t9 <shubhamkumar47022@gmai.com>
Co-authored-by: Prakarsh <71125043+prakarsh-dt@users.noreply.github.com>
ShashwatDadhich pushed a commit that referenced this pull request Oct 12, 2023
* fixed ci pod request (#3980)

* fixed pipelineOverride id being sent instead of pipelineId (#3984)
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: Post deployment was not working in auto trigger mode
2 participants