Unverified Commit 173c275b authored by drebs's avatar drebs
Browse files

Remove benchmark templates and jobs from CI

parent f9e4049b
Pipeline #20906 passed with stages
in 49 minutes and 26 seconds
......@@ -151,49 +151,3 @@ package:amd64_bionic:
# unless a manpage is included (see #8895)
LINTIAN_OPTS: "--fail-on-warnings -X filename-length,manpages --suppress-tags build-depends-on-obsolete-package"
<<: *package
#
# "benchmarks" stage
#
.job_template: &benchmark
stage: benchmarks
only:
- schedules
image: 0xacab.org:4567/leap/soledad:latest
tags:
- benchmark
services:
- couchdb
before_script:
- git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
- '[ -n "${BENCHMARK_ALL_COMMITS}" ] && git checkout origin/master scripts/benchmark/setup-all-commits-env.sh'
- '[ -n "${BENCHMARK_ALL_COMMITS}" ] && ./scripts/benchmark/setup-all-commits-env.sh'
- curl -s couchdb:5984
# You can provide a $NETRC variable containing the creds for your
# elasticsearch instance so it's protected from being leaked in the
# CI console
# We can't get it working inside docker for unknown reasons.
# - echo "$NETRC" > /root/.netrc && chmod 600 /root/.netrc
#
# Add $PYTEST_OPTS to pytest.ini to allow posting benchmark tests
# to an elasticsearch instance
- echo "addopts=$PYTEST_OPTS" >> pytest.ini && chmod 600 pytest.ini
after_script:
# Output locally saved benchmarks if they exist
- 'if [ -d .benchmarks ]; then find .benchmarks -type f -exec cat {} \; ; fi'
time-cpu:
<<: *benchmark
script:
- scripts/benchmark/run-benchmarks-ci-job.sh benchmark-time-cpu
memory:
<<: *benchmark
script:
- scripts/benchmark/run-benchmarks-ci-job.sh benchmark-memory
responsiveness:
<<: *benchmark
script:
- scripts/benchmark/run-benchmarks-ci-job.sh responsiveness
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment