Hey everyone,
I have an .gitlab-ci.yml
using the include remote:
include:
remote: 'http://myprivategitlab.com/test_group/terraform/raw/master/.terraform-validate.yml'
And the remote file terraform-validate.yml
(this repository has the public access):
image:
name: hashicorp/terraform:latest
entrypoint:
- '/usr/bin/env'
- 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
before_script:
- rm -rf .terraform
- terraform --version
- terraform init
stages:
- validate
validate:
stage: validate
script:
- terraform validate
only:
- master
- develop
But, i receive this error from the GitlabCi Lint:
Found errors in your .gitlab-ci.yml:
Undefined error
You can also test your .gitlab-ci.yml in CI Lint
I’ve tried move this repository to outside the group, but i’s not working too.
I’m using Gitlab version 11.11.0 CE
Any suggestion?, i’m following the docs: https://docs.gitlab.com/ee/ci/yaml/includes.html
Best regards,