Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f810bce5
Commit
f810bce5
authored
Nov 20, 2019
by
Erick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sitespeed to 11.2.0
parent
eb10fa5c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
.../templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
+3
-3
lib/gitlab/ci/templates/Verify/Browser-Performance.gitlab-ci.yml
...lab/ci/templates/Verify/Browser-Performance.gitlab-ci.yml
+1
-1
No files found.
lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
View file @
f810bce5
...
...
@@ -15,15 +15,15 @@ performance:
fi
-
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/1
0-5
/index.js
-
wget -O gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/1
.0.0
/index.js
-
mkdir sitespeed-results
-
|
if [ -f .gitlab-urls.txt ]
then
sed -i -e 's@^@'"$CI_ENVIRONMENT_URL"'@' .gitlab-urls.txt
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:
6.3.1
--plugins.add ./gitlab-exporter --outputFolder sitespeed-results .gitlab-urls.txt
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:
11.2.0
--plugins.add ./gitlab-exporter --outputFolder sitespeed-results .gitlab-urls.txt
else
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"
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:
11.2.0
--plugins.add ./gitlab-exporter --outputFolder sitespeed-results "$CI_ENVIRONMENT_URL"
fi
-
mv sitespeed-results/data/performance.json performance.json
artifacts
:
...
...
lib/gitlab/ci/templates/Verify/Browser-Performance.gitlab-ci.yml
View file @
f810bce5
...
...
@@ -11,7 +11,7 @@ performance:
image
:
docker:git
variables
:
URL
:
https://example.com
SITESPEED_VERSION
:
6.3.1
SITESPEED_VERSION
:
11.2.0
SITESPEED_OPTIONS
:
'
'
services
:
-
docker:stable-dind
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment