Skip to content

Commit 3229cc2

Browse files
authored
[ML] DRA upload: Only download artifacts once (#2534)
The DRA upload pipelines are currently downloading required artifacts from multiple pipeline steps. While this is not an error or causing any harm it is slightly more efficient to only download the artifacts once, from the `create_dra_artifacts` step.
1 parent 47612a7 commit 3229cc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.buildkite/pipelines/upload_dra_to_gcs.yml.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ steps:
2020
key: "upload_dra_artifacts_to_gcs"
2121
depends_on: create_dra_artifacts
2222
command:
23-
- 'buildkite-agent artifact download "build/distributions/*" .'
23+
- 'buildkite-agent artifact download "build/distributions/*" --step create_dra_artifacts .'
2424
- '.buildkite/scripts/steps/upload_dra_to_gcs.sh'
2525
agents:
2626
provider: gcp

.buildkite/pipelines/upload_dra_to_s3.yml.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
key: "upload_dra_artifacts"
1717
depends_on: create_dra_artifacts
1818
command:
19-
- 'buildkite-agent artifact download "build/distributions/*" .'
19+
- 'buildkite-agent artifact download "build/distributions/*" --step create_dra_artifacts .'
2020
- "./.buildkite/scripts/steps/upload_dra_to_s3.sh"
2121
agents:
2222
cpu: "2"

0 commit comments

Comments
 (0)