-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Bring image building logic into the Bash library #14534
Bring image building logic into the Bash library #14534
Conversation
Are you sure dockerfile support isn't used by centos paas sig?
|
No. I'll check. |
e3d5028
to
5b27936
Compare
5b27936
to
8022297
Compare
@smarterclayton confirmed they do not use them |
sgtm then
…On Fri, Jun 9, 2017 at 1:39 PM, Steve Kuznetsov ***@***.***> wrote:
@smarterclayton <https://github.com/smarterclayton> confirmed they do not
use them
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14534 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p8vfYUL4Nqe-FB3Stz-jpnnTJqzDks5sCYM4gaJpZM4N0hfK>
.
|
b2bf38e
to
896880b
Compare
896880b
to
ec7e1c2
Compare
Previously, useful logic for building images like the choice to tag images with `:latest` as well as `:sha`, automatic re-try logic, `git` cleanup, nice output printing, etc, were all local to the top-level `hack/build-images.sh` entrypoint. There's no reason for that to be the case and as other people find themselves needing those features, we should just expose all of that with `os::build::image`. This is not an entirely backwards compatible patch. The following changes were made: - support for explicitly providing a Dockerfile was removed from the signature of `os::build::image` as this was an entirely unused feature. - the order of arguments was re-arranged so that all of the image build utilites were in alignment -- first the tag, then the dir, etc. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
ec7e1c2
to
9753bf5
Compare
Evaluated for origin test up to 9753bf5 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2190/) (Base Commit: a5b8471) |
[merge] |
continuous-integration/openshift-jenkins/merge Waiting: You are in the build queue at position: 8 |
Evaluated for origin merge up to 9753bf5 |
Previously, useful logic for building images like the choice to tag
images with
:latest
as well as:sha
, automatic re-try logic,git
cleanup, nice output printing, etc, were all local to the top-level
hack/build-images.sh
entrypoint. There's no reason for that to be thecase and as other people find themselves needing those features, we
should just expose all of that with
os::build::image
.This is not an entirely backwards compatible patch. The following
changes were made:
signature of
os::build::image
as this was an entirely unusedfeature.
utilites were in alignment -- first the tag, then the dir, etc.
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
Depends on #14435
/cc @smarterclayton PTAL last commit
[test]