xebialabs-community / xld-openshift-plugin

Plugin to deploy war files on jboss gears in open shift and support for OpenShift v3 on Kubernetes
2 stars 6 forks source link

Plugin will not support concurrent deployments #8

Closed MarkRx closed 7 years ago

MarkRx commented 7 years ago

Looking at the shell scripts I see that each step runs an oc login and an oc logout command. If multiple deployments occur at the same time one might log another one out before it is ready. This will result in seemingly random failed deployments.

jdewinne commented 7 years ago

Hi Mark,

Are you sure this is the case. I think because each step in XLD will use its own KUBECONFIG file, I would assume the sessions to be separated.

Regards, Joris

MarkRx commented 7 years ago

Ah I see. What directory does overthere operate in?

export KUBECONFIG=./config

MarkRx commented 7 years ago

Yes it does operate in a temp dir that is unique each time. Looks like this isn't an issue after all.