Create a docker image for CI jobs
Create a docker image for CI & developer use, that matches the tools needed for deployment.
Currently, !10 (merged) brings in CI based upon the AutoDevOps template. This template currently installs the helm & kubectl binaries into the container at runtime. We can improve upon this by creating a Container that has these pre-installed. The downside to this is that we'll have to manage the versions of kubectl
individually as opposed to automatically updating per-run based upon the upstream releases file from the kubernetes project. I don't see this as overly complicated.
While the documentation in !9 (merged) speak of the gcloud-sdk, the CI docker image does not specifically require this, as it get the k8s cluster information from the Project variables.
Needs: see install_dependencies()
from .auto_devops
inside the .gitlab-ci.yml
added by !10 (merged)
- Helm
- kubectl
- Preferably based on
alpine:latest
cc @pcarranza per !9 (merged)