Remove benchmark templates and jobs from CI
authordrebs <drebs@leap.se>
Thu, 15 Nov 2018 10:44:02 +0000 (08:44 -0200)
committerdrebs <drebs@leap.se>
Thu, 15 Nov 2018 10:44:02 +0000 (08:44 -0200)
.gitlab-ci.yml

index c2b72b5..e4f3fc1 100644 (file)
@@ -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