MySQL: 7. Check that nothing is left

This documentation is part of the CI pipelines with GitHub Actions and GitLab CI guide. You can view the complete guide here: Launch a real MySQL service from your GitHub Actions or GitLab CI pipeline, run your tests against it, and automatically tear it down.

👋 Welcome to the Stackhero documentation!

Stackhero offers a fully managed MySQL cloud service that streamlines deployment and management for your production workloads:

  • Unlimited connections and data transfers.
  • Integrated phpMyAdmin web interface for simplified database management.
  • Effortless updates with one-click upgrades.
  • Consistent performance and enhanced security on a private, dedicated infrastructure.

With Stackhero, you get a reliable MySQL database ready in just a few minutes. Spend less time on setup and maintenance, and focus on developing your applications. Try MySQL cloud hosting on Stackhero today.

A runner that is killed abruptly (for example, a lost machine) cannot run its cleanup. To see the services left in your CI stack, run:

stackhero services-list --stack="CI"

Between two runs, this list should be empty. You can delete a leftover service with stackhero service-delete --service=svc-xxxxxx --confirm.

That is the complete CI lifecycle for MySQL: add the service to your CI stack, wait, retrieve credentials, smoke-test, and always delete it. Each pipeline run gets a real, isolated service, and nothing is left running when you are done. For more information about available commands and non-interactive STACKHERO_TOKEN authentication, you may want to explore the full CLI documentation.