summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2018-11-15 08:44:02 -0200
committerdrebs <drebs@leap.se>2018-11-15 08:44:02 -0200
commit173c275b4f4758d7c3c0cfae11ae48aa708de39d (patch)
treed6976103f226949c89a7f34b3d4a872282ebc3de
parentf9e4049b2f66153d2a96cfc4c2efd3531f1de452 (diff)
Remove benchmark templates and jobs from CI
-rw-r--r--.gitlab-ci.yml46
1 files changed, 0 insertions, 46 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2b72b5c..e4f3fc16 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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