Skip to content

Commit 905e28b

Browse files
Allow capturing heap dumps in DRA BK jobs (#17081) (#17084)
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 088586c commit 905e28b

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
@@ -30,6 +30,8 @@ def package_x86_step(branch, workflow_type):
3030
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"
3131
eval "$(rbenv init -)"
3232
.buildkite/scripts/dra/build_packages.sh
33+
artifact_paths:
34+
- "**/*.hprof"
3335
'''
3436

3537
return step
@@ -44,6 +46,8 @@ def package_x86_docker_step(branch, workflow_type):
4446
image: family/platform-ingest-logstash-ubuntu-2204
4547
machineType: "n2-standard-16"
4648
diskSizeGb: 200
49+
artifact_paths:
50+
- "**/*.hprof"
4751
command: |
4852
export WORKFLOW_TYPE="{workflow_type}"
4953
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"
@@ -63,6 +67,8 @@ def package_aarch64_docker_step(branch, workflow_type):
6367
imagePrefix: platform-ingest-logstash-ubuntu-2204-aarch64
6468
instanceType: "m6g.4xlarge"
6569
diskSizeGb: 200
70+
artifact_paths:
71+
- "**/*.hprof"
6672
command: |
6773
export WORKFLOW_TYPE="{workflow_type}"
6874
export PATH="/opt/buildkite-agent/.rbenv/bin:/opt/buildkite-agent/.pyenv/bin:$PATH"

0 commit comments

Comments
 (0)