Draft: Export QA knapsack report
What does this MR do and why?
The test suite completes this copies the new knapsack report to a location that can be accessed outside the docker container and saved as an artifact.
How to set up and validate locally
The following command will use the image generated from the changes in this MR. It will run one test against a GitLab instance running at 127.0.0.1:3000
and will copy the knapsack report to /tmp/gitlab-qa/knapsack_master_report.json
on the host machine.
docker run -t \
--env KNAPSACK_GENERATE_REPORT=true \
--env KNAPSACK_REPORT_PATH=knapsack/master_report.json \
--env KNAPSACK_TEST_FILE_PATTERN="qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb"
--volume /var/run/docker.sock:/var/run/docker.sock:z \
--volume /tmp/gitlab-qa:/home/gitlab/qa/tmp:z \
--name gitlab-ee-qa \
registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee-qa:714da08ff4cbc5aad08abb5a02528a52f54e77e7 \
Test::Instance::All http://127.0.0.1:3000
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mark Lapierre