Skip to content

Add test projects

Fabien Catteau requested to merge 297361-add-test-projects into master

What does this MR do?

Copy test projects to the qa/fixtures directory so that image integration tests can run without fetching them. Image integration tests no longer rely on external projects, and tests are easier to read and review.

Moving test projects to the analyzer project is a step toward using child pipelines to run job integration tests.

Also, introduce new project directories for these cases:

  • go-modules with go.sum in a sub-directory
  • php-composer with a broken composer.json
  • ruby-bundler with gems.rb instead of Gemfile.lock

Prior to this MR, this test cases where covered by altering the test projects right before the scan.

This sits on top of !208 (merged).

Compared to !208 (merged), execution time of image test is down to 30s.

What are the relevant issue numbers?

gitlab-org/gitlab#297361 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports