Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .gitlab/macrobenchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
stages:
- macrobenchmarks
- gate
- notify

include:
project: 'DataDog/benchmarking-platform-tools'
file: 'images/templates/gitlab/notify-slo-breaches.template.yml'

.macrobenchmarks:
stage: macrobenchmarks
rules:
Expand Down Expand Up @@ -69,3 +78,26 @@ only-tracing-with-runtime-metrics-enabled:
variables:
DD_BENCHMARKS_CONFIGURATION: only-tracing
DD_RUNTIME_METRICS_ENABLED: "true"

check-slo-breaches:
stage: gate
when: always
tags: ["arch:amd64"]
image: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:latest
artifacts:
name: "artifacts"
when: always
paths:
- platform/artifacts/
expire_in: 3 months
script:
- cd platform && (git init && git remote add origin https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/benchmarking-platform && git pull origin js/hapi)
- bp-runner bp-runner.fail-on-breach.yml

notify-slo-breaches:
extends: .notify-slo-breaches
stage: notify
needs: ["check-slo-breaches"]
when: always
variables:
CHANNEL: "guild-dd-node-js"
Loading