summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-20 15:42:51 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-21 16:29:35 -0600
commit9a11acabb90ca0bd0826c5c21b09f96015337537 (patch)
tree4fdc6d6de7de30ac0e7de1ee6c37987d6dcd3eba /.gitlab-ci.yml
parentcac59408a58a8c6d2c3ce4fa5a27161a186b5ed5 (diff)
downloadgitlab-ce-9a11acabb90ca0bd0826c5c21b09f96015337537.tar.gz
add webpack bundle analyzer to production output
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index becf2db85fb..e9a1cbc29f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -250,7 +250,14 @@ rake gitlab:assets:compile:
SETUP_DB: "false"
USE_DB: "false"
SKIP_STORAGE_VALIDATION: "true"
- script: bundle exec rake yarn:install gitlab:assets:compile
+ WEBPACK_REPORT: "true"
+ script:
+ - bundle exec rake yarn:install gitlab:assets:compile
+ artifacts:
+ name: webpack-report
+ expire_in: 31d
+ paths:
+ - webpack-report/
rake karma:
cache:
@@ -400,6 +407,7 @@ pages:
dependencies:
- coverage
- rake karma
+ - rake gitlab:assets:compile
- lint:javascript:report
script:
- mv public/ .public/
@@ -407,6 +415,7 @@ pages:
- mv coverage/ public/coverage-ruby/ || true
- mv coverage-javascript/ public/coverage-javascript/ || true
- mv eslint-report.html public/ || true
+ - mv webpack-report/ public/webpack-report/ || true
artifacts:
paths:
- public