-
Notifications
You must be signed in to change notification settings - Fork 569
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
[Build] Add and Use distroless image in e2e tests #7371
Conversation
723ad30
to
a308d12
Compare
0e374d9
to
d30470c
Compare
d30470c
to
7e26dce
Compare
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.
Thank you, this looks pretty good. I've left some suggestions.
I find it ironic that "distroless" image using
|
6bef566
to
6dc3fde
Compare
Co-authored-by: Joshua Hesketh <[email protected]>
Co-authored-by: Joshua Hesketh <[email protected]>
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, thank you !
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.
We have missed a part of how the images are pushed that will currently not work with this approach. I am going to change to using a different image as opposed to tag for distroless
This simplifies working with the existing build-images and push-images scripts. This is temporary until we switch over to distroless as default.
It's clearer even if duplicated. This is temporary anyway.
For this to work we'll either need to keep the name |
Oh, good point. With matrix approach, when both integration sets (for distroless and alpine images) are running in a single job, this is not a problem, right? |
Oh, of course it is. We specify job names that must succeed. I'd say we just update the repo settings, and ask all PR owners to rebase their branches. |
Yep, or we can just keep the name |
As I've now authored a significant part of this, I don't think I should review it. @pstibrany , if you don't mind having another look at this approach that would be appreciated. |
joshua is also the author of the PR
That would be easiest solution. |
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.
We will need to ask for mimir-distroless
repository before we can merge this. (Asked @jhesketh privately)
i don't have editor permission, opened it help ticket for this. |
mimir-distroless created https://hub.docker.com/repository/docker/grafana/mimir-distroless/general |
@pstibrany could you take another look, thanks |
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.
Great work, thank you!
What this PR does
Which issue(s) this PR fixes or relates to
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.