-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Save docker images for C/C++ #12831
Save docker images for C/C++ #12831
Conversation
So that bugs can reproduced.
/gcbrun skip |
steps.append(docker_build_arm_step) | ||
|
||
if (not experiment and not config.testing and |
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.
Do we need to add push as an explicit step? Is it simpler to just add this to https://cloud.google.com/build/docs/build-config-file-schema#images ?
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.
I recall max removing this step because it failed. I think this way is more performant (it runs in the background) and error-tolerant, but I'd understand if you want the simplicity instead.
I do think all of this builder code may be getting too complicated, too many special cases.
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.
I recall max removing this step because it failed. I think this way is more performant (it runs in the background) and error-tolerant, but I'd understand if you want the simplicity instead.
I do think all of this builder code may be getting too complicated, too many special cases.
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.
Yeah, simplifcity is my main motivation -- this is getting way too complicated.
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.
Got it. I think the failure is problematic though because it can lead to issues filed against users.
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.
It's been a while so hopefully this is handled better by Cloud Build now. But yeah, good point. If we run into this again your solution is probably the more practical one.
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.
I'm low on cycles so let's land this for now and fix it later. I'll file an issue so I don't forget to fix this (though i have a feeling build isn't dealing with this better).
So that bugs can reproduced.
These should not be used if security is a concern!
I maybe will put the word unsafe in the name