Skip to content

In CI service definition command can use reference keyword

What does this MR do and why?

In CI service definition command can use reference keyword

Add capability to do this:

.dind-registry-mirror:
  command:
    - "--registry-mirror"
    - "https://mirror.gcr.io"

job_name:
  services:
    - name: docker:dind
      command: 
        - !reference [.dind-registry-mirror, command]
        - "--tls=false"

Signed-off-by: guillaume.micouin-jorda gmicouin@netcourrier.com

Screenshots or screen recordings

Before After
image image

Issue: #517479

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading