Skip to content
Open
Show file tree
Hide file tree
Changes from 6 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
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
10 changes: 8 additions & 2 deletions .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 @@ -78,14 +82,16 @@ run-benchmarks:
id_tokens:
DDOCTOSTS_ID_TOKEN:
aud: dd-octo-sts
when: on_success
rules:
- when: on_success
- if: $CI_COMMIT_REF_NAME == "master"
interruptible: false
- 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