-
Notifications
You must be signed in to change notification settings - Fork 204
Avoid downloading/uploading unnecessary artifacts in CI runs #11327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid downloading/uploading unnecessary artifacts in CI runs #11327
Conversation
|
This pull request does not have a backport label. Could you fix it @pchila? 🙏
|
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
swiatekm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, spot checked some BK steps and the artifacts looked correct to me.
|
@Mergifyio backport 8.19 9.1 9.2 |
✅ Backports have been created
|
* avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests (cherry picked from commit 3cedabf) # Conflicts: # .buildkite/bk.integration.pipeline.yml
* avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests (cherry picked from commit 3cedabf)
* avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests (cherry picked from commit 3cedabf)
…#11347) * avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests (cherry picked from commit 3cedabf) Co-authored-by: Paolo Chilà <[email protected]>
…#11346) * avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests (cherry picked from commit 3cedabf) Co-authored-by: Paolo Chilà <[email protected]>
…acts in CI runs (#11345) * Avoid downloading/uploading unnecessary artifacts in CI runs (#11327) * avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests (cherry picked from commit 3cedabf) # Conflicts: # .buildkite/bk.integration.pipeline.yml * fix conflicts --------- Co-authored-by: Paolo Chilà <[email protected]>
…#11327) * avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests
* avoid uploading the whole build/ directory tree * Download only required artifacts for integration tests
What does this PR do?
Removes upload of
build/**from integration tests steps since that would cause uploading everything (including subdirectories) underbuild/including reuploading large elastic-agent packages (already uploaded at the packaging steps)It also introduces more "precise" artifacts download from the packaging steps leveraging platform and package formats.
Why is it important?
To reduce wasted space and time in CI builds
Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself