Azure / apiops

APIOps applies the concepts of GitOps and DevOps to API deployment. By using practices from these two methodologies, APIOps can enable everyone involved in the lifecycle of API design, development, and deployment with self-service and automated tools to ensure the quality of the specifications and APIs that they’re building.
https://azure.github.io/apiops
MIT License
328 stars 193 forks source link

[BUG] Api Updates are not happening with Github Actions #694

Open nepsmaddy opened 1 month ago

nepsmaddy commented 1 month ago

Release version

v6.0.1.1

Describe the bug

We tried to add 2 new operations to the existing api using Github Action and it failed.

We run the extractor it detects the changes but when publisher doest not put these changes to the APIM instance. Publisher logs are incorrectly showing put API done and it successfully ran as well.

The same artifacts works with ADO pipelines. ADO pipelines generate the same artifacts and publisher put the new 2 operations in the existing api correctly without any issue.

Expected behavior

Github Action also should work fine wihtout any issue and if it has not put any operations correctly it should fail and not success.

Actual behavior

Github Action publisher is not putting new operations to the existing api and successfully completed without publishing the changes. At the same time ADO work fine.

Reproduction Steps

  1. addd any operations in the existing api
  2. run extractor and run publisher in Github Actions
github-actions[bot] commented 1 month ago
  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
waelkdouh commented 1 month ago

Did you try debugging what is going on in the GitHub issues? Feel free to submit a or if you uncover the bug. We will try to get to it when we get some time but please keep in mind that we are maintaining this as an open source project.