diff options
author | Rémy Coutable <remy@rymai.me> | 2019-06-28 18:55:54 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-06-28 18:55:54 +0300 |
commit | 7c38c0b4b2e43ae86ca32ea3363707e89544152f (patch) | |
tree | 3c56ac3ef0a25368929a6d9453ff92ccc8955ddc /.gitlab/ci | |
parent | fd5772a8ff96e576a640edcc8dc49fd8625ab002 (diff) |
Revert "Merge branch '62722-boot-app-in-ci-and-check-memory' into 'master'"
This reverts merge request !30031
Diffstat (limited to '.gitlab/ci')
-rw-r--r-- | .gitlab/ci/memory.gitlab-ci.yml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/.gitlab/ci/memory.gitlab-ci.yml b/.gitlab/ci/memory.gitlab-ci.yml index ffe5dbdc31b..2f3907a331a 100644 --- a/.gitlab/ci/memory.gitlab-ci.yml +++ b/.gitlab/ci/memory.gitlab-ci.yml @@ -17,26 +17,3 @@ memory-static: - tmp/memory_*.txt reports: metrics: tmp/memory_metrics.txt - -# Show memory usage caused by invoking require per gem. -# Unlike `memory-static`, it hits the app with one request to ensure that any last minute require-s have been called. -# The application is booted in `production` environment. -# All tests are run without a webserver (directly using Rack::Mock by default). -memory-on-boot: - extends: .rspec-metadata-pg-10 - variables: - NODE_ENV: "production" - RAILS_ENV: "production" - SETUP_DB: "true" - SKIP_STORAGE_VALIDATION: "true" - # we override the max_old_space_size to prevent OOM errors - NODE_OPTIONS: --max_old_space_size=3584 - script: - # Both bootsnap and derailed monkey-patch Kernel#require, which leads to circular dependency - - DISABLE_BOOTSNAP=true PATH_TO_HIT="/users/sign_in" CUT_OFF=0.3 bundle exec derailed exec perf:mem >> 'tmp/memory_on_boot.txt' - - scripts/generate-memory-metrics-on-boot tmp/memory_on_boot.txt >> 'tmp/memory_on_boot_metrics.txt' - artifacts: - paths: - - tmp/memory_*.txt - reports: - metrics: tmp/memory_on_boot_metrics.txt |