[patch] Fix CP4D deprovisioning in gitops#2147
Merged
Conversation
whitfiea
approved these changes
Apr 1, 2026
Member
whitfiea
left a comment
There was a problem hiding this comment.
The jira issue should be inprogress but approving anyway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
https://jsw.ibm.com/browse/MASCORE-12828
Description
gitops-deprovision-cp4d wasn't getting invoked during the pipeline execution resulting in cp4d.yaml not getting deleted. Added a default value to cp4d_action in order to solve this.
File to be deleted: https://github.ibm.com/maximoappsuite/gitops-envs/blob/master/fyre-noble8-dev/noble8/nivtest/ibm-cp4d.yaml
Pipeline to monitor: https://cloud.ibm.com/devops/pipelines/tekton/8bb11078-2a03-43b2-9d30-df3ea17af143/runs?env_id=ibm:yp:us-south&triggerName=noble8
Test Result
https://github.ibm.com/maximoappsuite/gitops-envs/commit/232236d3ad861d84cfc38f7df3aca0ef415d5866