Test EAP S2I image changes
- Import a more recent version of EAP S2I images (test should be done for both the builder and runtime images referenced by the imagestreams)
However, in current template configuration there is no trigger upon EAP_RUNTIME_IMAGE imagestream change.
Analysis provides this information:
Test EAP S2I image changes
- Import a more recent version of EAP S2I images (test should be done for both the builder and runtime images referenced by the imagestreams)
However, in current template configuration there is no trigger upon EAP_RUNTIME_IMAGE imagestream change.
This is obvious why it doesn't happen when we look into template:
bc ${APPLICATION_IMAGE}-build-artifacts - https://github.com/jmesnil/jboss-eap-openshift-templates/blob/eap-s2i-build_template/eap-s2i-build.yaml#L68-L77
triggers:
- github:
secret: ${GITHUB_WEBHOOK_SECRET}
type: GitHub
- generic :
secret: ${GENERIC_WEBHOOK_SECRET}
type: Generic
- imageChange: {}
type: ImageChange
- type: ConfigChange
bc ${APPLICATION_IMAGE} - https://github.com/jmesnil/jboss-eap-openshift-templates/blob/eap-s2i-build_template/eap-s2i-build.yaml#L110-L116
triggers:
- imageChange:
from:
kind: ImageStreamTag
name: ${APPLICATION_IMAGE}-build-artifacts:latest
type: ImageChange
- type: ConfigChange
-> no trigger for EAP_RUNTIME_IMAGE imagestream changes
So now the expectation (rebuild app image on both builder or runtime image change) is broken.