-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
elaborateFurther elaboration is neededFurther elaboration is needed
Description
Minimal .gitlab-ci.yml illustrating the issue
include:
- component: $CI_SERVER_FQDN/snake_coders/tools/ci/[email protected]But the python-tests component is defined in such a structuer:
$ find templates/security
templates/python-tests
templates/python-tests/template.yml
templates/python-tests/README.mdThen
python-tests/template.yml includes another component:
spec:
component: [sha]
…
---
include:
- component: $CI_SERVER_FQDN/snake_coders/tools/ci/python-base@$[[ component.sha ]]The bug only appear when component A includes component B.
The component include is transformed into a project/file component (parser-includes.js file, init function) in the following code:
if (!fs.existsSync(localFileName) && !(await Utils.remoteFileExist(cwd, f, ref, domain, projectPath, gitData.remote.schema, gitData.remote.port))) {
continue;
}
const fileDoc = {
include: {
project: projectPath,
file: f,
ref: ref,
inputs: value.inputs || {},
},
};Metadata
Metadata
Assignees
Labels
elaborateFurther elaboration is neededFurther elaboration is needed