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
5532016c
Commit
5532016c
authored
Jun 11, 2020
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress progress on pulling on Performance Test
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
e7631cb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
changelogs/unreleased/221189-suppress-progress-on-pulling-image-on-auto-browser-performance-tes.yml
...ress-on-pulling-image-on-auto-browser-performance-tes.yml
+5
-0
lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
.../templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
+4
-2
No files found.
changelogs/unreleased/221189-suppress-progress-on-pulling-image-on-auto-browser-performance-tes.yml
0 → 100644
View file @
5532016c
---
title
:
Suppress progress on pulling on Performance Test
merge_request
:
34368
author
:
Takuya Noguchi
type
:
other
lib/gitlab/ci/templates/Jobs/Browser-Performance-Testing.gitlab-ci.yml
View file @
5532016c
...
...
@@ -4,6 +4,7 @@ performance:
allow_failure
:
true
variables
:
DOCKER_TLS_CERTDIR
:
"
"
SITESPEED_IMAGE
:
"
sitespeedio/sitespeed.io:11.2.0"
services
:
-
docker:19.03.11-dind
script
:
...
...
@@ -17,13 +18,14 @@ performance:
-
mkdir gitlab-exporter
-
wget -O gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/1.0.0/index.js
-
mkdir sitespeed-results
-
docker pull --quiet ${SITESPEED_IMAGE}
-
|
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:11.2.0
--plugins.add ./gitlab-exporter --outputFolder sitespeed-results .gitlab-urls.txt
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io
${SITESPEED_IMAGE}
--plugins.add ./gitlab-exporter --outputFolder sitespeed-results .gitlab-urls.txt
else
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"
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io
${SITESPEED_IMAGE}
--plugins.add ./gitlab-exporter --outputFolder sitespeed-results "$CI_ENVIRONMENT_URL"
fi
-
mv sitespeed-results/data/performance.json performance.json
artifacts
:
...
...
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