Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
renestalder opened this issue Mar 5, 2021 · 1 comment
Open

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

renestalder opened this issue Mar 5, 2021 · 1 comment
Labels
bug Something isn't working infos needed Extra informations are needed

Comments

@renestalder
Copy link

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?

@mdubourg001 mdubourg001 added the bug Something isn't working label Mar 5, 2021
@mdubourg001
Copy link
Owner

I'm sorry but I am not able to reproduce with the exact example you provided, could you give some more informations about your OS, and the version of glci you're using ?

@mdubourg001 mdubourg001 added the infos needed Extra informations are needed label Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infos needed Extra informations are needed
Projects
None yet
Development

No branches or pull requests

2 participants