User Tools

Site Tools


gitlab-ci.yml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gitlab-ci.yml [2018/02/06 22:35]
admin [Sitespeed.io Performance Test]
gitlab-ci.yml [2018/02/07 07:47] (current)
admin [Configure Job]
Line 3: Line 3:
 ===== Sitespeed.io Performance Test ===== ===== Sitespeed.io Performance Test =====
  
-Allow gitlab-runner to run docker containers in ''--privileged'' mode +<note tip>Allow gitlab-runner to run docker containers in ''--privileged'' mode</note> 
  
 Add ''privileged=true'' to gitlab-runners /etc/gitlab-runner/config.toml : Add ''privileged=true'' to gitlab-runners /etc/gitlab-runner/config.toml :
Line 22: Line 22:
 </code> </code>
  
 +==== Configure Job ====
  
 <code yaml gitlab-ci.yml> <code yaml gitlab-ci.yml>
Line 45: Line 46:
     - docker run --privileged --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io --outputFolder sitespeed-results $CI_ENVIRONMENT_URL -d 1 -n 1     - docker run --privileged --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io --outputFolder sitespeed-results $CI_ENVIRONMENT_URL -d 1 -n 1
   artifacts:   artifacts:
-    name: "${CI_ENVIRONMENT_URL}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"+    name: "${CI_ENVIRONMENT_URL}_${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}" # Name artifact file
     paths:     paths:
     - sitespeed-results/     - sitespeed-results/
Line 51: Line 52:
  
 </code> </code>
 +
 +
 +===== Codeclimate Code Analysis =====
 +
 +... blabla here ...
 +
 +===== Codeception thingies here =====
 +
 +... blabla here ...
gitlab-ci.yml.1517952930.txt.gz · Last modified: 2018/02/06 22:35 by admin