I’m having issues with the auto-deploy step. I’ve set up a kubernetes cluster on Google Cloud and have added Gitlab runners via the helm chart. I have also added the Gitlab agent to my cluster and created a repository in my group which holds the agent config. I then enabled access for my group’s projects by adding the following to the agent config:
ci_access: groups: - id: my-group
I then setup auto-devops for my express app project. Jobs run successfully on my Kubernetes cluster (build, test, sast,…) except the deploy to production step. There I get the following output for my job:
.... Executing "step_script" stage of the job script $ auto-deploy check_kube_domain error: current-context must exist in order to minify Uploading artifacts for failed job Uploading artifacts... WARNING: environment_url.txt: no matching files WARNING: tiller.log: no matching files ERROR: No files to upload Cleaning up project directory and file based variables ERROR: Job failed: command terminated with exit code 1
Any ideas what’s causing the error
error: current-context must exist in order to minify?
Any help would be appreciated