Skip to content
Snippets Groups Projects
Verified Commit fc2ae2ea authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Add performance.

parent cfb0bab2
Branches
No related tags found
1 merge request!2Resolve "Code quality and security testing"
Pipeline #3173 passed
...@@ -27,21 +27,28 @@ include: ...@@ -27,21 +27,28 @@ include:
# - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/deps-scan.yml' # - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/deps-scan.yml'
# - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/container-scan.yml' # - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/container-scan.yml'
# - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/dast.yml' # - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/dast.yml'
# - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/quality-security/license-check.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/simple-website/dockerify.yml' - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/simple-website/dockerify.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/simple-website/pages.yml' - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/simple-website/pages.yml'
license-check: performance:
stage: quality-security stage: quality-security
image: image: docker:git
name: "registry.gitlab.com/gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable" variables:
entrypoint: [""] URL: "https://review:$AUTHPASSWORD@$CI_BUILD_REF_NAME-$CI_PROJECT_NAME.review.dbogatov.org"
stage: test services:
allow_failure: true - docker:stable-dind
script: script:
- /run.sh analyze . - mkdir gitlab-exporter
- wget -O ./gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/master/index.js
- mkdir sitespeed-results
- docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:6.3.1 --plugins.add ./gitlab-exporter --outputFolder sitespeed-results $URL
- mv sitespeed-results/data/performance.json performance.json
artifacts: artifacts:
paths:
- sitespeed-results/
reports: reports:
license_management: gl-license-management-report.json performance: performance.json
tags: tags:
- docker - docker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment