terraform-google-modules / terraform-google-gke-gitlab

Installs GitLab on Kubernetes Engine

Home Page:https://registry.terraform.io/modules/terraform-google-modules/gke-gitlab/google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does gitlab-runner works ?

ryo-egch opened this issue · comments

environment

  • GKE

  • helm version

version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"dirty", GoVersion:"go1.15.4"}

based on document, I set gitlab_runner_install = true for using gitlab runner.
deploying gitlab on GKE worked well, and gitlab-gitlab-runner pod was actually running.

Bad when adding ci file and pushing, CI/CD jobs showed the error as below.

ERROR: Job failed (system failure): prepare environment: unable to upgrade connection: container not found ("helper"). Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

repositories source code itself is pretty simple, like

.gitlab-ci.yml

image: python:latest

stages:
  - test
  
job_1:
  stage: test
  script:
    - python hello.py

hello.py

print("hello world")

Is setting gitlab_runner_install = true not correct, or need to set other params ?

Thank you so much in advance

I close this issue because it was bug on gitlab-runner.

Sorry for disturbing