Skip to content
代码片段 群组 项目
提交 615981ea 编辑于 作者: Brett Walker's avatar Brett Walker 提交者: Rémy Coutable
浏览文件

Add manual job for running Banzai benchmarks

The job is called “benchmark-markdown” and is in
the “post-test” stage.
上级 45d3f507
No related branches found
No related tags found
无相关合并请求
......@@ -13,6 +13,7 @@ stages:
- pages
- notify
- release-environments
- benchmark
# always use `gitlab-org` runners, however
# in cases where jobs require Docker-in-Docker, the job
......
benchmark-markdown:
extends:
- .single-db-ci-connection
- .rails-job-base
- .use-pg14
- .benchmark:rules:benchmark-markdown
stage: benchmark
needs:
- setup-test-env
script:
- section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"; # Do not use 'bundle exec' here
- bundle exec rake benchmark:banzai &> benchmark-markdown.txt
artifacts:
when: always
paths:
- benchmark-markdown.txt
allow_failure: true
......@@ -2473,9 +2473,9 @@
- ".gitlab/ci/test-metadata.gitlab-ci.yml"
- "scripts/rspec_helpers.sh"
#######################
###################
# Preflight rules #
#######################
###################
.preflight:rules:rails-production-server-boot:
rules:
......@@ -2605,3 +2605,14 @@
- <<: *if-merge-request-labels-pipeline-expedite
when: never
- !reference [".releases:rules:canonical-dot-com-gitlab-stable-branch-only-setup-test-env-patterns", rules]
###################
# Benchmark rules #
###################
.benchmark:rules:benchmark-markdown:
rules:
- <<: *if-default-refs
changes: *setup-test-env-patterns
when: manual
- <<: *if-merge-request-labels-run-all-rspec
when: manual
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册