This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
gitlab-ci.yml [2018/02/06 20:40] – created admin | gitlab-ci.yml [2018/02/07 07:46] – admin | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Sitespeed.io Performance Test ===== | ===== Sitespeed.io Performance Test ===== | ||
- | Allow gitlab-runner to run docker containers in '' | + | <note tip>Allow gitlab-runner to run docker containers in '' |
Add '' | Add '' | ||
Line 22: | Line 22: | ||
</ | </ | ||
+ | ==== Configure Job ==== | ||
<code yaml gitlab-ci.yml> | <code yaml gitlab-ci.yml> | ||
Line 27: | Line 28: | ||
- performance | - performance | ||
- ... | - ... | ||
+ | |||
+ | variables: | ||
+ | CI_ENVIRONMENT_URL: | ||
+ | ... | ||
performance: | performance: | ||
- | <<: *add_ssh_support | ||
stage: performance | stage: performance | ||
image: docker:git | image: docker:git | ||
services: | services: | ||
- docker:dind | - docker:dind | ||
+ | variables: | ||
+ | GIT_STRATEGY: | ||
+ | GIT_CHECKOUT: | ||
script: | script: | ||
+ | - export CI_ENVIRONMENT_URL=${CI_ENVIRONMENT_URL} | ||
- mkdir sitespeed-results | - mkdir sitespeed-results | ||
- | - docker run --privileged --shm-size=1g --rm -v " | + | - docker run --privileged --shm-size=1g --rm -v " |
artifacts: | artifacts: | ||
+ | name: " | ||
paths: | paths: | ||
- sitespeed-results/ | - sitespeed-results/ | ||
Line 43: | Line 52: | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Codeclimate Code Analysis ===== | ||
+ | |||
+ | ... blabla here ... | ||
+ | |||
+ | ===== Codeception thingies here ===== | ||
+ | |||
+ | ... blabla here ... |