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

Cancelling a pipeline does not work at the go live approval step #694

Open
pat-lego opened this issue Jun 19, 2024 · 0 comments
Open

Cancelling a pipeline does not work at the go live approval step #694

pat-lego opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pat-lego
Copy link

Expected Behavior

Using the AIO CLI you should be able to cancel the pipeline at the go live approval step.

Actual Behavior

When the go live approval step is met you cannot use the CMGR plugin to cancel the pipeline as it believes that it is running the uiTests (see video recording showcasing the issue)

Screen.Recording.2024-06-19.at.10.52.04.AM.mov

Reproduction Scenario, Platform, and Version

Reproduced using a pipeline and produced a video recording of the issue.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Start a production pipeline
  2. Wait for go live approval
  3. Execute the command https://github.com/adobe/aio-cli-plugin-cloudmanager?tab=readme-ov-file#aio-cloudmanagercurrent-executioncancel-pipelineid
  4. See error in video recording

** Work Around **

  1. Execute this API https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Pipeline-Execution/operation/getExecution
  2. Then get the stepId and phaseId
  3. Using that executed https://developer.adobe.com/experience-cloud/cloud-manager/reference/api/#tag/Pipeline-Execution/operation/cancelPipelineExecutionStep with the following payload https://developer.adobe.com/experience-cloud/cloud-manager/guides/api-usage/advancing-and-cancelling-steps/#go-live-approval but instead of true put false
  4. The pipeline will get cancelled successfully

AIO CLI should be able to leverage the CMGR API's to correctly cancel a pipeline

@pat-lego pat-lego added the bug Something isn't working label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant