Added ability to add extra hosts for the runners
This commit is contained in:
@@ -12,9 +12,6 @@ services:
|
|||||||
- ${GITLAB_TOKEN}
|
- ${GITLAB_TOKEN}
|
||||||
- --executor
|
- --executor
|
||||||
- "docker"
|
- "docker"
|
||||||
- --docker-image
|
|
||||||
- docker:latest
|
|
||||||
- --docker-privileged
|
|
||||||
{{- if .Values.GITLAB_RUNNER_DESCRIPTION}}
|
{{- if .Values.GITLAB_RUNNER_DESCRIPTION}}
|
||||||
- --description
|
- --description
|
||||||
- ${GITLAB_RUNNER_DESCRIPTION}
|
- ${GITLAB_RUNNER_DESCRIPTION}
|
||||||
@@ -24,6 +21,13 @@ services:
|
|||||||
- ${GITLAB_TAGS}
|
- ${GITLAB_TAGS}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
- --locked=false
|
- --locked=false
|
||||||
|
- --docker-image
|
||||||
|
- docker:latest
|
||||||
|
- --docker-privileged
|
||||||
|
{{- if .Values.GITLAB_IP}}
|
||||||
|
- --docker-extra-hosts
|
||||||
|
- ["gitlab:${GITLAB_IP}"]
|
||||||
|
{{- end}}
|
||||||
{{- if .Values.GITLAB_LINK}}
|
{{- if .Values.GITLAB_LINK}}
|
||||||
external_links:
|
external_links:
|
||||||
- ${GITLAB_LINK}{{- if .Values.GITLAB_LINK_ALIAS}}:${GITLAB_LINK_ALIAS}{{- end}}
|
- ${GITLAB_LINK}{{- if .Values.GITLAB_LINK_ALIAS}}:${GITLAB_LINK_ALIAS}{{- end}}
|
||||||
|
|||||||
@@ -66,6 +66,14 @@ catalog:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
- variable: "GITLAB_IP"
|
||||||
|
label: "Local GitLab IP"
|
||||||
|
description: |
|
||||||
|
(Optional) The local IP address of the GitLab service.
|
||||||
|
# default: ""
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
- variable: "DATA_DIR"
|
- variable: "DATA_DIR"
|
||||||
label: "Data Directory"
|
label: "Data Directory"
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Reference in New Issue
Block a user