Is there any documentation (or examples) of how to run an application in k8s in a CI/CD pipeline job?
We are trying to port out existing CI to GitLab CI.
We use docker, skaffold and k3d to build and deploy our app locally to then run Selenium tests against.
We would like to use the k8s runner and do the following:
- Build our app images (currently working)
- Start a local k8s cluster and deploy our app to it (our existing k3d code doesn’t work with DinD)
- Run Selenium tests against it
Is there prior art for this pattern? We’ve searched but haven’t found anything, and we’ve tried using and modifying our existing k3d setup but to no avail, hence posting here.