Skip to content

Documented Options do not work in Auto Devops Browser Performance Testing

Summary

Browser Performance Testing documents SITESPEED_OPTIONS and suggests the use of this template However in the Autodevops template

- template: Jobs/Browser-Performance-Testing.gitlab-ci.yml  # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml

Which is a different file altogether and does not support the options. https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml

Auto devops should use the documented browser performance testing and allow SITESPEED_OPTIONS to be set.

Possible fixes

In Auto Devops template.

- template: Verify/Browser-Performance-Testing.gitlab-ci.yml  # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Verify/Browser-Performance.gitlab-ci.yml
Edited by James Keogh