Skip to content

Commit f52bbe0

Browse files
Allow capturing heap dumps in DRA BK jobs (#17081) (#17087)
This commit allows Buildkite to capture any heap dumps produced during DRA builds. (cherry picked from commit 78c3446) Co-authored-by: Dimitrios Liappis <[email protected]>
1 parent 2b63620 commit f52bbe0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.buildkite/scripts/dra/generatesteps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def package_x86_step(branch, workflow_type):
2828
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"
2929
eval "$(rbenv init -)"
3030
.buildkite/scripts/dra/build_packages.sh
31+
artifact_paths:
32+
- "**/*.hprof"
3133
'''
3234

3335
return step
@@ -42,6 +44,8 @@ def package_x86_docker_step(branch, workflow_type):
4244
image: family/platform-ingest-logstash-ubuntu-2004
4345
machineType: "n2-standard-16"
4446
diskSizeGb: 200
47+
artifact_paths:
48+
- "**/*.hprof"
4549
command: |
4650
export WORKFLOW_TYPE="{workflow_type}"
4751
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"
@@ -61,6 +65,8 @@ def package_aarch64_docker_step(branch, workflow_type):
6165
imagePrefix: platform-ingest-logstash-ubuntu-2004-aarch64
6266
instanceType: "m6g.4xlarge"
6367
diskSizeGb: 200
68+
artifact_paths:
69+
- "**/*.hprof"
6470
command: |
6571
export WORKFLOW_TYPE="{workflow_type}"
6672
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"

0 commit comments

Comments
 (0)