Skip to content
Open
Show file tree
Hide file tree
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
15 changes: 12 additions & 3 deletions .gitlab/benchmarks/dsm-throughput.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ stages:
- check-azure-pipeline
- benchmarks

workflow:
auto_cancel:
on_new_commit: interruptible

check_azure_pipeline:
stage: check-azure-pipeline
image: $MACROBENCHMARKS_CI_IMAGE
Expand All @@ -21,15 +25,17 @@ check_azure_pipeline:
expire_in: 3 months
tags: ["arch:amd64"]
timeout: 1h
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- interruptible: true

dsm_throughput:
stage: benchmarks
tags: ["runner:apm-k8s-same-cpu"]
needs: ["check_azure_pipeline"]
image: $DSM_THROUGHPUT_CI_IMAGE
interruptible: true
timeout: 1h
script:
- source build-id.txt
Expand All @@ -44,5 +50,8 @@ dsm_throughput:
paths:
- artifacts/
expire_in: 3 months
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- interruptible: true
26 changes: 20 additions & 6 deletions .gitlab/benchmarks/macrobenchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ stages:
- benchmarks
- benchmarks-win

workflow:
auto_cancel:
on_new_commit: interruptible

variables:
MACROBENCHMARKS_CI_IMAGE: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/benchmarking-platform:dotnet-throughput-8

Expand All @@ -30,8 +34,11 @@ check_azure_pipeline:
expire_in: 3 months
tags: ["arch:amd64"]
timeout: 1h
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- interruptible: true

update-bp-infra:
stage: infra-update
Expand Down Expand Up @@ -81,8 +88,11 @@ update-bp-infra:
- scheduler_failure
- api_failure
- script_failure
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- interruptible: true
image: $MACROBENCHMARKS_CI_IMAGE
script:
- source build-id.txt
Expand Down Expand Up @@ -263,10 +273,12 @@ profiler_cpu_timer_create-x86:
- scheduler_failure
- api_failure
- script_failure
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- interruptible: true
image: $MACROBENCHMARKS_CI_IMAGE

script:
- source build-id.txt
- echo "Building for the following build https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=$buildId&view=results"
Expand Down Expand Up @@ -447,7 +459,6 @@ profiler_cpu_timer_create-arm64:
needs: ["check_azure_pipeline"]
tags: ["arch:amd64"]
image: registry.ddbuild.io/images/benchmarking-platform-tools-ubuntu:dd-trace-dotnet-macro
interruptible: true
timeout: 2h
retry:
max: 2
Expand All @@ -458,8 +469,11 @@ profiler_cpu_timer_create-arm64:
- scheduler_failure
- api_failure
- script_failure
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- interruptible: true
artifacts:
name: "artifacts"
when: always
Expand Down
11 changes: 10 additions & 1 deletion .gitlab/benchmarks/microbenchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ stages:
- build
- benchmarks

workflow:
auto_cancel:
on_new_commit: interruptible

build-dd-trace-dotnet-microbenchmarks-ami:
stage: build
tags: ["arch:amd64"]
Expand Down Expand Up @@ -79,13 +83,18 @@ run-benchmarks:
DDOCTOSTS_ID_TOKEN:
aud: dd-octo-sts
rules:
- if: $CI_COMMIT_REF_NAME == "master"
when: on_success
interruptible: false
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+\.[0-9]+(-prerelease)?$/
when: never
- when: on_success
interruptible: true
artifacts:
name: "artifacts"
when: always
paths:
- platform/artifacts
- artifacts
expire_in: 3 months
variables:
# Allows ephemeral instances to read content from benchmarking-platform
Expand Down
Loading