Skip to content

Commit

Permalink
Use agent to upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Jul 14, 2023
1 parent 343d9d1 commit 2adf08a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .buildkite/pipeline.elastic-agent-binary-dra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ steps:
commands:
- .buildkite/scripts/steps/build-agent-core.sh
key: "build-dra-snapshot"
artifact_paths:
- "build/**"
agents:
provider: "gcp"
machineType: "c2-standard-16"
Expand All @@ -34,8 +32,6 @@ steps:
commands:
- .buildkite/scripts/steps/build-agent-core.sh
key: "build-dra-staging"
artifact_paths:
- "build/**"
agents:
provider: "gcp"
machineType: "c2-standard-16"
Expand Down
2 changes: 2 additions & 0 deletions .buildkite/scripts/steps/build-agent-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ echo "+++ Generate dependencies report"
./dev-tools/dependencies-report
mkdir -p build/distributions/reports
mv dependencies.csv build/distributions/reports/dependencies.csv

buildkite-agent artifact upload "build/**/*"
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/publish-agent-core-dra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function run_release_manager() {
$dry_run
}

buildkite-agent artifact download "build/" .
buildkite-agent artifact download "build/**/*" .

run_release_manager
RM_EXIT_CODE=$?
Expand Down

0 comments on commit 2adf08a

Please sign in to comment.