summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksei Lipniagov <alipniagov@gitlab.com>2019-06-25 14:32:06 +0300
committerAleksei Lipniagov <alipniagov@gitlab.com>2019-06-25 14:32:06 +0300
commit312c5f25b0c872dce39564b242ee89d9d978e8c5 (patch)
treef9290a5cd3ce1e5d3779262d7ce95e25ef610b1f
parent5083ebf78c04b4910894c9c70857cbb5d24dbe50 (diff)
downloadgitlab-ce-62722-boot-app-in-ci-and-check-memory-usage.tar.gz
-rw-r--r--.gitlab/ci/memory.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/ci/memory.gitlab-ci.yml b/.gitlab/ci/memory.gitlab-ci.yml
index 5debfbf14d2..9ebd367818d 100644
--- a/.gitlab/ci/memory.gitlab-ci.yml
+++ b/.gitlab/ci/memory.gitlab-ci.yml
@@ -43,7 +43,9 @@ memory-on-boot:
DOCKER_HOST: tcp://docker:2375
script:
- RAILS_ENV=production bundle exec rails c
- - RAILS_ENV=production PATH_TO_HIT="/users/sign_in" CUT_OFF=0 bundle exec derailed exec perf:mem || true; echo "after bundle"
+ - yarn install
+ - RAILS_ENV=production bundle exec rake webpack:compile
+ - RAILS_ENV=production PATH_TO_HIT="/users/sign_in" CUT_OFF=0 bundle exec derailed exec perf:mem || true
artifacts:
paths:
- log/production.log