browser_ui/4_verify/pipeline/include_local_config_file_paths_with_wildcard_spec.rb | Verify Include local config file paths with wildcard runs the pipeline with composed config
This E2E test verify scenario where .gitlab-ci.yml
has rule include
which tells main CI config to include configs specified in any and all other local .yml
files in the specified path with wildcard *.yml
.
Steps
- Log into GitLab
- (To-be removed) Enable feature flag
:ci_wildcard_file_paths
gitlab-org/gitlab#327315 (closed) - Add multiple files to project via API:
- First local config file
configs/build.yml
- Second local config file
configs/test.yml
- A non detectable file (can only include
.yml
file,.yaml
file will not be considered)configs/deploy.yaml
- Main CI file
.gitlab-ci.yml
- First local config file
- Visit project
- Go to latest pipeline (no need to wait for completion here)
- On pipeline page, verify:
- Pipeline has job
build
from local config file - Pipeline has job
test
from local config file - Pipeline does not have job
deploy
- Pipeline has job
- Disable feature flag (To-be removed) and remove project at teardown.
Edited by GitLab QA Bot