Skip to content

Extends with included, local yml files doesn't find job #33

@renestalder

Description

@renestalder

When trying to use extends with a job defined in locally included yml file, glci 0.4.1 tells me, Can't extend job '.docker_build': job doesn't exist..

Simplified example:

docker.yml

.docker_build:
  image: docker:stable
  scripts:
    .

.gitlab-ci.yml

include:
  - local: '/gitlab-ci-templates/docker.yml'

my job:
  extends: .docker_build
  variables:
    ...

That example works on GitLab.com.

Is this a limitation of glci or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginfos neededExtra informations are needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions