Repository navigation
[9.4](backport #8313) dra: delete artifacts after successfully DRA published - #8353
Open
mergify[bot] wants to merge 1 commit into
Open
mergify[bot] wants to merge 1 commit into
mergify[bot] wants to merge 1 commit into
Conversation
(cherry picked from commit 4133654)
8 tasks
Contributor
Author
|
Tick the box to add this pull request to the merge queue (same as
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Artifact cleanup can run when DRA publication is skipped or disabled, removing downloadable Buildkite artifacts without a published replacement.
1 open issue
What changed in this PR
Backports #8313 to 9.4, adding automated Buildkite artifact cleanup after DRA publication to reduce storage costs.
Changes:
- Adds a wait barrier before the cleanup step.
- Configures Vault authentication and the artifact-deletion plugin on a Kubernetes agent, with deletion errors treated as non-blocking.
| File | Description |
|---|---|
.buildkite/pipeline.package.mbp.yml |
Adds the wait barrier and authenticated artifact-cleanup step. |
Review effort: Balanced
| - wait: ~ | ||
|
|
||
| - label: ":wastebasket: Delete build artifacts" | ||
| key: "delete_build_artifacts" |
v1v
approved these changes
Nov 24, 2026
v1v
enabled auto-merge (squash)
November 24, 2026 09:08
Contributor
|
Dependency review finished without posting an analysis comment. If you expected a review, push a new commit to this pull request (or close and reopen it) to try again. Workflow run: https://github.com/elastic/fleet-server/actions/runs/45361304547 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What is the problem this PR solves?
Keep our storage cost under control.
How does this PR solve the problem?
Delete artifacts automatically after successfully running the DRA step.
How to test this PR locally
In the CI only, see https://buildkite.com/elastic/fleet-server-package-mbp/builds/4923
Design Checklist
Checklist
./changelog/fragmentsusing the changelog toolRelated issues
This is an automatic backport of pull request #8313 done by [Mergify](https://mergify.com).