diff options
author | Joshua Lambert <joshua@gitlab.com> | 2018-02-20 15:51:12 -0500 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2018-02-20 15:51:12 -0500 |
commit | 54830fdcab2417b106825c5a5834c4f438d0b0ca (patch) | |
tree | 958f3fe7f872427144facf73ccd7f17f9712bc2c /doc/ci | |
parent | 69e0bfbfcaaee847457f995b2558355160098f23 (diff) | |
download | gitlab-ce-54830fdcab2417b106825c5a5834c4f438d0b0ca.tar.gz |
Additional updates
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/examples/browser_performance.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/ci/examples/browser_performance.md b/doc/ci/examples/browser_performance.md index 9d8c14fb154..cd23b0ac1d7 100644 --- a/doc/ci/examples/browser_performance.md +++ b/doc/ci/examples/browser_performance.md @@ -14,9 +14,9 @@ Once you set up the Runner, add a new job to `.gitlab-ci.yml`, called `performan - docker:dind script: - mkdir gitlab-exporter - - wget -O ./gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/master/index.js + - wget -O ./gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/10-5/index.js - mkdir sitespeed-results - - docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io --plugins.add ./gitlab-exporter --outputFolder sitespeed-results https://my.website.com + - docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:6.3.1 --plugins.add ./gitlab-exporter --outputFolder sitespeed-results https://my.website.com - mv sitespeed-results/data/performance.json performance.json artifacts: paths: @@ -46,8 +46,11 @@ A simple `performance` job would look like: - docker:dind script: - export CI_ENVIRONMENT_URL=$(cat environment_url.txt) + - mkdir gitlab-exporter + - wget -O ./gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/10-5/index.js - mkdir sitespeed-results - - docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io --outputFolder sitespeed-results $CI_ENVIRONMENT_URL + - docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:6.3.1 --plugins.add ./gitlab-exporter --outputFolder sitespeed-results "$CI_ENVIRONMENT_URL" + - mv sitespeed-results/data/performance.json performance.json artifacts: paths: - performance.json |