test:add pipelines to test cluster creation
Description
This PR adds pipelines to test that the Digital Ocean provider can create and destroy a cluster.
Related changes are to make this work.
- When creating infrastructure, it's no longer needed to run the terraform commands in stages for DO anymore.
- When destroying, the main vpc gets destroyed as well without the user needing to run the destroy again.
At this stage, the pipeline is manually trigerred. Once merged, I'll set it up to run once per day on a schedule.
Testing instructions
- Check the pipeline: https://gitlab.com/opencraft/devstacks/keith/grove-do/-/pipelines/644254991
- Read through the code
Checklist
If any of the items below is not applicable, do not remove them, but put a check in it.
-
All providers include the new feature/change -
All affected providers can provision new clusters -
Unit tests are added/updated -
Documentation is added/updated -
The TOOLS_CONTAINER_IMAGE_VERSION
in ci_vars.yml is updated -
The grove-template repository is updated
Edited by Keith Grootboom