[
https://issues.redhat.com/browse/WFWIP-357?page=com.atlassian.jira.plugin...
]
Jan Blizňák edited comment on WFWIP-357 at 9/18/20 4:32 AM:
------------------------------------------------------------
This can be probably fixed just by adding additional trigger to either of BuildConfigs,
eg. equivalent of this:
{code:java}
oc set triggers bc autoupgrading-app --from-image=eap7-runtime-imagestream:latest
{code}
But design decision needs to be made:
# leave as is (probably not? - contrary to analysis)
## no rebuild when _only_ runtime image gets updated - we can argue how big issue it is
as theoretically what needs to go to runtime image most likely is needed for builder image
too, so it gets updated
# add trigger to the second-in-chain BuildConfig
## quicker as only one build is triggered and intermediate resources reused
## requires intermediate imagestream to exist
## doesn't suffer from duplicated rebuild
# add trigger to the first-in-chain BuildConfig
## safer as everything is build from scratch
## slower as two builds need to be done
## could suffer from double rebuild - when both builder and runtime image is updated
was (Author: jbliznak):
This can be probably fixed just by adding additional trigger to either of BuildConfigs,
eg. equivalent of this:
{code:java}
oc set triggers bc autoupgrading-app --from-image=eap7-runtime-imagestream:latest
{code}
But design decision needs to be made:
# leave as is (probably not? - contrary to analysis)
## no rebuild when _only_ runtime image gets updated - we can argue how big issue it is
as theoretically what needs to go to runtime image most likely is needed for builder image
too, so it gets updated
# add trigger to the second-in-chan BuildConfig
## quicker as only one build is triggered and intermediate resources reused
## requires intermediate imagestream to exist
## doesn't suffer from duplicated rebuild
# add trigger to the first-in-chain BuildConfig
## safer as everything is build from scratch
## slower as two builds need to be done
## could suffer from double rebuild - when both builder and runtime image is updated
No autoupdate for EAP_RUNTIME_IMAGE in eap-s2i-build template
-------------------------------------------------------------
Key: WFWIP-357
URL:
https://issues.redhat.com/browse/WFWIP-357
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Jan Blizňák
Assignee: Jeff Mesnil
Priority: Major
--
This message was sent by Atlassian Jira
(v7.13.8#713008)