How to Run Apidog CLI API Tests in Drone CI Pipelines
Developers can integrate Apidog CLI into Drone CI by adding a Docker step that uses a Node image to install apidog-cli and execute test scenarios via the apidog run command. The pipeline is configured through a .drone.yml file placed at the repository root, where each step runs inside its own Docker container for reproducibility and easier debugging. Apidog access tokens should be stored as Drone Secrets and injected into the pipeline using the from_secret directive to avoid hardcoding credentials. The setup supports filtering runs by branch or event type, and reports can be exported in formats such as HTML, JSON, or JUnit since Drone lacks built-in artifact storage. This approach allows teams to reuse test scenarios designed in the Apidog UI directly in CI without maintaining separate collection files or test scripts.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in