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
f9dc593a
Commit
f9dc593a
authored
Oct 04, 2019
by
Erick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move template to correct Verify directory
parent
1ffe713d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
doc/user/project/merge_requests/browser_performance_testing.md
...ser/project/merge_requests/browser_performance_testing.md
+4
-4
lib/gitlab/ci/templates/Verify/Browser-Performance.gitlab-ci.yml
...lab/ci/templates/Verify/Browser-Performance.gitlab-ci.yml
+1
-0
No files found.
doc/user/project/merge_requests/browser_performance_testing.md
View file @
f9dc593a
...
...
@@ -81,7 +81,7 @@ Add the following to your `.gitlab-ci.yml` file:
```
yaml
include
:
template
:
Browser-Performance.gitlab-ci.yml
template
:
Verify/
Browser-Performance.gitlab-ci.yml
performance
:
variables
:
...
...
@@ -109,7 +109,7 @@ will make on the given URL:
```
yaml
include
:
template
:
Browser-Performance.gitlab-ci.yml
template
:
Verify/
Browser-Performance.gitlab-ci.yml
performance
:
variables
:
...
...
@@ -138,8 +138,8 @@ set this up:
in your job's
`script`
.
1.
In the
`performance`
job, read the previous artifact into an environment
variable, in this case
`$URL`
because this is what our sitespeed.io command
uses for the URL parameter.
Notice that we are defining the
`URL`
variabl
e
through
`before_script`
instead of
`variables`
.
uses for the URL parameter.
Because Review App URLs are dynamic, we defin
e
th
e
`URL`
variable th
rough
`before_script`
instead of
`variables`
.
1.
You can now run the sitespeed.io container against the desired hostname and
paths.
...
...
lib/gitlab/ci/templates/Browser-Performance.gitlab-ci.yml
→
lib/gitlab/ci/templates/
Verify/
Browser-Performance.gitlab-ci.yml
View file @
f9dc593a
...
...
@@ -23,6 +23,7 @@ performance:
-
mv sitespeed-results/data/performance.json performance.json
artifacts
:
paths
:
-
performance.json
-
sitespeed-results/
reports
:
performance
:
performance.json
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