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

How to run the executor and publisher files locally in VS Code instead of Github or DEvOps is that possible? #661

Closed Amithahb closed 2 months ago

Amithahb commented 2 months ago

Release version

v6.0.2-alpha.1.0.3

Question Details

How to run the executor and publisher file locally instead of GitHub or DevOps is that possible? If so

Can you please share the steps how to run exe file using parameters file.

Expected behavior

How to run the executor and publisher file locally instead of GitHub or DevOps is that possible? If so

Can you please share the steps how to run exe file locally VS code using parameters file.

Actual behavior

How to run the executor and publisher file locally instead of GitHub or DevOps is that possible? If so

Can you please share the steps how to run exe file locally using VS code using parameters file.

Reproduction Steps

How to run the executor and publisher file locally instead of GitHub or DevOps is that possible? If so

Can you please share the steps how to run exe file locally using VS code using parameters file.

github-actions[bot] commented 2 months 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 2 months ago

Yes. Simply run the extractor and the publisher executable in an environment where .net is installed. The only thing to keep in mind is that within the pipelines, we do utilize a task called replace tokens which replaces place holders for secrets in your configuration overrides with the actual secrets at runtime so you would have to reproduce that step yourself Inside your local environment. Also, in the future please take a look at other closed issues in the future as I believe this has been discussed before.