Skip to content
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

[INFRA] Build and use optimized Docker image in Buildkite jobs #7372

Closed
wants to merge 23 commits into from
Closed

[INFRA] Build and use optimized Docker image in Buildkite jobs #7372

wants to merge 23 commits into from

Conversation

1Copenut
Copy link
Contributor

Summary

This PR looks to accomplish two goals:

  1. Build a streamlined Docker image that has all dependencies copied from prior stage, and upload that image to registry
  2. Use the streamlined image in EUI's test job to improve test run times and avoid downloading and installing deps on every parallel task.

I've requested Ops to review this PR along with the EUI team. There's a couple new wrinkles I'd like to have them review before merging.

First QA pass (draft PR)

QA will all be done in Buildkite. Definition of done is as follows:

  • Streamlined Docker image is uploaded to registry properly
  • Correct image is used by test job tasks
  • All tasks pass as before

Second QA pass (final review)

This second pass of QA will update the registry and Docker image. We will do the same review as the staging pass and then merge when finished.

  • Streamlined Docker image is uploaded to registry properly
  • Correct image is used by test job tasks
  • All tasks pass as before

@@ -3,4 +3,4 @@
set -euo pipefail

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't hurt to have this file, but FYI you shouldn't need it either... The process should exit right after this, so all of the env vars will be gone anyway

@elasticmachine
Copy link
Collaborator

elasticmachine commented Nov 16, 2023

💔 Build Failed

Failed CI Steps

History

cc @1Copenut

@kibanamachine
Copy link

Preview staging links for this PR:

@JasonStoltz
Copy link
Member

Closing this for now, we will open up a new PR with a second attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants