'gitlab-ci include *gitlab-ci yml does not exist
When using the regular include YML configuration file, an error will be reported, indicating that the file does not exist
include:
- local: .gitlab/staging/*.gitlab-ci.yml
Find the error in your .gitlab-ci.yml :
Local file .gitlab/staging/*.gitlab-ci.yml does not exist!
but,it is normal to import one file
include:
- local: .gitlab/staging/oa.gitlab-ci.yml
it works
Solution 1:[1]
Use quotes around the path string, otherwise it will not be interpreted properly.
# This matches all `.yml` files in `configs` and any subfolder in it.
include: 'configs/**.yml'
# This matches all `.yml` files only in subfolders of `configs`.
include: 'configs/**/*.yml'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Richard |
