Skip to content

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

  1. Log into GitLab
  2. (To-be removed) Enable feature flag :ci_wildcard_file_paths gitlab-org/gitlab#327315 (closed)
  3. 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
  4. Visit project
  5. Go to latest pipeline (no need to wait for completion here)
  6. 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
  7. Disable feature flag (To-be removed) and remove project at teardown.
Edited by GitLab QA Bot