You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should be the strategy that we will adopt/support in our pipelines to build the container image ?
There are different options:
Buildah
JIB
Buildpacks
S2I **
**: This option should not the way to go. RHTAP, RHDH and now project Dance are using to build java application the Buildah Tekton Task and not at all S2I. Why ? This is because they push the image build to an external registry and they use ArgoCD to deploy the yaml resources within the target cluster A or B or C etc => Service, Deployment (= pointing to the external registry image) & Route. This is why you cannot use the ocp internal registry & imagestream as image should be shared between clusters A or B or C !
cmoulliard
changed the title
Tekton stratetegy to build the image: jib vs quarkus container build vs buildpacks
Tekton stratetegy to build the image: jib vs quarkus container build vs buildpacks vs s2i
Dec 6, 2023
Discussion
What should be the strategy that we will adopt/support in our pipelines to build the container image ?
There are different options:
**: This option should not the way to go. RHTAP, RHDH and now project Dance are using to build java application the Buildah Tekton Task and not at all S2I. Why ? This is because they push the image build to an external registry and they use ArgoCD to deploy the yaml resources within the target cluster A or B or C etc => Service, Deployment (= pointing to the external registry image) & Route. This is why you cannot use the ocp internal registry & imagestream as image should be shared between clusters A or B or C !
Our GitHub flow and Tekton currently uses the quarkus build approach and jib: https://github.com/iocanel/openshift-vm-playground/blob/main/pipelines/pipelines/kustomization.yaml#L4-L18
Examples of tasks
The text was updated successfully, but these errors were encountered: