Commit 68cafb38 authored by Ramya Authappan's avatar Ramya Authappan Committed by Rémy Coutable

Enabling performance metrics on Review Apps

parent 8bc3c69e
......@@ -1045,6 +1045,20 @@ review-qa-all:
- gitlab-qa Test::Instance::Any "${QA_IMAGE}" "${CI_ENVIRONMENT_URL}"
when: manual
<<: *review-qa-base
- mkdir gitlab-exporter
- wget -O ./gitlab-exporter/index.js
- mkdir sitespeed-results
- docker run --shm-size=1g --rm -v "$(pwd)":/ sitespeedio/ --plugins.add ./gitlab-exporter --outputFolder sitespeed-results "$CI_ENVIRONMENT_URL"
- mv sitespeed-results/data/performance.json performance.json
- sitespeed-results/
performance: performance.json
<<: *review-base
<<: *single-script-job
......@@ -95,6 +95,14 @@ You can also manually start the `review-qa-all`: it runs the full QA suite.
Note that both jobs first wait for the `review-deploy` job to be finished.
## Performance Metrics
On every [pipeline][gitlab-pipeline] during the `test` stage, the
`review-performance` job is automatically started: this job does basic
browser performance testing using [ Container]( .
This job waits for the `review-deploy` job to be finished.
## How to?
### Log into my Review App?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment